Skip to content

Commit b40a245

Browse files
mzhang3579sean-jc
authored andcommitted
KVM: Documentation: Add the missing description for ptep in kvm_mmu_page
Add the missing description for ptep in kvm_mmu_page description. ptep is used when TDP MMU is enabled and it shares the storage with parent_ptes. Update the doc to help readers to get up-to-date info. Signed-off-by: Mingwei Zhang <[email protected]> Reviewed-by: Kai Huang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
1 parent fdaca56 commit b40a245

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Documentation/virt/kvm/x86/mmu.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,9 @@ Shadow pages contain the following information:
239239
parent_ptes points at this single spte, otherwise, there exists multiple
240240
sptes pointing at this page and (parent_ptes & ~0x1) points at a data
241241
structure with a list of parent sptes.
242+
ptep:
243+
The kernel virtual address of the SPTE that points at this shadow page.
244+
Used exclusively by the TDP MMU, this field is a union with parent_ptes.
242245
unsync:
243246
If true, then the translations in this page may not match the guest's
244247
translation. This is equivalent to the state of the tlb when a pte is

0 commit comments

Comments
 (0)