Home
last modified time | relevance | path

Searched refs:vcpu_has_nv (Results 1 – 14 of 14) 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.h1212 if (vcpu_has_nv((v)) && (r) >= __SANITISED_REG_START__) \
1223 if (vcpu_has_nv((v)) && (r) >= __SANITISED_REG_START__) \
1233 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()
741 if (vcpu_has_nv(vcpu)) { in kvm_handle_cntxct()
755 if (vcpu_has_nv(vcpu)) { in kvm_handle_cntxct()
/linux/arch/arm64/kvm/
H A Dreset.c215 else if (vcpu_has_nv(vcpu)) in kvm_reset_vcpu()
H A Darm.c656 if (vcpu_has_nv(vcpu)) in kvm_arch_vcpu_load()
744 if (vcpu_has_nv(vcpu)) in kvm_arch_vcpu_put()
935 if (vcpu_has_nv(vcpu)) { in kvm_arch_vcpu_run_pid_change()
1161 if (vcpu_has_nv(vcpu)) in vcpu_mode_is_bad_32bit()
1627 if (!ret && vcpu_has_nv(vcpu)) in kvm_setup_vcpu()
H A Dat.c104 if (vcpu_has_nv(vcpu) && in effective_tcr2()
148 if (vcpu_has_nv(vcpu)) { in setup_s1_walk()
889 if (wi->regime == TR_EL10 && vcpu_has_nv(vcpu) && in compute_par_s1()
1351 mmu_cs = (vcpu_has_nv(vcpu) && in __kvm_at_s1e01_fast()
H A Dnested.c412 if (!vcpu_has_nv(vcpu)) in kvm_walk_nested_s2()
1875 if (!vcpu_has_nv(vcpu)) in kvm_nested_flush_hwstate()
1886 if (!vcpu_has_nv(vcpu)) in kvm_nested_sync_hwstate()
H A Dsys_regs.c1449 !vcpu_has_nv(vcpu) && in set_pmcr()
1911 if (vcpu_has_nv(vcpu)) in __kvm_read_sanitised_id_reg()
2160 if (!vcpu_has_nv(vcpu)) in ignore_feat_doublelock()
2277 (vcpu_has_nv(vcpu) && !FIELD_GET(ID_AA64PFR0_EL1_EL2, user_val))) in set_id_aa64pfr0_el1()
2342 if (!vcpu_has_nv(vcpu)) in set_id_aa64mmfr0_el1()
2626 if (vcpu_has_nv(vcpu)) in el2_visibility()
2999 if (vcpu_has_nv(vcpu) && in cnthv_visibility()
5778 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.c1070 if (vcpu_has_nv(vcpu)) in kvm_vgic_sync_hwstate()
1155 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()