Home
last modified time | relevance | path

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

/linux/arch/arm64/kvm/
H A Ddebug.c69 if (has_vhe()) in kvm_arm_setup_mdcr_el2()
89 if (has_vhe()) in kvm_init_host_debug_data()
156 if (has_vhe()) in kvm_vcpu_load_debug()
205 if (has_vhe()) in kvm_vcpu_put_debug()
262 if (!skip_trbe_access(has_vhe())) in kvm_enable_trbe()
269 if (!skip_trbe_access(has_vhe())) in kvm_disable_trbe()
279 if (has_vhe()) { in kvm_tracing_set_el1_configuration()
H A Darm.c490 if (!has_vhe()) in kvm_arch_alloc_vm()
679 if (has_vhe()) in kvm_arch_vcpu_load()
719 if (has_vhe()) in kvm_arch_vcpu_put()
H A Dsys_regs.c300 WARN_ON_ONCE(!has_vhe() && loc.loc != SR_LOC_MEMORY); in vcpu_read_sys_reg()
347 WARN_ON_ONCE(!has_vhe() && loc.loc != SR_LOC_MEMORY); in vcpu_write_sys_reg()
5595 if (has_vhe() || has_hvhe()) in vcpu_set_hcr()
/linux/arch/arm64/kvm/hyp/
H A Dexception.c25 if (has_vhe()) in __vcpu_read_sys_reg()
33 if (has_vhe()) in __vcpu_write_sys_reg()
42 if (has_vhe()) { in __vcpu_write_spsr()
54 if (has_vhe() && vcpu_get_flag(vcpu, SYSREGS_ON_CPU)) in __vcpu_write_spsr_abt()
62 if (has_vhe() && vcpu_get_flag(vcpu, SYSREGS_ON_CPU)) in __vcpu_write_spsr_und()
/linux/arch/arm64/kvm/hyp/include/hyp/
H A Dsysreg-sr.h184 if (!has_vhe() && ctxt->__hyp_running_vcpu) in __sysreg_save_el2_return_state()
217 if (has_vhe() || in __sysreg_restore_el1_state()
264 if (!has_vhe() && in __sysreg_restore_el1_state()
356 if (has_vhe() || kvm_debug_regs_in_use(vcpu)) in __sysreg32_save_state()
373 if (has_vhe() || kvm_debug_regs_in_use(vcpu)) in __sysreg32_restore_state()
H A Dswitch.h158 if (has_vhe() || has_hvhe()) in __activate_cptr_traps()
190 if (has_vhe() || has_hvhe()) in __deactivate_cptr_traps()
511 if (has_vhe()) { in fpsimd_lazy_switch_to_host()
/linux/arch/arm64/include/asm/
H A Dvirt.h131 static __always_inline bool has_vhe(void) in has_vhe() function
H A Dkvm_host.h1254 if (has_vhe()) { \
1266 if (has_vhe()) { \
1446 return (!has_vhe() && attr->exclude_host); in kvm_pmu_counter_deferred()
/linux/include/kvm/
H A Darm_arch_timer.h161 return (has_vhe() && cpus_have_final_cap(ARM64_HAS_ECV_CNTPOFF)); in has_cntpoff()
/linux/arch/arm64/kvm/vgic/
H A Dvgic.c1000 return !static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif) || has_vhe(); in can_access_vgic_from_kernel()
1098 if (has_vhe() && static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) in kvm_vgic_load()
1112 if (has_vhe() && static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) in kvm_vgic_put()
H A Dvgic-v3.c989 if (has_vhe()) in vgic_v3_load()
1008 if (has_vhe()) in vgic_v3_put()