]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
committerStefan Bader <stefan.bader@canonical.com>
Thu, 5 May 2022 07:14:16 +0000 (09:14 +0200)
commitf8bbf96761cb210d8579ff90b7da1ca735bc6fa9
treead36606d27f90e844d629b4a26b417fd5cff5747
parent489f383bcd4b2b56e37cc70d5e97e038b98e88a6
x86/fpu: Move xstate feature masks to fpu_*_cfg

BugLink: https://bugs.launchpad.net/bugs/1967750
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
(cherry picked from commit 1c253ff2287fe31307a67938c4487936db967ff5)
Acked-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
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