1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/linux/5x86-no-speculation.patch
3 # Copyright (C) 2022 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 AFAIC the upstream cpu vuln whitelist misses many 5x86 clones,
15 "CyrixInstead", "NexGenDriven", "RiseRiseRise", "SiS SiS SiS ",
16 "UMC UMC UMC ", "VIA VIA VIA ".
20 --- linux-5.19/arch/x86/kernel/cpu/common.c.vanilla 2022-08-17 22:54:39.789471844 +0200
21 +++ linux-5.19/arch/x86/kernel/cpu/common.c 2022-08-17 22:58:06.073464942 +0200
22 @@ -1150,10 +1150,7 @@
24 static const __initconst struct x86_cpu_id cpu_vuln_whitelist[] = {
25 VULNWL(ANY, 4, X86_MODEL_ANY, NO_SPECULATION),
26 - VULNWL(CENTAUR, 5, X86_MODEL_ANY, NO_SPECULATION),
27 - VULNWL(INTEL, 5, X86_MODEL_ANY, NO_SPECULATION),
28 - VULNWL(NSC, 5, X86_MODEL_ANY, NO_SPECULATION),
29 - VULNWL(VORTEX, 5, X86_MODEL_ANY, NO_SPECULATION),
30 + VULNWL(ANY, 5, X86_MODEL_ANY, NO_SPECULATION),
31 VULNWL(VORTEX, 6, X86_MODEL_ANY, NO_SPECULATION),