[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1712944776.git.jpoimboe@kernel.org>
Date: Fri, 12 Apr 2024 11:10:31 -0700
From: Josh Poimboeuf <jpoimboe@...nel.org>
To: x86@...nel.org
Cc: linux-kernel@...r.kernel.org,
Linus Torvalds <torvalds@...ux-foundation.org>,
Daniel Sneddon <daniel.sneddon@...ux.intel.com>,
Pawan Gupta <pawan.kumar.gupta@...ux.intel.com>,
Thomas Gleixner <tglx@...utronix.de>,
Alexandre Chartre <alexandre.chartre@...cle.com>,
Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>,
Peter Zijlstra <peterz@...radead.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Sean Christopherson <seanjc@...gle.com>,
Andrew Cooper <andrew.cooper3@...rix.com>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Nikolay Borisov <nik.borisov@...e.com>,
KP Singh <kpsingh@...nel.org>,
Waiman Long <longman@...hat.com>,
Borislav Petkov <bp@...en8.de>,
Ingo Molnar <mingo@...nel.org>
Subject: [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(-)
--
2.44.0
Powered by blists - more mailing lists