[GIT PULL] x86/urgent for v6.3-rc4

From: Borislav Petkov
Date: Sun Mar 26 2023 - 08:41:01 EST


Hi Linus,

please pull a couple of x86/urgent fixes for 6.3.

Thx.

---

The following changes since commit cbebd68f59f03633469f3ecf9bea99cd6cce3854:

x86/mm: Fix use of uninitialized buffer in sme_enable() (2023-03-16 12:22:25 +0100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_urgent_for_v6.3_rc4

for you to fetch changes up to 62faca1ca10cc84e99ae7f38aa28df2bc945369b:

selftests/x86/amx: Add a ptrace test (2023-03-22 11:00:49 -0700)

----------------------------------------------------------------
- Add a AMX ptrace self test

- Prevent a false-positive warning when retrieving the (invalid) address of
dynamic FPU features in their init state which are not saved in
init_fpstate at all

- Randomize per-CPU entry areas only when KASLR is enabled

----------------------------------------------------------------
Chang S. Bae (2):
x86/fpu/xstate: Prevent false-positive warning in __copy_xstate_uabi_buf()
selftests/x86/amx: Add a ptrace test

Michal Koutný (1):
x86/mm: Do not shuffle CPU entry areas without KASLR

arch/x86/kernel/fpu/xstate.c | 30 +++++------
arch/x86/mm/cpu_entry_area.c | 7 +++
tools/testing/selftests/x86/amx.c | 108 ++++++++++++++++++++++++++++++++++++--
3 files changed, 126 insertions(+), 19 deletions(-)

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette