summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorChang S. Bae <chang.seok.bae@intel.com>2021-10-21 15:55:18 -0700
committerBorislav Petkov <bp@suse.de>2021-10-26 10:18:09 +0200
commit8bf26758ca9659866b844dd51037314b4c0fa6bd (patch)
tree4c702e253c9112ab848855451484aef3a9148ad0 /kernel
parentdae1bd58389615d401a84aedc38fa075ef8f7de6 (diff)
downloadlinux-stable-8bf26758ca9659866b844dd51037314b4c0fa6bd.tar.gz
linux-stable-8bf26758ca9659866b844dd51037314b4c0fa6bd.tar.bz2
linux-stable-8bf26758ca9659866b844dd51037314b4c0fa6bd.zip
x86/fpu: Add XFD state to fpstate
Add storage for XFD register state to struct fpstate. This will be used to store the XFD MSR state. This will be used for switching the XFD MSR when FPU content is restored. Add a per-CPU variable to cache the current MSR value so the MSR has only to be written when the values are different. Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20211021225527.10184-15-chang.seok.bae@intel.com
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions