aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorAndrew Cooper <andrew.cooper3@citrix.com>2023-03-07 17:46:43 +0000
committerBorislav Petkov (AMD) <bp@alien8.de>2023-03-08 16:56:08 +0100
commitb0563468eeac88ebc70559d52a0b66efc37e4e9d (patch)
tree83b1f0d7525426df24c79d342f5298f5533469c5 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6 (diff)
x86/CPU/AMD: Disable XSAVES on AMD family 0x17
AMD Erratum 1386 is summarised as: XSAVES Instruction May Fail to Save XMM Registers to the Provided State Save Area This piece of accidental chronomancy causes the %xmm registers to occasionally reset back to an older value. Ignore the XSAVES feature on all AMD Zen1/2 hardware. The XSAVEC instruction (which works fine) is equivalent on affected parts. [ bp: Typos, move it into the F17h-specific function. ] Reported-by: Tavis Ormandy <taviso@gmail.com> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Cc: <stable@kernel.org> Link: https://lore.kernel.org/r/20230307174643.1240184-1-andrew.cooper3@citrix.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions