[PATCH v2 0/4] x86/bugs: Adjust SRSO mitigation to new features

Borislav Petkov
2024-12-02T12:04:21Z

From: "Borislav Petkov (AMD)" <bp@alien8.de>

Hi,

here's the next revision, with hopefully all review feedback addressed.

Changelog:
v1:

https://lore.kernel.org/r/20241104101543.31885-1-bp@kernel.org

Thx.

Borislav Petkov (AMD) (4):
x86/bugs: Add SRSO_USER_KERNEL_NO support
KVM: x86: Advertise SRSO_USER_KERNEL_NO to userspace
x86/bugs: KVM: Add support for SRSO_MSR_FIX
Documentation/kernel-parameters: Fix a typo in kvm.enable_virt_at_load
text

Documentation/admin-guide/hw-vuln/srso.rst | 10 ++++++++++
Documentation/admin-guide/kernel-parameters.txt | 2 +-
arch/x86/include/asm/cpufeatures.h | 2 ++
arch/x86/include/asm/msr-index.h | 1 +
arch/x86/kernel/cpu/bugs.c | 16 +++++++++++++++-
arch/x86/kernel/cpu/common.c | 1 +
arch/x86/kvm/cpuid.c | 2 +-
arch/x86/kvm/svm/svm.c | 6 ++++++
arch/x86/lib/msr.c | 2 ++
9 files changed, 39 insertions(+), 3 deletions(-)

base-commit: 40384c840ea1944d7c5a392e8975ed088ecf0b37
--
2.43.0