Skip to content

KVM: x86: Fixups and PAE+SME fixes

Sean Christopherson kvm lkml 2 versions Applied

Status from this message: Queued, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyApplied
  2. v12 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- Moved SME fixes from "PCID fixup" to its correct location, in "Mark PAE roots decrypted".
- Collected Reviewed/Tested-by tags for MMU_PRESENT+MMIO snafu, though I expect they'll get squashed away.
- Added the PAE patches from the SME shadow paging fixes to avoid spreading out the dependencies.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4KVM: x86: Fixup "Get active PCID only when writing a CR3 value"arch/x86/kvm/svm/svm.c+7 -10 replies
2/4KVM: x86/mmu: Exclude the MMU_PRESENT bit from MMIO SPTE's generationarch/x86/kvm/mmu/spte.h+7 -50 replies
3/4KVM: x86/mmu: Use '0' as the one and only value for an invalid PAE rootarch/x86/kvm/mmu/mmu.c arch/x86/kvm/mmu/mmu_audit.c arch/x86/kvm/mmu/mmu_internal.h+24 -120 replies
4/4KVM: x86/mmu: Mark the PAE roots as decrypted for shadow pagingarch/x86/kvm/mmu/mmu.c arch/x86/kvm/svm/svm.c+23 -40 replies

Reviews trailers per patch

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

PatchMaxim LevitskyTom Lendacky
1/4
2/4R-b T-b
3/4
4/4

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

Read the v2 thread

Cover letter [PATCH v2 0/4] KVM: x86: Fixups and PAE+SME fixes

A few stragglers bundled together to hopefully avoid more messy conflicts.

v2 (relative to the fixup mini-series):
- Moved SME fixes from "PCID fixup" to its correct location, in "Mark PAE roots decrypted".
- Collected Reviewed/Tested-by tags for MMU_PRESENT+MMIO snafu, though I expect they'll get squashed away.
- Added the PAE patches from the SME shadow paging fixes to avoid spreading out the dependencies.

Sean Christopherson (4):
KVM: x86: Fixup "Get active PCID only when writing a CR3 value"
KVM: x86/mmu: Exclude the MMU_PRESENT bit from MMIO SPTE's generation
KVM: x86/mmu: Use '0' as the one and only value for an invalid PAE
root
KVM: x86/mmu: Mark the PAE roots as decrypted for shadow paging

 arch/x86/kvm/mmu/mmu.c          | 46 ++++++++++++++++++++++++---------
 arch/x86/kvm/mmu/mmu_audit.c    |  2 +-
 arch/x86/kvm/mmu/mmu_internal.h | 10 +++++++
 arch/x86/kvm/mmu/spte.h         | 12 +++++----
 arch/x86/kvm/svm/svm.c          |  9 +++++--
 5 files changed, 59 insertions(+), 20 deletions(-)
Signature · 1 line
2.30.1.766.gb4fecdf3b7-goog