public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] x86/bugs: BHI fixes / improvements - round 2
@ 2024-04-12 18:10 Josh Poimboeuf
  2024-04-12 18:10 ` [PATCH v2 1/3] x86/bugs: Only harden syscalls when needed Josh Poimboeuf
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Josh Poimboeuf @ 2024-04-12 18:10 UTC (permalink / raw)
  To: x86
  Cc: linux-kernel, Linus Torvalds, Daniel Sneddon, Pawan Gupta,
	Thomas Gleixner, Alexandre Chartre, Konrad Rzeszutek Wilk,
	Peter Zijlstra, Greg Kroah-Hartman, Sean Christopherson,
	Andrew Cooper, Dave Hansen, Nikolay Borisov, KP Singh,
	Waiman Long, Borislav Petkov, Ingo Molnar

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(-)

-- 
2.44.0


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-04-15 23:44 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-12 18:10 [PATCH 0/3] x86/bugs: BHI fixes / improvements - round 2 Josh Poimboeuf
2024-04-12 18:10 ` [PATCH v2 1/3] x86/bugs: Only harden syscalls when needed Josh Poimboeuf
2024-04-12 22:42   ` Pawan Gupta
2024-04-12 22:58     ` Josh Poimboeuf
2024-04-15  7:32   ` Nikolay Borisov
2024-04-15 15:16     ` Linus Torvalds
2024-04-15 15:27       ` Nikolay Borisov
2024-04-15 15:47         ` Linus Torvalds
2024-04-12 18:10 ` [PATCH 2/3] x86/bugs: Fix BHI retpoline check Josh Poimboeuf
2024-04-12 23:18   ` Pawan Gupta
2024-04-14  9:19   ` [tip: x86/urgent] " tip-bot2 for Josh Poimboeuf
2024-04-12 18:10 ` [PATCH 3/3] x86/bugs: Remove support for Spectre v2 LFENCE "retpolines" Josh Poimboeuf
2024-04-12 18:20   ` Josh Poimboeuf
2024-04-12 20:49   ` Andrew Cooper
2024-04-15 23:44     ` Josh Poimboeuf
2024-04-13  4:21   ` Josh Poimboeuf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox