Searched refs:has_vhe (Results 1 – 15 of 15) sorted by relevance
164 if (has_vhe() && system_supports_sme()) { in kvm_arch_vcpu_put_fp()181 if (!has_vhe()) in kvm_arch_vcpu_put_fp()187 } else if (has_vhe() && system_supports_sve()) { in kvm_arch_vcpu_put_fp()
22 if (has_vhe() && attr->exclude_user) in kvm_pmu_switch_needed()181 if (!kvm_arm_support_pmu_v3() || !has_vhe()) in kvm_vcpu_pmu_restore_guest()202 if (!kvm_arm_support_pmu_v3() || !has_vhe()) in kvm_vcpu_pmu_restore_host()
252 if (has_vhe() && orig_mdcr_el2 != vcpu->arch.mdcr_el2) in kvm_arm_setup_debug()291 if (has_vhe()) in kvm_arch_vcpu_load_debug_state_flags()
172 if (has_vhe() || (!tag_val && i > 0)) { in kvm_update_va_mask()196 if (!cpus_have_const_cap(ARM64_SPECTRE_V3A) || WARN_ON_ONCE(has_vhe())) in kvm_patch_vector_branch()
306 if (!has_vhe()) in kvm_arch_alloc_vm()403 if (has_vhe()) in kvm_arch_vcpu_load()427 if (has_vhe()) in kvm_arch_vcpu_put()
149 if (has_vhe()) { in get_timer_map()1181 } else if (has_vhe()) { in kvm_timer_hyp_init()
77 if (!has_vhe() && ctxt->__hyp_running_vcpu) in __sysreg_save_el2_return_state()100 if (has_vhe() || in __sysreg_restore_el1_state()136 if (!has_vhe() && in __sysreg_restore_el1_state()198 if (has_vhe() || vcpu->arch.flags & KVM_ARM64_DEBUG_DIRTY) in __sysreg32_save_state()215 if (has_vhe() || vcpu->arch.flags & KVM_ARM64_DEBUG_DIRTY) in __sysreg32_restore_state()
178 if (has_vhe()) { in kvm_hyp_handle_fpsimd()
41 if (has_vhe()) in __vcpu_write_spsr()49 if (has_vhe()) in __vcpu_write_spsr_abt()57 if (has_vhe()) in __vcpu_write_spsr_und()
208 if (used_lrs || !has_vhe()) { in __vgic_v3_save_state()252 if (used_lrs || !has_vhe()) { in __vgic_v3_restore_state()278 if (has_vhe()) { in __vgic_v3_activate_traps()429 if (has_vhe()) in __vgic_v3_get_gic_config()449 if (has_vhe()) in __vgic_v3_get_gic_config()
522 if (!has_vhe()) in __vcpu_read_sys_reg_from_cpu()567 if (!has_vhe()) in __vcpu_write_sys_reg_to_cpu()658 if (has_vhe()) { \670 if (has_vhe()) { \799 return (!has_vhe() && attr->exclude_host); in kvm_pmu_counter_deferred()
111 static __always_inline bool has_vhe(void) in has_vhe() function
90 if (!has_vhe() && kvm_vcpu_has_pmu(vcpu)) \
737 if (has_vhe()) in vgic_v3_load()761 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()