Home
last modified time | relevance | path

Searched refs:vcpu_has_nv (Results 1 – 17 of 17) sorted by relevance

/linux/arch/arm64/include/asm/
H A Dkvm_emulate.h231 if (!vcpu_has_nv(vcpu)) in is_hyp_ctxt()
257 return vcpu_has_nv(vcpu) && !is_hyp_ctxt(vcpu); in is_nested_ctxt()
326 if (!vcpu_has_nv(vcpu) || vcpu_is_el2(vcpu)) in guest_hyp_wfx_traps_enabled()
517 r = vcpu_has_nv(vcpu) ? SCTLR_EL2 : SCTLR_EL1; in kvm_vcpu_set_be()
644 (!vcpu_has_nv(vcpu) ? false : \
H A Dkvm_host.h1173 if (vcpu_has_nv((v)) && (r) >= __SANITISED_REG_START__) \
1184 if (vcpu_has_nv((v)) && (r) >= __SANITISED_REG_START__) \
1194 if (vcpu_has_nv((v)) && (r) >= __SANITISED_REG_START__) \
H A Dkvm_nested.h10 static inline bool vcpu_has_nv(const struct kvm_vcpu *vcpu) in vcpu_has_nv() function
/linux/arch/arm64/kvm/hyp/vhe/
H A Dswitch.c56 if (!vcpu_has_nv(vcpu)) in __compute_hcr()
465 if (!vcpu_has_nv(vcpu)) in kvm_hyp_handle_zcr_el2()
547 if (vcpu_has_nv(vcpu) && in fixup_guest_exit()
565 BUG_ON(vcpu_has_nv(vcpu) && in fixup_guest_exit()
/linux/arch/arm64/kvm/hyp/include/hyp/
H A Dswitch.h104 if (!vcpu_has_nv(vcpu)) in __activate_cptr_traps_vhe()
710 if (vcpu_has_nv(vcpu)) { in kvm_handle_cntxct()
724 if (vcpu_has_nv(vcpu)) { in kvm_handle_cntxct()
/linux/arch/arm64/kvm/
H A Ddebug.c65 if (vcpu_has_nv(vcpu)) in kvm_arm_setup_mdcr_el2()
H A Dreset.c215 else if (vcpu_has_nv(vcpu)) in kvm_reset_vcpu()
H A Dpmu-emul.c279 if (!vcpu_has_nv(vcpu)) in kvm_pmu_hyp_counter_mask()
312 if (!vcpu_has_nv(vcpu) || vcpu_is_el2(vcpu)) in kvm_pmu_accessible_counter_mask()
1305 if (vcpu_has_nv(vcpu) && !vcpu_is_el2(vcpu)) in kvm_vcpu_read_pmcr()
H A Darm.c638 if (vcpu_has_nv(vcpu)) in kvm_arch_vcpu_load()
724 if (vcpu_has_nv(vcpu)) in kvm_arch_vcpu_put()
911 if (vcpu_has_nv(vcpu)) { in kvm_arch_vcpu_run_pid_change()
1133 if (vcpu_has_nv(vcpu)) in vcpu_mode_is_bad_32bit()
1577 if (!ret && vcpu_has_nv(vcpu)) in kvm_setup_vcpu()
H A Dat.c103 if (vcpu_has_nv(vcpu) && in effective_tcr2()
147 if (vcpu_has_nv(vcpu)) { in setup_s1_walk()
888 if (wi->regime == TR_EL10 && vcpu_has_nv(vcpu) && in compute_par_s1()
1350 mmu_cs = (vcpu_has_nv(vcpu) && in __kvm_at_s1e01_fast()
H A Dhandle_exit.c45 if (vcpu_has_nv(vcpu)) { in handle_hvc()
H A Dnested.c412 if (!vcpu_has_nv(vcpu)) in kvm_walk_nested_s2()
1866 if (!vcpu_has_nv(vcpu)) in kvm_nested_flush_hwstate()
1877 if (!vcpu_has_nv(vcpu)) in kvm_nested_sync_hwstate()
H A Dsys_regs.c1364 !vcpu_has_nv(vcpu) && in set_pmcr()
1828 if (vcpu_has_nv(vcpu)) in __kvm_read_sanitised_id_reg()
2060 if (!vcpu_has_nv(vcpu)) in ignore_feat_doublelock()
2177 (vcpu_has_nv(vcpu) && !FIELD_GET(ID_AA64PFR0_EL1_EL2, user_val))) in set_id_aa64pfr0_el1()
2244 if (!vcpu_has_nv(vcpu)) in set_id_aa64mmfr0_el1()
2528 if (vcpu_has_nv(vcpu)) in el2_visibility()
2901 if (vcpu_has_nv(vcpu) && in cnthv_visibility()
5683 if (vcpu_has_nv(vcpu)) { in kvm_finalize_sys_regs()
H A Dvgic-sys-reg-v3.c369 return vcpu_has_nv(vcpu) ? 0 : REG_HIDDEN; in el2_visibility()
H A Dguest.c260 if (!vcpu_has_nv(vcpu)) in set_core_reg()
/linux/arch/arm64/kvm/vgic/
H A Dvgic.c1020 if (vcpu_has_nv(vcpu)) in kvm_vgic_sync_hwstate()
1080 if (vcpu_has_nv(vcpu)) in kvm_vgic_flush_hwstate()
H A Dvgic-v4.c347 if (likely(!vcpu_has_nv(vcpu))) in vgic_v4_want_doorbell()