aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorBorislav Petkov <[email protected]>2021-10-15 10:46:25 +0000
committerBorislav Petkov <[email protected]>2021-10-16 10:37:50 +0000
commitb2381acd3fd9bacd2c63f53b2c610c89959b31cc (patch)
tree06fa807068753d83013046b19d3a11f0f6450de9 /drivers/fpga/fpga-bridge.c
parentx86/Kconfig: Do not enable AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT automatically (diff)
downloadkernel-b2381acd3fd9bacd2c63f53b2c610c89959b31cc.tar.gz
kernel-b2381acd3fd9bacd2c63f53b2c610c89959b31cc.zip
x86/fpu: Mask out the invalid MXCSR bits properly
This is a fix for the fix (yeah, /facepalm). The correct mask to use is not the negation of the MXCSR_MASK but the actual mask which contains the supported bits in the MXCSR register. Reported and debugged by Ville Syrjälä <[email protected]> Fixes: d298b03506d3 ("x86/fpu: Restore the masking out of reserved MXCSR bits") Signed-off-by: Borislav Petkov <[email protected]> Tested-by: Ville Syrjälä <[email protected]> Tested-by: Ser Olmy <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions