summaryrefslogtreecommitdiff
path: root/scripts/git.orderFile
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2026-05-11 06:58:40 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2026-06-25 11:31:59 +0200
commit72f734a435b24122e30e6f5a20f8fafdc21b2a3a (patch)
tree2d0609b5bbfa31430a53664f72fdb875326ab054 /scripts/git.orderFile
parent7ccb75f2bfeb0d1040eb25d9ab4329c825549b2a (diff)
downloadlinux-72f734a435b24122e30e6f5a20f8fafdc21b2a3a.tar.gz
linux-72f734a435b24122e30e6f5a20f8fafdc21b2a3a.zip
KVM: x86/mmu: pull page format to a new struct
Structs kvm_mmu ("build page tables") and kvm_pagewalk ("walk page tables") share a piece of common functionality, namely "looking at PTEs". Both of them have code to check is a specific access (described by PFERR_* constants) is allowed by a PTE, and both of them also validate that reserved bits are zero on the respective page tables page tables; for SPTEs the code is only there to check internal consistency, but in this case it is indeed shared via struct rsvd_bits_validate. In preparation for sharing more PTE parsing code between struct kvm_pagewalk and struct kvm_mmu, create a new struct that contains all precalculated tables, including the data that is extracted from the CPU role. For now only struct kvm_pagewalk uses it. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions