]> git.baikalelectronics.ru Git - kernel.git/commit
x86/fpu: Move xstate size to fpu_*_cfg
authorThomas Gleixner <tglx@linutronix.de>
Thu, 14 Oct 2021 23:09:34 +0000 (01:09 +0200)
committerBorislav Petkov <bp@suse.de>
Thu, 21 Oct 2021 17:38:55 +0000 (19:38 +0200)
commit61636535e42c5707ab5deb33211067c0e439be2b
treea987bdb7fdca3a674b55bfbbf06c304d88077cb7
parent2f665067db4f1b95a8a657135302c423e79f022e
x86/fpu: Move xstate size to fpu_*_cfg

Use the new kernel and user space config storage to store and retrieve the
XSTATE buffer sizes. The default and the maximum size are the same for now,
but will change when support for dynamically enabled features is added.

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