[GIT PULL] x86/fpu changes for v5.7

From: Ingo Molnar
Date: Tue Mar 31 2020 - 04:15:34 EST


Linus,

Please pull the latest x86-fpu-for-linus git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-fpu-for-linus

# HEAD: 16171bffc829272d5e6014bad48f680cb50943d9 x86/pkeys: Add check for pkey "overflow"

Misc changes:

- add a pkey sanity check

- three commits to improve and future-proof xstate/xfeature handling some more

Thanks,

Ingo

------------------>
Dave Hansen (1):
x86/pkeys: Add check for pkey "overflow"

Yu-cheng Yu (3):
x86/fpu/xstate: Fix last_good_offset in setup_xstate_features()
x86/fpu/xstate: Fix XSAVES offsets in setup_xstate_comp()
x86/fpu/xstate: Warn when checking alignment of disabled xfeatures


arch/x86/include/asm/pkeys.h | 5 +++
arch/x86/kernel/fpu/xstate.c | 75 +++++++++++++++++++++++---------------------
2 files changed, 44 insertions(+), 36 deletions(-)