Searched refs:has_vhe (Results 1 – 16 of 16) sorted by relevance
24 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()
60 if (has_vhe()) in kvm_arm_setup_mdcr_el2()77 if (has_vhe()) in kvm_init_host_debug_data()231 if (has_vhe() || is_protected_kvm_enabled() || in kvm_enable_trbe()241 if (has_vhe() || is_protected_kvm_enabled() || in kvm_disable_trbe()254 if (has_vhe()) { in kvm_tracing_set_el1_configuration()
178 } 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()
422 if (!has_vhe()) in kvm_arch_alloc_vm()609 if (has_vhe()) in kvm_arch_vcpu_load()650 if (has_vhe()) in kvm_arch_vcpu_put()
5110 if (has_vhe() || has_hvhe()) in vcpu_set_hcr()
159 if (!has_vhe() && ctxt->__hyp_running_vcpu) in __sysreg_save_el2_return_state()187 if (has_vhe() || in __sysreg_restore_el1_state()234 if (!has_vhe() && in __sysreg_restore_el1_state()313 if (has_vhe() || kvm_debug_regs_in_use(vcpu)) in __sysreg32_save_state()330 if (has_vhe() || kvm_debug_regs_in_use(vcpu)) in __sysreg32_restore_state()
423 if (has_vhe()) { in fpsimd_lazy_switch_to_host()
51 } 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()
208 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()446 if (has_vhe()) { in __vgic_v3_get_gic_config()461 if (has_vhe()) { in __vgic_v3_get_gic_config()
125 static __always_inline bool has_vhe(void) in has_vhe() function
1078 if (!has_vhe()) in __vcpu_read_sys_reg_from_cpu()1128 if (!has_vhe()) in __vcpu_write_sys_reg_to_cpu()1219 if (has_vhe()) { \1231 if (has_vhe()) { \1417 return (!has_vhe() && attr->exclude_host); in kvm_pmu_counter_deferred()
618 if (has_vhe() || has_hvhe()) \
163 return (has_vhe() && cpus_have_final_cap(ARM64_HAS_ECV_CNTPOFF)); in has_cntpoff()
83 if (!has_vhe() && system_supports_pmuv3()) \
859 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()
746 if (has_vhe()) in vgic_v3_load()765 if (has_vhe()) in vgic_v3_put()