Skip to content

KVM: x86/mmu: TDP MMU fixes for 6.2

Sean Christopherson kvm lkml 1 version Applied

Status from this message: Queued, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 15 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5KVM: x86/mmu: Don't attempt to map leaf if target TDP MMU SPTE is frozenarch/x86/kvm/mmu/tdp_mmu.c+3 -31 reply
2/5KVM: x86/mmu: Map TDP MMU leaf SPTE iff target level is reachedarch/x86/kvm/mmu/tdp_mmu.c+11 -30 replies
3/5KVM: x86/mmu: Re-check under lock that TDP MMU SP hugepage is disallowedarch/x86/kvm/mmu/tdp_mmu.c+2 -13 replies
4/5KVM: x86/mmu: Don't install TDP MMU SPTE if SP has unexpected levelarch/x86/kvm/mmu/tdp_mmu.c+3 -13 replies
5/5KVM: x86/mmu: Move kvm_tdp_mmu_map()'s prolog and epilog to its callerarch/x86/kvm/mmu/mmu.c arch/x86/kvm/mmu/mmu_internal.h arch/x86/kvm/mmu/tdp_mmu.c+12 -205 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchDavid MatlackRobert Hoo
1/5R-b
2/5
3/5Analyzed-by
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] KVM: x86/mmu: TDP MMU fixes for 6.2

Fix three fatal TDP MMU bugs introduced in 6.2, harden related code, and clean up kvm_tdp_mmu_map() to eliminate the need for gotos.

Sean Christopherson (5):
KVM: x86/mmu: Don't attempt to map leaf if target TDP MMU SPTE is
frozen
KVM: x86/mmu: Map TDP MMU leaf SPTE iff target level is reached
KVM: x86/mmu: Re-check under lock that TDP MMU SP hugepage is
disallowed
KVM: x86/mmu: Don't install TDP MMU SPTE if SP has unexpected level
KVM: x86/mmu: Move kvm_tdp_mmu_map()'s prolog and epilog to its caller

 arch/x86/kvm/mmu/mmu.c          |  9 +++++++-
 arch/x86/kvm/mmu/mmu_internal.h |  1 -
 arch/x86/kvm/mmu/tdp_mmu.c      | 39 +++++++++++++++------------------
 3 files changed, 26 insertions(+), 23 deletions(-)

base-commit: 51229fd7872f82af07498aef5c79ad51baf81ea0

Signature · 1 line
2.39.0.rc1.256.g54fd8350bd-goog