]> git.hungrycats.org Git - linux/commit
Merge tag 'kvm-x86-mmu-7.2' of https://github.com/kvm-x86/linux into HEAD
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 12 Jun 2026 08:11:59 +0000 (10:11 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 12 Jun 2026 08:11:59 +0000 (10:11 +0200)
commit96124f964c23e79ca6532ac280a2594cad833b07
tree992b20087214e8d06f8cda1b3f422ada22888aa7
parentf6d6be78b24426eba424e24d06718f59a860e38a
parent69397c92de77525f70aa43cf3a47256cef409382
Merge tag 'kvm-x86-mmu-7.2' of https://github.com/kvm-x86/linux into HEAD

KVM x86 MMU changes for 7.2

 - Use the kernel's "enum pg_level" in the TDX APIs instead of the TDX-Module's
   level definitions (which are 0-based).

 - Rework the TDX memory APIs to not require/assume that guest memory is
   backed by "struct page" (in prepartion for guest_memfd hugepage support).

 - Overhaul the TDP MMU => S-EPT code to move as much S-EPT specific logic as
   possible into the TDX code, and to funnel (almost) all S-EPT updates into
   a single chokepoint.  The motivation is largely to prepare for upcoming
   Dynamic PAMT support, but the cleanups are nice to have on their own.

 - Plug a hole in the shadow MMU where KVM fails to recursively zap nested TDP
   shadow when L1 is tearing its TDP page tables from the bottom up, as KVM's
   TDP MMU now does.
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmu/mmu.c
arch/x86/kvm/vmx/tdx.c