]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/4.14.21/x86-speculation-update-speculation-control-microcode-blacklist.patch
fixes for 4.19
[thirdparty/kernel/stable-queue.git] / releases / 4.14.21 / x86-speculation-update-speculation-control-microcode-blacklist.patch
CommitLineData
67d0dc37
GKH
1From 1751342095f0d2b36fa8114d8e12c5688c455ac4 Mon Sep 17 00:00:00 2001
2From: David Woodhouse <dwmw@amazon.co.uk>
3Date: Sat, 10 Feb 2018 23:39:22 +0000
4Subject: x86/speculation: Update Speculation Control microcode blacklist
5
6From: David Woodhouse <dwmw@amazon.co.uk>
7
8commit 1751342095f0d2b36fa8114d8e12c5688c455ac4 upstream.
9
10Intel have retroactively blessed the 0xc2 microcode on Skylake mobile
11and desktop parts, and the Gemini Lake 0x22 microcode is apparently fine
12too. We blacklisted the latter purely because it was present with all
13the other problematic ones in the 2018-01-08 release, but now it's
14explicitly listed as OK.
15
16We still list 0x84 for the various Kaby Lake / Coffee Lake parts, as
17that appeared in one version of the blacklist and then reverted to
180x80 again. We can change it if 0x84 is actually announced to be safe.
19
20Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
21Cc: Andy Lutomirski <luto@kernel.org>
22Cc: Arjan van de Ven <arjan@linux.intel.com>
23Cc: Borislav Petkov <bp@alien8.de>
24Cc: Dan Williams <dan.j.williams@intel.com>
25Cc: Dave Hansen <dave.hansen@linux.intel.com>
26Cc: David Woodhouse <dwmw2@infradead.org>
27Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
28Cc: Josh Poimboeuf <jpoimboe@redhat.com>
29Cc: Linus Torvalds <torvalds@linux-foundation.org>
30Cc: Peter Zijlstra <peterz@infradead.org>
31Cc: Thomas Gleixner <tglx@linutronix.de>
32Cc: arjan.van.de.ven@intel.com
33Cc: jmattson@google.com
34Cc: karahmed@amazon.de
35Cc: kvm@vger.kernel.org
36Cc: pbonzini@redhat.com
37Cc: rkrcmar@redhat.com
38Cc: sironi@amazon.de
39Link: http://lkml.kernel.org/r/1518305967-31356-2-git-send-email-dwmw@amazon.co.uk
40Signed-off-by: Ingo Molnar <mingo@kernel.org>
41Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
42
43---
44 arch/x86/kernel/cpu/intel.c | 4 ----
45 1 file changed, 4 deletions(-)
46
47--- a/arch/x86/kernel/cpu/intel.c
48+++ b/arch/x86/kernel/cpu/intel.c
49@@ -123,8 +123,6 @@ static const struct sku_microcode spectr
50 { INTEL_FAM6_KABYLAKE_MOBILE, 0x09, 0x84 },
51 { INTEL_FAM6_SKYLAKE_X, 0x03, 0x0100013e },
52 { INTEL_FAM6_SKYLAKE_X, 0x04, 0x0200003c },
53- { INTEL_FAM6_SKYLAKE_MOBILE, 0x03, 0xc2 },
54- { INTEL_FAM6_SKYLAKE_DESKTOP, 0x03, 0xc2 },
55 { INTEL_FAM6_BROADWELL_CORE, 0x04, 0x28 },
56 { INTEL_FAM6_BROADWELL_GT3E, 0x01, 0x1b },
57 { INTEL_FAM6_BROADWELL_XEON_D, 0x02, 0x14 },
58@@ -136,8 +134,6 @@ static const struct sku_microcode spectr
59 { INTEL_FAM6_HASWELL_X, 0x02, 0x3b },
60 { INTEL_FAM6_HASWELL_X, 0x04, 0x10 },
61 { INTEL_FAM6_IVYBRIDGE_X, 0x04, 0x42a },
62- /* Updated in the 20180108 release; blacklist until we know otherwise */
63- { INTEL_FAM6_ATOM_GEMINI_LAKE, 0x01, 0x22 },
64 /* Observed in the wild */
65 { INTEL_FAM6_SANDYBRIDGE_X, 0x06, 0x61b },
66 { INTEL_FAM6_SANDYBRIDGE_X, 0x07, 0x712 },