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

From: Nikolay Borisov
Date: Tue Dec 03 2024 - 09:30:20 EST




On 2.12.24 г. 14:04 ч., Borislav Petkov wrote:
From: "Borislav Petkov (AMD)" <bp@xxxxxxxxx>

Hi,

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

Changelog:
v1:

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

The series is pretty self-explanatory. So:

Reviewed-by: Nikolay Borisov <nik.borisov@xxxxxxxx>


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