]> git.baikalelectronics.ru Git - kernel.git/commit
x86/fpu: Move xstate feature masks to fpu_*_cfg
authorThomas Gleixner <tglx@linutronix.de>
Thu, 14 Oct 2021 23:09:35 +0000 (01:09 +0200)
committerBorislav Petkov <bp@suse.de>
Thu, 21 Oct 2021 18:36:58 +0000 (20:36 +0200)
commitc65047e7af1d5b6fb16b6b64d32d8a3125460891
tree11268e05b6b6c3b55b45b31acce96fd3fec3abf1
parent61636535e42c5707ab5deb33211067c0e439be2b
x86/fpu: Move xstate feature masks to fpu_*_cfg

Move the feature mask storage to the kernel and user config
structs. Default and maximum feature set are the same for now.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20211014230739.352041752@linutronix.de
arch/x86/include/asm/fpu/xstate.h
arch/x86/kernel/fpu/core.c
arch/x86/kernel/fpu/init.c
arch/x86/kernel/fpu/signal.c
arch/x86/kernel/fpu/xstate.c