Home
last modified time | relevance | path

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

/Linux-v5.10/arch/arm64/kvm/hyp/include/hyp/
Dsysreg-sr.h79 if (has_vhe() || in __sysreg_restore_el1_state()
110 if (!has_vhe() && in __sysreg_restore_el1_state()
172 if (has_vhe() || vcpu->arch.flags & KVM_ARM64_DEBUG_DIRTY) in __sysreg32_save_state()
189 if (has_vhe() || vcpu->arch.flags & KVM_ARM64_DEBUG_DIRTY) in __sysreg32_restore_state()
Dswitch.h211 if (has_vhe() && system_supports_sve()) { in __hyp_handle_fpsimd()
218 vhe = has_vhe(); in __hyp_handle_fpsimd()
/Linux-v5.10/arch/arm64/kvm/
Dpmu.c21 if (has_vhe() && attr->exclude_user) in kvm_pmu_switch_needed()
175 if (!has_vhe()) in kvm_vcpu_pmu_restore_guest()
196 if (!has_vhe()) in kvm_vcpu_pmu_restore_host()
Dva_layout.c118 if (has_vhe() || (!tag_val && i > 0)) { in kvm_update_va_mask()
145 if (has_vhe() || !cpus_have_const_cap(ARM64_HARDEN_EL2_VECTORS)) { in kvm_patch_vector_branch()
Ddebug.c201 if (has_vhe() && orig_mdcr_el2 != vcpu->arch.mdcr_el2) in kvm_arm_setup_debug()
Darm.c247 if (!has_vhe()) in kvm_arch_alloc_vm()
255 if (!has_vhe()) in kvm_arch_free_vm()
367 if (has_vhe()) in kvm_arch_vcpu_load()
386 if (has_vhe()) in kvm_arch_vcpu_put()
Dreset.c131 if (WARN_ON(!has_vhe())) in kvm_vcpu_enable_sve()
Darch_timer.c148 if (has_vhe()) { in get_timer_map()
1057 } else if (has_vhe()) { in kvm_timer_hyp_init()
/Linux-v5.10/arch/arm64/include/asm/
Dvirt.h86 static __always_inline bool has_vhe(void) in has_vhe() function
Dkvm_host.h510 if (has_vhe()) { \
522 if (has_vhe()) { \
621 return (!has_vhe() && attr->exclude_host); in kvm_pmu_counter_deferred()
Dkvm_mmu.h245 if (this_cpu_has_cap(ARM64_HARDEN_EL2_VECTORS) && !has_vhe()) {
/Linux-v5.10/arch/arm64/kvm/hyp/
Dvgic-v3-sr.c206 if (used_lrs || !has_vhe()) { in __vgic_v3_save_state()
250 if (used_lrs || !has_vhe()) { in __vgic_v3_restore_state()
276 if (has_vhe()) { in __vgic_v3_activate_traps()
/Linux-v5.10/arch/arm64/kvm/vgic/
Dvgic-v3.c667 if (has_vhe()) in vgic_v3_load()
691 if (has_vhe()) in vgic_v3_put()
Dvgic.c848 return !static_branch_unlikely(&kvm_vgic_global_state.gicv3_cpuif) || has_vhe(); in can_access_vgic_from_kernel()