Home
last modified time | relevance | path

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

/arch/arm64/kvm/
A Dpmu.c24 if (has_vhe() && attr->exclude_user) in kvm_pmu_switch_needed()
136 if (!system_supports_pmuv3() || !has_vhe()) in kvm_vcpu_pmu_restore_guest()
157 if (!system_supports_pmuv3() || !has_vhe()) in kvm_vcpu_pmu_restore_host()
183 if (!system_supports_pmuv3() || !has_vhe()) in kvm_set_pmuserenr()
203 if (!has_vhe() || !in_interrupt()) in kvm_vcpu_pmu_resync_el0()
A Ddebug.c60 if (has_vhe()) in kvm_arm_setup_mdcr_el2()
77 if (has_vhe()) in kvm_init_host_debug_data()
235 if (has_vhe() || is_protected_kvm_enabled() || in kvm_enable_trbe()
245 if (has_vhe() || is_protected_kvm_enabled() || in kvm_disable_trbe()
258 if (has_vhe()) { in kvm_tracing_set_el1_configuration()
A Darch_timer.c178 } else if (has_vhe()) { in get_timer_map()
772 if (!has_vhe()) in timer_set_traps()
1467 (has_vhe() || has_hvhe()) && in kvm_timer_handle_errata()
1535 } else if (has_vhe()) { in kvm_timer_hyp_init()
A Darm.c435 if (!has_vhe()) in kvm_arch_alloc_vm()
622 if (has_vhe()) in kvm_arch_vcpu_load()
663 if (has_vhe()) in kvm_arch_vcpu_put()
A Dsys_regs.c5263 if (has_vhe() || has_hvhe()) in vcpu_set_hcr()
/arch/arm64/kvm/hyp/include/hyp/
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()
A Dswitch.h160 if (has_vhe() || has_hvhe()) in __activate_cptr_traps()
192 if (has_vhe() || has_hvhe()) in __deactivate_cptr_traps()
632 if (has_vhe()) { in fpsimd_lazy_switch_to_host()
/arch/arm64/kvm/hyp/
A Dexception.c53 } else if (has_vhe()) { in __vcpu_write_spsr()
62 if (has_vhe()) in __vcpu_write_spsr_abt()
70 if (has_vhe()) in __vcpu_write_spsr_und()
A 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()
469 if (has_vhe()) { in __vgic_v3_get_gic_config()
484 if (has_vhe()) { in __vgic_v3_get_gic_config()
/arch/arm64/include/asm/
A Dvirt.h126 static __always_inline bool has_vhe(void) in has_vhe() function
A Dkvm_host.h1181 if (!has_vhe()) in __vcpu_read_sys_reg_from_cpu()
1234 if (!has_vhe()) in __vcpu_write_sys_reg_to_cpu()
1325 if (has_vhe()) { \
1337 if (has_vhe()) { \
1516 return (!has_vhe() && attr->exclude_host); in kvm_pmu_counter_deferred()
/arch/arm64/kvm/vgic/
A Dvgic.c859 return !static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif) || has_vhe(); in can_access_vgic_from_kernel()
975 if (has_vhe() && static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) in kvm_vgic_load()
989 if (has_vhe() && static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif)) in kvm_vgic_put()
A Dvgic-v3.c746 if (has_vhe()) in vgic_v3_load()
765 if (has_vhe()) in vgic_v3_put()

Completed in 43 milliseconds