]> git.baikalelectronics.ru Git - kernel.git/commit
x86/spectre: Add missing family 6 check to microcode check
authorAndi Kleen <ak@linux.intel.com>
Fri, 24 Aug 2018 17:03:51 +0000 (10:03 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 27 Aug 2018 08:29:14 +0000 (10:29 +0200)
commitcc35512a2d9dfc07ff30198228dbfa5a8cb90f93
tree261ba0e0a984f93391c465b25d6170e2f7ea413a
parentf030a7bb7b1f7de16c1c716a587185e209e25800
x86/spectre: Add missing family 6 check to microcode check

The check for Spectre microcodes does not check for family 6, only the
model numbers.

Add a family 6 check to avoid ambiguity with other families.

Fixes: 931a78fb8a63 ("x86/cpufeature: Blacklist SPEC_CTRL/PRED_CMD on early Spectre v2 microcodes")
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: x86@kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20180824170351.34874-2-andi@firstfloor.org
arch/x86/kernel/cpu/intel.c