Home
last modified time | relevance | path

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

/Linux-v6.1/arch/arm64/kvm/
Dfpsimd.c165 if (has_vhe() && system_supports_sme()) { in kvm_arch_vcpu_put_fp()
182 if (!has_vhe()) in kvm_arch_vcpu_put_fp()
188 } else if (has_vhe() && system_supports_sve()) { in kvm_arch_vcpu_put_fp()
Dpmu.c22 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()
Ddebug.c274 if (has_vhe() && orig_mdcr_el2 != vcpu->arch.mdcr_el2) in kvm_arm_setup_debug()
322 if (has_vhe()) in kvm_arch_vcpu_load_debug_state_flags()
Darm.c306 if (!has_vhe()) in kvm_arch_alloc_vm()
409 if (has_vhe()) in kvm_arch_vcpu_load()
433 if (has_vhe()) in kvm_arch_vcpu_put()
Darch_timer.c149 if (has_vhe()) { in get_timer_map()
1181 } else if (has_vhe()) { in kvm_timer_hyp_init()
/Linux-v6.1/arch/arm64/kvm/hyp/include/hyp/
Dsysreg-sr.h77 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_get_flag(vcpu, DEBUG_DIRTY)) in __sysreg32_save_state()
215 if (has_vhe() || vcpu_get_flag(vcpu, DEBUG_DIRTY)) in __sysreg32_restore_state()
Dswitch.h186 if (has_vhe()) { in kvm_hyp_handle_fpsimd()
/Linux-v6.1/arch/arm64/kvm/hyp/
Dexception.c42 if (has_vhe()) in __vcpu_write_spsr()
50 if (has_vhe()) in __vcpu_write_spsr_abt()
58 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-v6.1/arch/arm64/include/asm/
Dkvm_host.h620 if (!has_vhe()) in __vcpu_read_sys_reg_from_cpu()
665 if (!has_vhe()) in __vcpu_write_sys_reg_to_cpu()
754 if (has_vhe()) { \
766 if (has_vhe()) { \
895 return (!has_vhe() && attr->exclude_host); in kvm_pmu_counter_deferred()
Dvirt.h118 static __always_inline bool has_vhe(void) in has_vhe() function
/Linux-v6.1/include/kvm/
Darm_pmu.h90 if (!has_vhe() && kvm_vcpu_has_pmu(vcpu)) \
/Linux-v6.1/arch/arm64/kvm/vgic/
Dvgic-v3.c737 if (has_vhe()) in vgic_v3_load()
761 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()