Home
last modified time | relevance | path

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

/linux-6.12.1/arch/arm64/kvm/
Dpmu.c24 if (has_vhe() && attr->exclude_user) in kvm_pmu_switch_needed()
136 if (!kvm_arm_support_pmu_v3() || !has_vhe()) in kvm_vcpu_pmu_restore_guest()
157 if (!kvm_arm_support_pmu_v3() || !has_vhe()) in kvm_vcpu_pmu_restore_host()
183 if (!kvm_arm_support_pmu_v3() || !has_vhe()) in kvm_set_pmuserenr()
203 if (!has_vhe() || !in_interrupt()) in kvm_vcpu_pmu_resync_el0()
Dfpsimd.c169 if (has_vhe() && system_supports_sme()) { in kvm_arch_vcpu_put_fp()
206 if (!has_vhe() || (vcpu_has_nv(vcpu) && !is_hyp_ctxt(vcpu))) in kvm_arch_vcpu_put_fp()
222 } else if (has_vhe() && system_supports_sve()) { in kvm_arch_vcpu_put_fp()
Ddebug.c275 if (has_vhe() && orig_mdcr_el2 != vcpu->arch.mdcr_el2) in kvm_arm_setup_debug()
323 if (has_vhe()) in kvm_arch_vcpu_load_debug_state_flags()
Darch_timer.c192 } else if (has_vhe()) { in get_timer_map()
773 if (!has_vhe()) in timer_set_traps()
1428 } else if (has_vhe()) { in kvm_timer_hyp_init()
Darm.c439 if (!has_vhe()) in kvm_arch_alloc_vm()
605 if (has_vhe()) in kvm_arch_vcpu_load()
634 if (has_vhe()) in kvm_arch_vcpu_put()
1178 has_vhe()) in kvm_arch_vcpu_ioctl_run()
Dsys_regs.c4668 if (has_vhe() || has_hvhe()) in vcpu_set_hcr()
/linux-6.12.1/arch/arm64/kvm/hyp/include/hyp/
Dsysreg-sr.h133 if (!has_vhe() && ctxt->__hyp_running_vcpu) in __sysreg_save_el2_return_state()
159 if (has_vhe() || in __sysreg_restore_el1_state()
206 if (!has_vhe() && in __sysreg_restore_el1_state()
285 if (has_vhe() || vcpu_get_flag(vcpu, DEBUG_DIRTY)) in __sysreg32_save_state()
302 if (has_vhe() || vcpu_get_flag(vcpu, DEBUG_DIRTY)) in __sysreg32_restore_state()
/linux-6.12.1/arch/arm64/kvm/hyp/
Dexception.c51 } else if (has_vhe()) { in __vcpu_write_spsr()
60 if (has_vhe()) in __vcpu_write_spsr_abt()
68 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()
286 if (has_vhe()) { in __vgic_v3_activate_traps()
439 if (has_vhe()) in __vgic_v3_get_gic_config()
459 if (has_vhe()) in __vgic_v3_get_gic_config()
/linux-6.12.1/arch/arm64/include/asm/
Dvirt.h125 static __always_inline bool has_vhe(void) in has_vhe() function
Dkvm_emulate.h601 if (has_vhe() || has_hvhe()) \
611 if (has_vhe() || has_hvhe()) in kvm_write_cptr_el2()
621 if (has_vhe()) { in kvm_get_reset_cptr_el2()
Dkvm_host.h1031 if (!has_vhe()) in __vcpu_read_sys_reg_from_cpu()
1077 if (!has_vhe()) in __vcpu_write_sys_reg_to_cpu()
1164 if (has_vhe()) { \
1176 if (has_vhe()) { \
1350 return (!has_vhe() && attr->exclude_host); in kvm_pmu_counter_deferred()
/linux-6.12.1/include/kvm/
Darm_arch_timer.h152 return (has_vhe() && cpus_have_final_cap(ARM64_HAS_ECV_CNTPOFF)); in has_cntpoff()
Darm_pmu.h89 if (!has_vhe() && kvm_arm_support_pmu_v3()) \
/linux-6.12.1/arch/arm64/kvm/vgic/
Dvgic.c848 return !static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif) || has_vhe(); in can_access_vgic_from_kernel()
926 if (has_vhe() && static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) in kvm_vgic_load()
940 if (has_vhe() && static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) in kvm_vgic_put()
Dvgic-v3.c739 if (has_vhe()) in vgic_v3_load()
752 if (has_vhe()) in vgic_v3_put()