Searched refs:has_vhe (Results 1 – 13 of 13) sorted by relevance
69 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()
168 } 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()
445 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()
300 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()
25 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()
215 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()
184 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()
160 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()
131 static __always_inline bool has_vhe(void) in has_vhe() function
1227 if (has_vhe()) { \1239 if (has_vhe()) { \1419 return (!has_vhe() && attr->exclude_host); in kvm_pmu_counter_deferred()
161 return (has_vhe() && cpus_have_final_cap(ARM64_HAS_ECV_CNTPOFF)); in has_cntpoff()
994 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()
988 if (has_vhe()) in vgic_v3_load()1007 if (has_vhe()) in vgic_v3_put()