Home
last modified time | relevance | path

Searched refs:pdpte (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/arch/x86/kvm/svm/
Dnested.c62 u64 pdpte; in nested_svm_get_tdp_pdptr() local
65 ret = kvm_vcpu_read_guest_page(vcpu, gpa_to_gfn(cr3), &pdpte, in nested_svm_get_tdp_pdptr()
69 return pdpte; in nested_svm_get_tdp_pdptr()
/linux-6.1.9/arch/x86/kvm/
Dx86.c867 u64 pdpte[ARRAY_SIZE(mmu->pdptrs)]; in load_pdptrs() local
879 ret = kvm_vcpu_read_guest_page(vcpu, gpa_to_gfn(real_gpa), pdpte, in load_pdptrs()
880 cr3 & GENMASK(11, 5), sizeof(pdpte)); in load_pdptrs()
884 for (i = 0; i < ARRAY_SIZE(pdpte); ++i) { in load_pdptrs()
885 if ((pdpte[i] & PT_PRESENT_MASK) && in load_pdptrs()
886 (pdpte[i] & pdptr_rsvd_bits(vcpu))) { in load_pdptrs()
895 if (!tdp_enabled && memcmp(mmu->pdptrs, pdpte, sizeof(mmu->pdptrs))) in load_pdptrs()
898 memcpy(mmu->pdptrs, pdpte, sizeof(mmu->pdptrs)); in load_pdptrs()