[GIT PULL] x86/cpu for v5.17
From: Borislav Petkov
Date: Mon Jan 10 2022 - 06:16:38 EST
Hi Linus,
please pull two x86/cpu updates for 5.17.
Thx.
---
The following changes since commit 136057256686de39cc3a07c2e39ef6bc43003ff6:
Linux 5.16-rc2 (2021-11-21 13:47:39 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_cpu_for_v5.17_rc1
for you to fetch changes up to 244122b4d2e5221e6abd6e21d6a58170104db781:
x86/lib: Add fast-short-rep-movs check to copy_user_enhanced_fast_string() (2021-12-29 13:46:02 +0100)
----------------------------------------------------------------
- Enable the short string copies for CPUs which support them, in
copy_user_enhanced_fast_string()
- Avoid writing MSR_CSTAR on Intel due to TDX guests raising a #VE trap
----------------------------------------------------------------
Andi Kleen (1):
x86/cpu: Don't write CSTAR MSR on Intel CPUs
Tony Luck (1):
x86/lib: Add fast-short-rep-movs check to copy_user_enhanced_fast_string()
arch/x86/kernel/cpu/common.c | 15 +++++++++++++--
arch/x86/lib/copy_user_64.S | 4 ++--
2 files changed, 15 insertions(+), 4 deletions(-)
--
Regards/Gruss,
Boris.
SUSE Software Solutions Germany GmbH, GF: Ivo Totev, HRB 36809, AG Nürnberg