Skip to content

KVM: SVM: Final C-bit fixes?

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 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2Revert "KVM: x86: Truncate reported guest MAXPHYADDR to C-bit if SEV is supported"arch/x86/kvm/cpuid.c arch/x86/kvm/svm/svm.c arch/x86/kvm/x86.c +1 more+8 -441 reply
2/2KVM: SVM: Revert clearing of C-bit on GPA in #NPF handlerarch/x86/kvm/svm/svm.c+1 -11 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchTom Lendacky
1/2A-b
2/2A-b

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/2] KVM: SVM: Final C-bit fixes?

Patch 01 reverts the C-bit truncation patch as the reserved #PF was confirmed to be due to a magic HyperTransport region (how many magic addresses are there!?!). Hopefully the original patch simply be dropped, but just in case...

Patch 02 reverts the C-bit clearing in the #NPF handler. If that somehow turns out to be incorrect, i.e. there are flows where the CPU doesn't mask off the C-bit, then it can be conditional on a SEV guest.

I'll be offline for the next two weeks, fingers crossed I've undone all the damage. :-)

Thanks!

Sean Christopherson (2):
Revert "KVM: x86: Truncate reported guest MAXPHYADDR to C-bit if SEV
is supported"
KVM: SVM: Revert clearing of C-bit on GPA in #NPF handler

 arch/x86/kvm/cpuid.c   | 11 -----------
 arch/x86/kvm/svm/svm.c | 39 +++++++++------------------------------
 arch/x86/kvm/x86.c     |  3 ---
 arch/x86/kvm/x86.h     |  1 -
 4 files changed, 9 insertions(+), 45 deletions(-)
Signature · 1 line
2.32.0.93.g670b81a890-goog