Skip to content

x86/bugs: Adjust SRSO mitigation to new features

Borislav Petkov kvm lkml 2 versions – Applied

Status from this message: The following commit has been merged into the x86/bugs branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 20 repliesApplied
  2. v11 patch 14 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4x86/bugs: Add SRSO_USER_KERNEL_NO supportarch/x86/include/asm/cpufeatures.h arch/x86/kernel/cpu/bugs.c arch/x86/kernel/cpu/common.c+8 -06 replies
2/4KVM: x86: Advertise SRSO_USER_KERNEL_NO to userspacearch/x86/kvm/cpuid.c+1 -10 replies
3/4x86/bugs: KVM: Add support for SRSO_MSR_FIXDocumentation/admin-guide/hw-vuln/srso.rst arch/x86/include/asm/cpufeatures.h arch/x86/include/asm/msr-index.h +3 more+29 -161 replies
4/4Documentation/kernel-parameters: Fix a typo in kvm.enable_virt_at_load textDocumentation/admin-guide/kernel-parameters.txt+1 -10 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchNikolay Borisov
SeriesR-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

From: "Borislav Petkov (AMD)" <[email protected]>

Hi,

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

Changelog:
v1:

https://lore.kernel.org/r/[email protected]

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

Signature · 1 line
2.43.0