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)
commit1c253ff2287fe31307a67938c4487936db967ff5
tree11268e05b6b6c3b55b45b31acce96fd3fec3abf1
parent2bd264bce238cedbf00bde1f28ad51ba45b9114e
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