Searched refs:has_vhe (Results 1 – 14 of 14) sorted by relevance
79 if (has_vhe() || in __sysreg_restore_el1_state()110 if (!has_vhe() && in __sysreg_restore_el1_state()172 if (has_vhe() || vcpu->arch.flags & KVM_ARM64_DEBUG_DIRTY) in __sysreg32_save_state()189 if (has_vhe() || vcpu->arch.flags & KVM_ARM64_DEBUG_DIRTY) in __sysreg32_restore_state()
211 if (has_vhe() && system_supports_sve()) { in __hyp_handle_fpsimd()218 vhe = has_vhe(); in __hyp_handle_fpsimd()
21 if (has_vhe() && attr->exclude_user) in kvm_pmu_switch_needed()175 if (!has_vhe()) in kvm_vcpu_pmu_restore_guest()196 if (!has_vhe()) in kvm_vcpu_pmu_restore_host()
118 if (has_vhe() || (!tag_val && i > 0)) { in kvm_update_va_mask()145 if (has_vhe() || !cpus_have_const_cap(ARM64_HARDEN_EL2_VECTORS)) { in kvm_patch_vector_branch()
201 if (has_vhe() && orig_mdcr_el2 != vcpu->arch.mdcr_el2) in kvm_arm_setup_debug()
247 if (!has_vhe()) in kvm_arch_alloc_vm()255 if (!has_vhe()) in kvm_arch_free_vm()367 if (has_vhe()) in kvm_arch_vcpu_load()386 if (has_vhe()) in kvm_arch_vcpu_put()
131 if (WARN_ON(!has_vhe())) in kvm_vcpu_enable_sve()
148 if (has_vhe()) { in get_timer_map()1057 } else if (has_vhe()) { in kvm_timer_hyp_init()
86 static __always_inline bool has_vhe(void) in has_vhe() function
510 if (has_vhe()) { \522 if (has_vhe()) { \621 return (!has_vhe() && attr->exclude_host); in kvm_pmu_counter_deferred()
245 if (this_cpu_has_cap(ARM64_HARDEN_EL2_VECTORS) && !has_vhe()) {
206 if (used_lrs || !has_vhe()) { in __vgic_v3_save_state()250 if (used_lrs || !has_vhe()) { in __vgic_v3_restore_state()276 if (has_vhe()) { in __vgic_v3_activate_traps()
667 if (has_vhe()) in vgic_v3_load()691 if (has_vhe()) in vgic_v3_put()
848 return !static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif) || has_vhe(); in can_access_vgic_from_kernel()