summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorTina Zhang <zhang_wei@open-hieco.net>2026-11-27 08:38:17 +0800
committerBorislav Petkov (AMD) <bp@alien8.de>2026-11-26 17:39:54 -0800
commitd430c96a291a9c2e7f9a279e8bf9ec252d18c4a9 (patch)
tree90802efcaecd16c9d20938d9c0e9213378d89f5a /scripts/objdiff
parent4c2abd86d10720ce4a2330c2ca01cca39bd727ab (diff)
x86/cpu/hygon: Work around XSAVES Erratum 1386
The XSAVES malfunction described in AMD Erratum 1386 also affects certain Hygon Family 18h processors. Under specific conditions, XSAVES may fail to save XMM register state, allowing stale register values to reappear after the state is restored. The failure mode is documented as Erratum 1386 in "Revision Guide for AMD Family 19h Models 00h-0Fh Processors", Publication #56683. None of the affected processors enumerate supervisor XSAVE state components. XSAVEC is therefore equivalent for their enabled state components and is not affected by the erratum. Family 18h models 00h through 06h and model 10h are affected. Other Family 18h models contain the fix in hardware. For the following model and stepping combinations, the minimum microcode revisions containing the fix are: Model Stepping Microcode 04h 0 0x9040000f 04h 1 0x9041000f 06h 0 0x9060000f 06h 1 0x9061000f 10h 0 0x91000004 These are the only known steppings for those models. Disable XSAVES on affected processors unless a matching model and stepping entry identifies a sufficiently recent microcode revision containing the fix. This allows the x86 FPU code to use XSAVEC instead. Signed-off-by: Tina Zhang <zhang_wei@open-hieco.net> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Reviewed-by: Zhen Yang <yangzhen@hygon.cn> Tested-by: Qiming Deng <dengqiming@hygon.cn> Cc: stable@vger.kernel.org Link: https://patch.msgid.link/20261127003818.1208038-1-zhang_wei@open-hieco.net
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions