Searched refs:has_vhe (Results 1 – 17 of 17) sorted by relevance
73 if (has_vhe()) in __tlb_switch_to_guest()108 if (has_vhe()) in __tlb_switch_to_host()162 if (!has_vhe() && icache_is_vpipt()) in __kvm_tlb_flush_vmid_ipa()
209 if (has_vhe() || vcpu->arch.flags & KVM_ARM64_DEBUG_DIRTY) in __sysreg32_save_state()231 if (has_vhe() || vcpu->arch.flags & KVM_ARM64_DEBUG_DIRTY) in __sysreg32_restore_state()251 if (!has_vhe()) in kvm_vcpu_load_sysregs()287 if (!has_vhe()) in kvm_vcpu_put_sysregs()
182 if (!has_vhe()) in __debug_switch_to_guest()204 if (!has_vhe()) in __debug_switch_to_host()
135 if (has_vhe()) in __activate_traps()185 if (has_vhe()) in __deactivate_traps()321 vhe = has_vhe(); in __hyp_handle_fpsimd()779 if (!has_vhe()) in hyp_panic()
113 if (!has_vhe() && !va_mask) in kvm_update_va_mask()127 if (has_vhe() || (!tag_lsb && i > 0)) { in kvm_update_va_mask()154 if (has_vhe() || !cpus_have_const_cap(ARM64_HARDEN_EL2_VECTORS)) { in kvm_patch_vector_branch()
21 if (has_vhe() && attr->exclude_user) in kvm_pmu_switch_needed()170 if (!has_vhe()) in kvm_vcpu_pmu_restore_guest()191 if (!has_vhe()) in kvm_vcpu_pmu_restore_host()
95 r = has_vhe() && system_supports_address_auth() && in kvm_arch_vm_ioctl_check_extension()139 if (WARN_ON(!has_vhe())) in kvm_vcpu_enable_sve()221 if (!has_vhe()) in kvm_vcpu_enable_ptrauth()
447 if (has_vhe()) { \459 if (has_vhe()) { \520 if (!has_vhe() && this_cpu_has_cap(ARM64_SSBS) && in __cpu_init_hyp_mode()571 return (!has_vhe() && attr->exclude_host); in kvm_pmu_counter_deferred()
86 static inline bool has_vhe(void) in has_vhe() function
486 if (this_cpu_has_cap(ARM64_HARDEN_EL2_VECTORS) && !has_vhe()) {
70 static inline bool has_vhe(void) in has_vhe() function
239 if (has_vhe()) { \250 if (has_vhe()) { \
207 if (used_lrs || !has_vhe()) { in __vgic_v3_save_state()252 if (used_lrs || !has_vhe()) { in __vgic_v3_restore_state()280 if (has_vhe()) { in __vgic_v3_activate_traps()
665 if (has_vhe()) in vgic_v3_load()683 if (has_vhe()) in vgic_v3_put()
844 return !static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif) || has_vhe(); in can_access_vgic_from_kernel()
242 if (!has_vhe()) in kvm_arch_alloc_vm()250 if (!has_vhe()) in kvm_arch_free_vm()764 if (has_vhe()) { in kvm_arch_vcpu_ioctl_run()
61 if (has_vhe()) { in get_timer_map()976 } else if (has_vhe()) { in kvm_timer_hyp_init()