Skip to content

x86/bugs: BHI fixes / improvements - round 2

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 Latest2 of 3 patches 5 repliesApplied

2 of 3 patches are in this archive. The cover letter announces 3.

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
2/3x86/bugs: Fix BHI retpoline checkarch/x86/kernel/cpu/bugs.c+7 -41 reply
3/3x86/bugs: Remove support for Spectre v2 LFENCE "retpolines"arch/x86/Makefile arch/x86/include/asm/cpufeatures.h arch/x86/include/asm/disabled-features.h +8 more+15 -1084 replies

Reviews trailers per patch

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

PatchPawan Gupta
SeriesR-b
2/3R-b
3/3

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/3] x86/bugs: BHI fixes / improvements - round 2

BHI fixes round 2:

- An updated version of "Only harden syscalls when needed" with review comments addressed

- A BHI retpoline check fix

- Remove the obsolete LFENCE "retpolines"

Josh Poimboeuf (3):
x86/bugs: Only harden syscalls when needed x86/bugs: Fix BHI retpoline check
x86/bugs: Remove support for Spectre v2 LFENCE "retpolines"

 arch/x86/Makefile                             |  1 -
 arch/x86/entry/common.c                       | 15 +++-
 arch/x86/entry/syscall_32.c                   | 11 +--
 arch/x86/entry/syscall_64.c                   |  6 --
 arch/x86/entry/syscall_x32.c                  |  7 +-
 arch/x86/include/asm/cpufeatures.h            |  2 +-
 arch/x86/include/asm/disabled-features.h      |  3 +-
 arch/x86/include/asm/nospec-branch.h          | 18 +---
 arch/x86/include/asm/syscall.h                |  8 +-
 arch/x86/kernel/alternative.c                 | 17 +---
 arch/x86/kernel/cpu/bugs.c                    | 88 +++++++------------
 arch/x86/kernel/cpu/cpu.h                     |  3 +-
 arch/x86/lib/retpoline.S                      |  5 +-
 arch/x86/net/bpf_jit_comp.c                   |  5 +-
 tools/arch/x86/include/asm/cpufeatures.h      |  1 -
 .../arch/x86/include/asm/disabled-features.h  |  3 +-
 16 files changed, 69 insertions(+), 124 deletions(-)
Signature · 1 line
2.44.0