Lines Matching full:we
22 * We have two requirements: in __tlb_switch_to_guest()
25 * CPUs, for which a dsb(DOMAIN-st) is what we need, DOMAIN in __tlb_switch_to_guest()
30 * we trapped to EL2 so that we can mess with the MM in __tlb_switch_to_guest()
47 * For CPUs that are affected by ARM 1319367, we need to in __tlb_switch_to_guest()
48 * avoid a host Stage-1 walk while we have the guest's in __tlb_switch_to_guest()
50 * We're guaranteed that the S1 MMU is enabled, so we can in __tlb_switch_to_guest()
62 * ensuring that we always have an ISB, but not two ISBs back in __tlb_switch_to_guest()
90 * We could do so much better if we had the VA as well. in __kvm_tlb_flush_vmid_ipa()
91 * Instead, we invalidate Stage-2 for this IPA, and the in __kvm_tlb_flush_vmid_ipa()
98 * We have to ensure completion of the invalidation at Stage-2, in __kvm_tlb_flush_vmid_ipa()
109 * If the host is running at EL1 and we have a VPIPT I-cache, in __kvm_tlb_flush_vmid_ipa()
110 * then we must perform I-cache maintenance at EL2 in order for in __kvm_tlb_flush_vmid_ipa()
112 * I-cache lines allocated with a different VMID, we don't need in __kvm_tlb_flush_vmid_ipa()
113 * to worry about junk out of guest reset (we nuke the I-cache on in __kvm_tlb_flush_vmid_ipa()
114 * VMID rollover), but we do need to be careful when remapping in __kvm_tlb_flush_vmid_ipa()
119 * from EL1. To solve this, we invalidate the entire I-cache when in __kvm_tlb_flush_vmid_ipa()
120 * unmapping a page from a guest if we have a VPIPT I-cache but in __kvm_tlb_flush_vmid_ipa()
121 * the host is running at EL1. As above, we could do better if in __kvm_tlb_flush_vmid_ipa()
122 * we had the VA. in __kvm_tlb_flush_vmid_ipa()
142 * We could do so much better if we had the VA as well. in __kvm_tlb_flush_vmid_ipa_nsh()
143 * Instead, we invalidate Stage-2 for this IPA, and the in __kvm_tlb_flush_vmid_ipa_nsh()
150 * We have to ensure completion of the invalidation at Stage-2, in __kvm_tlb_flush_vmid_ipa_nsh()
161 * If the host is running at EL1 and we have a VPIPT I-cache, in __kvm_tlb_flush_vmid_ipa_nsh()
162 * then we must perform I-cache maintenance at EL2 in order for in __kvm_tlb_flush_vmid_ipa_nsh()
164 * I-cache lines allocated with a different VMID, we don't need in __kvm_tlb_flush_vmid_ipa_nsh()
165 * to worry about junk out of guest reset (we nuke the I-cache on in __kvm_tlb_flush_vmid_ipa_nsh()
166 * VMID rollover), but we do need to be careful when remapping in __kvm_tlb_flush_vmid_ipa_nsh()
171 * from EL1. To solve this, we invalidate the entire I-cache when in __kvm_tlb_flush_vmid_ipa_nsh()
172 * unmapping a page from a guest if we have a VPIPT I-cache but in __kvm_tlb_flush_vmid_ipa_nsh()
173 * the host is running at EL1. As above, we could do better if in __kvm_tlb_flush_vmid_ipa_nsh()
174 * we had the VA. in __kvm_tlb_flush_vmid_ipa_nsh()
255 * so we need to invalidate lines with a stale VMID to avoid an ABA in __kvm_flush_vm_context()