projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32b40a8
)
x86/mce: Enable PPIN for Knights Landing/Mill
author
Piotr Luc
<piotr.luc@intel.com>
Thu, 13 Apr 2017 20:10:56 +0000
(22:10 +0200)
committer
Thomas Gleixner
<tglx@linutronix.de>
Fri, 14 Apr 2017 08:46:12 +0000
(10:46 +0200)
Intel Xeon Phi processors (KNL and KNM) support PPIN as well, so add their
CPUIDs to the whitelist of supported processors.
Signed-off-by: Piotr Luc <piotr.luc@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link:
http://lkml.kernel.org/r/20170408172004.8463-1-piotr.luc@intel.com
Link:
http://lkml.kernel.org/r/20170413201056.10525-1-bp@alien8.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/cpu/mcheck/mce_intel.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/cpu/mcheck/mce_intel.c
b/arch/x86/kernel/cpu/mcheck/mce_intel.c
index 190b3e6cef4d1e1af17c5c77a4ad94e63ed662e3..e84db79ef27277ba9c78232f162262726afb3825 100644
(file)
--- a/
arch/x86/kernel/cpu/mcheck/mce_intel.c
+++ b/
arch/x86/kernel/cpu/mcheck/mce_intel.c
@@
-481,6
+481,9
@@
static void intel_ppin_init(struct cpuinfo_x86 *c)
case INTEL_FAM6_BROADWELL_XEON_D:
case INTEL_FAM6_BROADWELL_X:
case INTEL_FAM6_SKYLAKE_X:
+ case INTEL_FAM6_XEON_PHI_KNL:
+ case INTEL_FAM6_XEON_PHI_KNM:
+
if (rdmsrl_safe(MSR_PPIN_CTL, &val))
return;