[GIT PULL] KVM: x86: SVM changes for 6.14

From: Sean Christopherson
Date: Thu Jan 16 2025 - 20:09:57 EST


A handful of minor cleanups, nothing noteworthy.

The following changes since commit 3522c419758ee8dca5a0e8753ee0070a22157bc1:

Merge tag 'kvm-riscv-fixes-6.13-1' of https://github.com/kvm-riscv/linux into HEAD (2024-12-13 13:59:20 -0500)

are available in the Git repository at:

https://github.com/kvm-x86/linux.git tags/kvm-x86-svm-6.14

for you to fetch changes up to 4c334c68804a3296009d92c121ee56a7fe19ea87:

KVM: SVM: Use str_enabled_disabled() helper in svm_hardware_setup() (2025-01-10 06:56:20 -0800)

----------------------------------------------------------------
KVM SVM changes for 6.14:

- Macrofy the SEV=n version of the sev_xxx_guest() helpers so that the code is
optimized away when building with less than brilliant compilers.

- Remove a now-redundant TLB flush when guest CR4.PGE changes.

- Use str_enabled_disabled() to replace open coded strings.

----------------------------------------------------------------
Sean Christopherson (2):
KVM: SVM: Macrofy SEV=n versions of sev_xxx_guest()
KVM: SVM: Remove redundant TLB flush on guest CR4.PGE change

Thorsten Blum (2):
KVM: SVM: Use str_enabled_disabled() helper in sev_hardware_setup()
KVM: SVM: Use str_enabled_disabled() helper in svm_hardware_setup()

arch/x86/kvm/svm/sev.c | 4 ++--
arch/x86/kvm/svm/svm.c | 8 ++------
arch/x86/kvm/svm/svm.h | 17 +++++------------
3 files changed, 9 insertions(+), 20 deletions(-)