x86/fpu updates for v6.15
Linus,
Please pull the latest x86/fpu Git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-fpu-2025-03-22
# HEAD: dda366083e5ff307a4a728757db874bbfe7550be x86/fpu/xstate: Fix inconsistencies in guest FPU xfeatures
x86/fpu updates for v6.15:
- Improve crypto performance by making kernel-mode FPU reliably usable in softirqs ((Eric Biggers)
- Fully optimize out WARN_ON_FPU() (Eric Biggers)
- Initial steps to support Support Intel APX (Advanced Performance Extensions) (Chang S. Bae)
- Fix KASAN for arch_dup_task_struct() (Benjamin Berg)
- Refine and simplify the FPU magic number check during signal return (Chang S. Bae)
- Fix inconsistencies in guest FPU xfeatures (Chao Gao, Stanislav Spassov)
- selftests/x86/xstate: Introduce common code for testing extended states (Chang S. Bae)
- Misc fixes and cleanups (Borislav Petkov, Colin Ian King, Uros Bizjak)
Thanks,
Ingo
------------------>
Benjamin Berg (2):
vmlinux.lds.h: Remove entry to place init_task onto init_stack x86/fpu: Avoid copying dynamic FP state from init_task in arch_dup_task_struct()
Borislav Petkov (AMD) (1):
x86/fpu: Clarify the "xa" symbolic name used in the XSTATE* macros
Chang S. Bae (11):
selftests/x86: Consolidate redundant signal helper functions selftests/x86/xstate: Refactor XSAVE helpers for general use selftests/x86/xstate: Enumerate and name xstate components selftests/x86/xstate: Refactor context switching test selftests/x86/xstate: Refactor ptrace ABI test selftests/x86/xstate: Introduce signal ABI test selftests/x86/xstate: Consolidate test invocations into a single entry selftests/x86/xstate: Clarify supported xstates selftests/x86/avx: Add AVX tests
x86/fpu: Refine and simplify the magic number check during signal return x86/fpu/xstate: Simplify print_xstate_features()
Chao Gao (1):
x86/fpu/xstate: Fix inconsistencies in guest FPU xfeatures
Colin Ian King (1):
selftests/x86/xstate: Fix spelling mistake "hader" -> "header"
Eric Biggers (2):
x86/fpu: Fully optimize out WARN_ON_FPU()
x86/fpu: Improve crypto performance by making kernel-mode FPU reliably usable in softirqs
Stanislav Spassov (1):
x86/fpu: Fix guest FPU state buffer allocation size
Uros Bizjak (1):
x86/fpu: Use XSAVE{,OPT,C,S} and XRSTOR{,S} mnemonics in xstate.h
arch/x86/include/asm/fpu/api.h | 17 +- arch/x86/kernel/fpu/core.c | 23 +- arch/x86/kernel/fpu/internal.h | 2 +- arch/x86/kernel/fpu/signal.c | 11 +- arch/x86/kernel/fpu/xstate.c | 30 +- arch/x86/kernel/fpu/xstate.h | 31 +- arch/x86/kernel/process.c | 7 +- include/asm-generic/vmlinux.lds.h | 1 - tools/testing/selftests/x86/Makefile | 6 +- tools/testing/selftests/x86/amx.c | 442 +------------------ tools/testing/selftests/x86/avx.c | 12 + .../testing/selftests/x86/corrupt_xstate_header.c | 14 +- tools/testing/selftests/x86/entry_from_vm86.c | 24 +- tools/testing/selftests/x86/fsgsbase.c | 24 +- tools/testing/selftests/x86/helpers.h | 28 ++ tools/testing/selftests/x86/ioperm.c | 25 +- tools/testing/selftests/x86/iopl.c | 25 +- tools/testing/selftests/x86/ldt_gdt.c | 18 +- tools/testing/selftests/x86/mov_ss_trap.c | 14 +- tools/testing/selftests/x86/ptrace_syscall.c | 24 +- tools/testing/selftests/x86/sigaltstack.c | 26 +- tools/testing/selftests/x86/sigreturn.c | 24 +- tools/testing/selftests/x86/single_step_syscall.c | 22 - tools/testing/selftests/x86/syscall_arg_fault.c | 12 - tools/testing/selftests/x86/syscall_nt.c | 12 - tools/testing/selftests/x86/sysret_rip.c | 24 +- tools/testing/selftests/x86/test_vsyscall.c | 13 - tools/testing/selftests/x86/unwind_vdso.c | 12 - tools/testing/selftests/x86/xstate.c | 477 +++++++++++++++++++++ tools/testing/selftests/x86/xstate.h | 195 +++++++++ 30 files changed, 812 insertions(+), 783 deletions(-) create mode 100644 tools/testing/selftests/x86/avx.c create mode 100644 tools/testing/selftests/x86/xstate.c create mode 100644 tools/testing/selftests/x86/xstate.h
The pull request you sent on Sat, 22 Mar 2025 13:00:21 +0100:
The pull request you sent on Sat, 22 Mar 2025 13:00:21 +0100:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.gitx86-fpu-2025-03-22
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/71b639af06ef1c422df87be36ad411bc31abf1ce
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html