Home
last modified time | relevance | path

Searched refs:has_vhe (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.15/arch/arm64/kvm/
Dpmu.c21 if (has_vhe() && attr->exclude_user) in kvm_pmu_switch_needed()
175 if (!kvm_arm_support_pmu_v3() || !has_vhe()) in kvm_vcpu_pmu_restore_guest()
196 if (!kvm_arm_support_pmu_v3() || !has_vhe()) in kvm_vcpu_pmu_restore_host()
Dfpsimd.c128 if (!has_vhe()) in kvm_arch_vcpu_put_fp()
134 } else if (has_vhe() && host_has_sve) { in kvm_arch_vcpu_put_fp()
Ddebug.c237 if (has_vhe() && orig_mdcr_el2 != vcpu->arch.mdcr_el2) in kvm_arm_setup_debug()
273 if (has_vhe()) in kvm_arch_vcpu_load_debug_state_flags()
Dva_layout.c172 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()
Darm.c294 if (!has_vhe()) in kvm_arch_alloc_vm()
302 if (!has_vhe()) in kvm_arch_free_vm()
419 if (has_vhe()) in kvm_arch_vcpu_load()
440 if (has_vhe()) in kvm_arch_vcpu_put()
1449 if (!has_vhe()) { in kvm_init_vector_slots()
Darch_timer.c149 if (has_vhe()) { in get_timer_map()
1167 } else if (has_vhe()) { in kvm_timer_hyp_init()
/Linux-v5.15/arch/arm64/kvm/hyp/include/hyp/
Dsysreg-sr.h95 if (has_vhe() || in __sysreg_restore_el1_state()
131 if (!has_vhe() && in __sysreg_restore_el1_state()
193 if (has_vhe() || vcpu->arch.flags & KVM_ARM64_DEBUG_DIRTY) in __sysreg32_save_state()
210 if (has_vhe() || vcpu->arch.flags & KVM_ARM64_DEBUG_DIRTY) in __sysreg32_restore_state()
Dswitch.h256 if (has_vhe()) { in __hyp_handle_fpsimd()
/Linux-v5.15/arch/arm64/include/asm/
Dkvm_host.h493 if (!has_vhe()) in __vcpu_read_sys_reg_from_cpu()
538 if (!has_vhe()) in __vcpu_write_sys_reg_to_cpu()
627 if (has_vhe()) { \
639 if (has_vhe()) { \
744 return (!has_vhe() && attr->exclude_host); in kvm_pmu_counter_deferred()
Dvirt.h109 static __always_inline bool has_vhe(void) in has_vhe() function
/Linux-v5.15/arch/arm64/kvm/hyp/
Dexception.c46 if (has_vhe()) in __vcpu_write_spsr_abt()
54 if (has_vhe()) in __vcpu_write_spsr_und()
Dvgic-v3-sr.c208 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()
/Linux-v5.15/arch/arm64/kvm/vgic/
Dvgic-v3.c703 if (has_vhe()) in vgic_v3_load()
727 if (has_vhe()) in vgic_v3_put()
Dvgic.c848 return !static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif) || has_vhe(); in can_access_vgic_from_kernel()