[GIT PULL] KVM: x86: SVM changes for 6.11
From: Sean Christopherson
Date: Fri Jul 12 2024 - 19:59:45 EST
Another small pull request. Embarrasingly, I'm pretty sure Google has been
carrying a patch to make the per-CPU allocation NUMA-aware for many years :-(
The following changes since commit c3f38fa61af77b49866b006939479069cd451173:
Linux 6.10-rc2 (2024-06-02 15:44:56 -0700)
are available in the Git repository at:
https://github.com/kvm-x86/linux.git tags/kvm-x86-svm-6.11
for you to fetch changes up to 704ec48fc2fbd4e41ec982662ad5bf1eee33eeb2:
KVM: SVM: Use sev_es_host_save_area() helper when initializing tsc_aux (2024-06-28 08:53:00 -0700)
----------------------------------------------------------------
KVM SVM changes for 6.11
- Make per-CPU save_area allocations NUMA-aware.
- Force sev_es_host_save_area() to be inlined to avoid calling into an
instrumentable function from noinstr code.
----------------------------------------------------------------
Li RongQing (3):
KVM: SVM: remove useless input parameter in snp_safe_alloc_page
KVM: SVM: not account memory allocation for per-CPU svm_data
KVM: SVM: Consider NUMA affinity when allocating per-CPU save_area
Sean Christopherson (2):
KVM: SVM: Force sev_es_host_save_area() to be inlined (for noinstr usage)
KVM: SVM: Use sev_es_host_save_area() helper when initializing tsc_aux
arch/x86/kvm/svm/nested.c | 2 +-
arch/x86/kvm/svm/sev.c | 6 +++---
arch/x86/kvm/svm/svm.c | 23 ++++++++++-------------
arch/x86/kvm/svm/svm.h | 18 +++++++++++++++---
4 files changed, 29 insertions(+), 20 deletions(-)