Searched refs:pdpte (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/arch/x86/kvm/svm/ |
D | nested.c | 63 u64 pdpte; in nested_svm_get_tdp_pdptr() local 66 ret = kvm_vcpu_read_guest_page(vcpu, gpa_to_gfn(cr3), &pdpte, in nested_svm_get_tdp_pdptr() 70 return pdpte; in nested_svm_get_tdp_pdptr()
|
/linux-6.6.21/arch/x86/kvm/ |
D | x86.c | 873 u64 pdpte[ARRAY_SIZE(mmu->pdptrs)]; in load_pdptrs() local 885 ret = kvm_vcpu_read_guest_page(vcpu, gpa_to_gfn(real_gpa), pdpte, in load_pdptrs() 886 cr3 & GENMASK(11, 5), sizeof(pdpte)); in load_pdptrs() 890 for (i = 0; i < ARRAY_SIZE(pdpte); ++i) { in load_pdptrs() 891 if ((pdpte[i] & PT_PRESENT_MASK) && in load_pdptrs() 892 (pdpte[i] & pdptr_rsvd_bits(vcpu))) { in load_pdptrs() 901 if (!tdp_enabled && memcmp(mmu->pdptrs, pdpte, sizeof(mmu->pdptrs))) in load_pdptrs() 904 memcpy(mmu->pdptrs, pdpte, sizeof(mmu->pdptrs)); in load_pdptrs()
|