x86/fpu changes for v5.8
Linus,
Please pull the latest x86/fpu git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-fpu-2020-06-01
# HEAD: 55e00fb66fd5048f4a3ee357018fd26fc527abca x86/fpu/xstate: Restore supervisor states for signal return
Most of the changes here related to 'XSAVES supervisor state' support, which is a feature that allows kernel-only data to be automatically saved/restored by the FPU context switching code.
CPU features that can be supported this way are Intel PT, 'PASID' and CET features.
Thanks,
Ingo
------------------>
Fenghua Yu (3):
x86/fpu/xstate: Rename validate_xstate_header() to validate_user_xstate_header() x86/fpu/xstate: Define new macros for supervisor and user xstates x86/fpu/xstate: Define new functions for clearing fpregs and xstates
Yu-cheng Yu (7):
x86/fpu/xstate: Separate user and supervisor xfeatures mask x86/fpu/xstate: Introduce XSAVES supervisor states
x86/fpu/xstate: Update sanitize_restored_xstate() for supervisor xstates x86/fpu/xstate: Update copy_kernel_to_xregs_err() for supervisor states x86/fpu: Introduce copy_supervisor_to_kernel()
x86/fpu/xstate: Preserve supervisor states for the slow path in __fpu__restore_sig() x86/fpu/xstate: Restore supervisor states for signal return
arch/x86/include/asm/fpu/internal.h | 10 +- arch/x86/include/asm/fpu/xstate.h | 52 +++++++--- arch/x86/kernel/fpu/core.c | 53 ++++++---- arch/x86/kernel/fpu/init.c | 3 +- arch/x86/kernel/fpu/regset.c | 2 +- arch/x86/kernel/fpu/signal.c | 144 ++++++++++++++++++-------- arch/x86/kernel/fpu/xstate.c | 199 +++++++++++++++++++++++++++--------- arch/x86/kernel/process.c | 2 +- arch/x86/kernel/signal.c | 2 +- 9 files changed, 336 insertions(+), 131 deletions(-)
The pull request you sent on Mon, 1 Jun 2020 18:54:25 +0200:
The pull request you sent on Mon, 1 Jun 2020 18:54:25 +0200:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.gitx86-fpu-2020-06-01
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/0a319ef75d931de0b21882ec17d8d70ece0aa871
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.wiki.kernel.org/userdoc/prtracker