[GIT PULL] KVM: x86: SVM changes for 6.12
From: Sean Christopherson
Date: Fri Sep 13 2024 - 21:15:36 EST
I got nothing clever or interesting to say for this one.
The following changes since commit 47ac09b91befbb6a235ab620c32af719f8208399:
Linux 6.11-rc4 (2024-08-18 13:17:27 -0700)
are available in the Git repository at:
https://github.com/kvm-x86/linux.git tags/kvm-x86-svm-6.12
for you to fetch changes up to 4440337af4d415c8abf8b9b0e10c79b7518e6e3c:
KVM: SVM: let alternatives handle the cases when RSB filling is required (2024-09-10 10:27:53 -0700)
----------------------------------------------------------------
KVM SVM changes for 6.12:
- Don't stuff the RSB after VM-Exit when RETPOLINE=y and AutoIBRS is enabled,
i.e. when the CPU has already flushed the RSB.
- Trace the per-CPU host save area as a VMCB pointer to improve readability
and cleanup the retrieval of the SEV-ES host save area.
- Remove unnecessary accounting of temporary nested VMCB related allocations.
----------------------------------------------------------------
Amit Shah (1):
KVM: SVM: let alternatives handle the cases when RSB filling is required
Sean Christopherson (3):
KVM: SVM: Add a helper to convert a SME-aware PA back to a struct page
KVM: SVM: Add host SEV-ES save area structure into VMCB via a union
KVM: SVM: Track the per-CPU host save area as a VMCB pointer
Yongqiang Liu (1):
KVM: SVM: Remove unnecessary GFP_KERNEL_ACCOUNT in svm_set_nested_state()
arch/x86/include/asm/svm.h | 20 +++++++++++++++-----
arch/x86/kvm/svm/nested.c | 4 ++--
arch/x86/kvm/svm/svm.c | 24 ++++++++++++------------
arch/x86/kvm/svm/svm.h | 18 ++++++++++++++++--
arch/x86/kvm/svm/vmenter.S | 8 ++------
5 files changed, 47 insertions(+), 27 deletions(-)