Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'x86_urgent_for_v6.3_rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 fix from Borislav Petkov:
"A single erratum fix for AMD machines:

- Disable XSAVES on AMD Zen1 and Zen2 machines due to an erratum. No
impact to anything as those machines will fallback to XSAVEC which
is equivalent there"

* tag 'x86_urgent_for_v6.3_rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/CPU/AMD: Disable XSAVES on AMD family 0x17

+9
+9
arch/x86/kernel/cpu/amd.c
··· 880 880 } 881 881 } 882 882 #endif 883 + /* 884 + * Work around Erratum 1386. The XSAVES instruction malfunctions in 885 + * certain circumstances on Zen1/2 uarch, and not all parts have had 886 + * updated microcode at the time of writing (March 2023). 887 + * 888 + * Affected parts all have no supervisor XSAVE states, meaning that 889 + * the XSAVEC instruction (which works fine) is equivalent. 890 + */ 891 + clear_cpu_cap(c, X86_FEATURE_XSAVES); 883 892 } 884 893 885 894 static void init_amd_zn(struct cpuinfo_x86 *c)