summaryrefslogtreecommitdiffstats
path: root/arch/x86/hyperv
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-06-23 14:02:26 +0200
committerBorislav Petkov <bp@suse.de>2021-06-23 20:01:55 +0200
commit9ba589f9cdbd8906465b108bc7ec0fc1519a06d3 (patch)
treef01298aefbdbdb3fc1477075d60937864ff7f8c5 /arch/x86/hyperv
parentx86/fpu/signal: Move initial checks into fpu__restore_sig() (diff)
downloadlinux-9ba589f9cdbd8906465b108bc7ec0fc1519a06d3.tar.xz
linux-9ba589f9cdbd8906465b108bc7ec0fc1519a06d3.zip
x86/fpu/signal: Remove the legacy alignment check
Checking for the XSTATE buffer being 64-byte aligned, and if not, deciding just to restore the FXSR state is daft. If user space provides an unaligned math frame and has the extended state magic set in the FX software reserved bytes, then it really can keep the pieces. If the frame is unaligned and the FX software magic is not set, then fx_only is already set and the restore will use fxrstor. Remove it. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20210623121457.184149902@linutronix.de
Diffstat (limited to 'arch/x86/hyperv')
0 files changed, 0 insertions, 0 deletions