Home
last modified time | relevance | path

Searched refs:has_vhe (Results 1 – 13 of 13) 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 Darch_timer.c168 } else if (has_vhe()) { in get_timer_map()
763 if (!has_vhe()) in timer_set_traps()
1390 (has_vhe() || has_hvhe()) && in kvm_timer_handle_errata()
1458 } else if (has_vhe()) { in kvm_timer_hyp_init()
H A Darm.c445 if (!has_vhe()) in kvm_arch_alloc_vm()
634 if (has_vhe()) in kvm_arch_vcpu_load()
674 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()
5560 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()
H A Dvgic-v3-sr.c215 if (used_lrs || !has_vhe()) { in __vgic_v3_save_state()
272 if (used_lrs || !has_vhe()) { in __vgic_v3_restore_state()
306 if (has_vhe()) { in __vgic_v3_activate_traps()
478 if (has_vhe()) { in __vgic_v3_get_gic_config()
493 if (has_vhe()) { in __vgic_v3_get_gic_config()
/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.h160 if (has_vhe() || has_hvhe()) in __activate_cptr_traps()
192 if (has_vhe() || has_hvhe()) in __deactivate_cptr_traps()
513 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.h1227 if (has_vhe()) { \
1239 if (has_vhe()) { \
1419 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.c994 return !static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif) || has_vhe(); in can_access_vgic_from_kernel()
1092 if (has_vhe() && static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) in kvm_vgic_load()
1106 if (has_vhe() && static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) in kvm_vgic_put()
H A Dvgic-v3.c988 if (has_vhe()) in vgic_v3_load()
1007 if (has_vhe()) in vgic_v3_put()