[GIT PULL] x86/splitlock for 5.19

From: Borislav Petkov
Date: Mon May 23 2022 - 15:50:43 EST


Hi Linus,

please pull the latest lineup of misaligned locks changes for 5.19.

Thx.

---

The following changes since commit af2d861d4cd2a4da5137f795ee3509e6f944a25b:

Linux 5.18-rc4 (2022-04-24 14:51:22 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_splitlock_for_v5.19_rc1

for you to fetch changes up to 0180a1e823d7c41d9a1c19f38e6069b38fe60c87:

x86/split_lock: Enable the split lock feature on Raptor Lake (2022-05-04 12:11:25 +0200)

----------------------------------------------------------------
- Add Raptor Lake to the set of CPU models which support splitlock

- Make life miserable for apps using split locks by slowing them down
considerably while the rest of the system remains responsive. The hope
is it will hurt more and people will really fix their misaligned locks
apps. As a result, free a TIF bit.

----------------------------------------------------------------
Tony Luck (3):
x86/split_lock: Make life miserable for split lockers
x86/split-lock: Remove unused TIF_SLD bit
x86/split_lock: Enable the split lock feature on Raptor Lake

arch/x86/include/asm/cpu.h | 2 -
arch/x86/include/asm/thread_info.h | 4 +-
arch/x86/kernel/cpu/intel.c | 76 +++++++++++++++++++++++++++-----------
arch/x86/kernel/process.c | 3 --
include/linux/sched.h | 3 ++
kernel/fork.c | 5 +++
6 files changed, 63 insertions(+), 30 deletions(-)

--
Regards/Gruss,
Boris.

SUSE Software Solutions Germany GmbH
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Martje Boudien Moerman
(HRB 36809, AG Nürnberg)