[GIT PULL] KVM: x86: MMU changes for 6.11

From: Sean Christopherson
Date: Fri Jul 12 2024 - 19:58:19 EST


I got nothing for this one.

The following changes since commit c3f38fa61af77b49866b006939479069cd451173:

Linux 6.10-rc2 (2024-06-02 15:44:56 -0700)

are available in the Git repository at:

https://github.com/kvm-x86/linux.git tags/kvm-x86-mmu-6.11

for you to fetch changes up to 0089c055b56024edf90e85dc852440b713ce8cb5:

KVM: x86/mmu: Avoid reacquiring RCU if TDP MMU fails to allocate an SP (2024-06-14 09:25:03 -0700)

----------------------------------------------------------------
KVM x86 MMU changes for 6.11

- Don't allocate kvm_mmu_page.shadowed_translation for shadow pages that can't
hole leafs SPTEs.

- Unconditionally drop mmu_lock when allocating TDP MMU page tables for eager
page splitting to avoid stalling vCPUs when splitting huge pages.

- Misc cleanups

----------------------------------------------------------------
David Matlack (4):
KVM: x86/mmu: Always drop mmu_lock to allocate TDP MMU SPs for eager splitting
KVM: x86/mmu: Hard code GFP flags for TDP MMU eager split allocations
KVM: x86/mmu: Unnest TDP MMU helpers that allocate SPs for eager splitting
KVM: x86/mmu: Avoid reacquiring RCU if TDP MMU fails to allocate an SP

Hou Wenlong (1):
KVM: x86/mmu: Only allocate shadowed translation cache for sp->role.level <= KVM_MAX_HUGEPAGE_LEVEL

Liang Chen (1):
KVM: x86: invalid_list not used anymore in mmu_shrink_scan

Sean Christopherson (1):
KVM: x86/mmu: Rephrase comment about synthetic PFERR flags in #PF handler

arch/x86/kvm/mmu/mmu.c | 17 ++++-----
arch/x86/kvm/mmu/paging_tmpl.h | 3 +-
arch/x86/kvm/mmu/tdp_mmu.c | 78 +++++++++++++-----------------------------
3 files changed, 35 insertions(+), 63 deletions(-)