summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2022-03-24 14:47:11 +0100
committerBorislav Petkov <bp@suse.de>2022-03-30 10:55:44 +0200
commit35a77d4503d9d9d0e19e3a2a0d3fc9ab09fb6857 (patch)
tree86ada905e02508961e8417d1f952b563a9ed446f /init
parentx86/fpu: Remove unused supervisor only offsets (diff)
downloadlinux-35a77d4503d9d9d0e19e3a2a0d3fc9ab09fb6857.tar.xz
linux-35a77d4503d9d9d0e19e3a2a0d3fc9ab09fb6857.zip
x86/fpu/xsave: Initialize offset/size cache early
Reading XSTATE feature information from CPUID over and over does not make sense. The information has to be cached anyway, so it can be done early. Prepare for runtime calculation of XSTATE offsets and allow consolidation of the size calculation functions in a later step. Rename the function while at it as it does not setup any features. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lore.kernel.org/r/20220324134623.519411939@linutronix.de
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions