[GIT PULL] x86/cpu for 6.1

From: Borislav Petkov
Date: Tue Oct 04 2022 - 04:50:38 EST


Hi Linus,

please pull the x86/cpu lineup for 6.1.

Thx.

---

The following changes since commit 568035b01cfb107af8d2e4bd2fb9aea22cf5b868:

Linux 6.0-rc1 (2022-08-14 15:50:18 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_cpu_for_v6.1_rc1

for you to fetch changes up to c926087eb38520b268515ae1a842db6db62554cc:

x86/mm: Print likely CPU at segfault time (2022-08-24 12:48:05 +0200)

----------------------------------------------------------------
- Print the CPU number at segfault time. The number printed is not
always accurate (preemption is enabled at that time) but the print string
contains "likely" and after a lot of back'n'forth on this, this was the
consensus that was reached. See thread starting at:
https://lore.kernel.org/r/5d62c1d0-7425-d5bb-ecb5-1dc3b4d7d245@xxxxxxxxx

- After a *lot* of testing and polishing, finally the clear_user()
improvements to inline REP; STOSB by default

----------------------------------------------------------------
Borislav Petkov (1):
x86/clear_user: Make it faster

Rik van Riel (1):
x86/mm: Print likely CPU at segfault time

arch/x86/include/asm/uaccess.h | 5 +-
arch/x86/include/asm/uaccess_64.h | 45 +++++++++++++
arch/x86/lib/clear_page_64.S | 138 ++++++++++++++++++++++++++++++++++++++
arch/x86/lib/usercopy_64.c | 40 -----------
arch/x86/mm/fault.c | 10 +++
tools/objtool/check.c | 3 +
6 files changed, 198 insertions(+), 43 deletions(-)

--
Regards/Gruss,
Boris.

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