[GIT PULL] KVM: x86: SVM changes for 7.4
From: Sean Christopherson
Date: Fri Oct 16 2026 - 00:47:20 EST
Not much this time around, mainly because PML and Bus Lock virtualization
support went in through the "misc" branch due to making significant changes
to common x86 code.
The following changes since commit d4b7fb647204f0c81dfeae2d1a708e4d858e0c94:
Merge branch 'kvm-xen-longmode' into HEAD (2026-09-04 17:35:03 +0200)
are available in the Git repository at:
https://github.com/kvm-x86/linux.git tags/kvm-x86-svm-7.4
for you to fetch changes up to 003892d6e802a1c08ad03e8ea793453465cae7f4:
KVM: SEV: Return INVALID_INPUT on SNP req/resp buffer access failure (2026-09-28 17:55:11 -0700)
----------------------------------------------------------------
KVM SVM changes for 7.4
- Fix a benign-in-practice bug where KVM unintentionally sets a non-zero
error code when delivering exceptions to SEV-ES+ guests.
- Force a new ASID in both VMCBs on pCPU migration to fix a bug where KVM can
run a VMCB with a stale ASID due to the tracking being per-CPU, not per-VMCB.
- Return INVALID_INPUT to the guest instead of exiting to userspace with -EIO
if KVM can't access "guest request" buffer, i.e. try to keep the guest alive
if the guest or userspace goofs.
----------------------------------------------------------------
Chaithanya Lagisetty (1):
x86/svm: Avoid sign extension of SVM_EVTINJ_VALID in 64-bit expressions
Jacky Li (1):
KVM: SEV: Return INVALID_INPUT on SNP req/resp buffer access failure
Yosry Ahmed (1):
KVM: SVM: Trigger new ASID allocation in both VMCBs on pCPU switch
arch/x86/include/asm/svm.h | 4 ++--
arch/x86/kvm/svm/nested.c | 1 +
arch/x86/kvm/svm/sev.c | 37 +++++++++++++++++++++++++++++++------
arch/x86/kvm/svm/svm.c | 19 +++++++++++++++----
4 files changed, 49 insertions(+), 12 deletions(-)