Skip to content

x86/bugs: BHI fixes / improvements

Josh Poimboeuf lkml 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 24 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7x86/bugs: BHI documentation fixesDocumentation/admin-guide/hw-vuln/spectre.rst Documentation/admin-guide/kernel-parameters.txt+15 -121 reply
2/7x86/bugs: Cache the value of MSR_IA32_ARCH_CAPABILITIESarch/x86/kernel/cpu/bugs.c+7 -152 replies
3/7x86/bugs: Fix BHI handling of RRSBAarch/x86/kernel/cpu/bugs.c+18 -122 replies
4/7x86/bugs: Clarify that syscall hardening isn't a BHI mitigationDocumentation/admin-guide/hw-vuln/spectre.rst Documentation/admin-guide/kernel-parameters.txt arch/x86/kernel/cpu/bugs.c+9 -110 replies
5/7x86/bugs: Only harden syscalls when neededarch/x86/entry/common.c arch/x86/entry/syscall_32.c arch/x86/entry/syscall_64.c +4 more+74 -2315 replies
6/7x86/bugs: Remove CONFIG_BHI_MITIGATION_AUTO and spectre_bhi=autoDocumentation/admin-guide/hw-vuln/spectre.rst Documentation/admin-guide/kernel-parameters.txt arch/x86/Kconfig +1 more+1 -211 reply
7/7x86/bugs: Replace CONFIG_SPECTRE_BHI_{ON,OFF} with CONFIG_MITIGATION_SPECTRE_BHIarch/x86/Kconfig arch/x86/kernel/cpu/bugs.c+4 -154 replies

Reviews trailers per patch

3 of 7 patches have a Reviewed-by or Acked-by.

PatchNikolay Borisov
1/7R-b
2/7R-b
3/7
4/7
5/7
6/7R-b
7/7

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

Read the v1 thread

Cover letter [PATCH 0/7] x86/bugs: BHI fixes / improvements

An assortment of BHI fixes.

Josh Poimboeuf (7):
x86/bugs: BHI documentation fixes
x86/bugs: Cache the value of MSR_IA32_ARCH_CAPABILITIES x86/bugs: Fix BHI handling of RRSBA
x86/bugs: Clarify that syscall hardening isn't a BHI mitigation x86/bugs: Only harden syscalls when needed
x86/bugs: Remove CONFIG_BHI_MITIGATION_AUTO and spectre_bhi=auto x86/bugs: Replace CONFIG_SPECTRE_BHI_{ON,OFF} with
CONFIG_MITIGATION_SPECTRE_BHI

 Documentation/admin-guide/hw-vuln/spectre.rst | 22 ++---
 .../admin-guide/kernel-parameters.txt         | 12 +--
 arch/x86/Kconfig                              | 22 +----
 arch/x86/entry/common.c                       | 30 +++++-
 arch/x86/entry/syscall_32.c                   | 11 +--
 arch/x86/entry/syscall_64.c                   |  8 +-
 arch/x86/entry/syscall_x32.c                  |  7 +-
 arch/x86/include/asm/cpufeatures.h            |  1 +
 arch/x86/include/asm/syscall.h                |  8 +-
 arch/x86/kernel/cpu/bugs.c                    | 98 +++++++++++--------
 10 files changed, 119 insertions(+), 100 deletions(-)
Signature · 1 line
2.44.0