Skip to contentSkip to conversation

x86/mce: enable PPIN for Knights Landing/Mill

PATCH Applied Piotr Luc 3 participants 4 messages Apr 8, 2017 – Apr 14, 2017

Subsystems (2)
lore
Share & tools
lore

Piotr Luc

author
#0 lore raw

PATCH 1/1 x86/mce: enable PPIN for Knights Landing/Mill

Intel Xeon Phi processors (KNL and KNM) do support PPIN as well, so we add their CPUIDs to the whitelist of supported processors. PPIN is a unique number that allows to determine origin of the CPU, from now on will be logged when an mce error occur.

---
 arch/x86/kernel/cpu/mcheck/mce_intel.c | 2 ++
 1 file changed, 2 insertions(+)
arch/x86/kernel/cpu/mcheck/mce_intel.c +2 -0
index 190b3e6..f1c44c3 100644
@@ -481,6 +481,8 @@ 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;
 
Signature · 1 line
2.10.1
maintainer Applied
#1 lore raw
Quoted 16 lines · Piotr Luc

Intel Xeon Phi processors (KNL and KNM) do support PPIN as well, so we add their CPUIDs to the whitelist of supported processors. PPIN is a unique number that allows to determine origin of the CPU, from now on will be logged when an mce error occur.

---
 arch/x86/kernel/cpu/mcheck/mce_intel.c | 2 ++
 1 file changed, 2 insertions(+)
arch/x86/kernel/cpu/mcheck/mce_intel.c +0 -0
index 190b3e6..f1c44c3 100644

arch/x86/kernel/cpu/mcheck/mce_intel.c static void intel_ppin_init(struct cpuinfo_x86 *c) · line 488

Quoted 8 lines
arch/x86/kernel/cpu/mcheck/mce_intel.c +2 -0
@@ -481,6 +481,8 @@ 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;
 

Applied, thanks.

Signature · 4 lines
Regards/Gruss,
    Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.
maintainer
#2 lore raw

PATCH 1/1 x86/mce: Enable PPIN for Knights Landing/Mill

From: Piotr Luc <[email protected]>

Intel Xeon Phi processors (KNL and KNM) do support PPIN as well, so add their CPUIDs to the whitelist of supported processors.

---
 arch/x86/kernel/cpu/mcheck/mce_intel.c | 3 +++
 1 file changed, 3 insertions(+)
arch/x86/kernel/cpu/mcheck/mce_intel.c +3 -0
index 190b3e6cef4d..e84db79ef272 100644
@@ -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;
 
#3 lore raw

[tip:ras/core] x86/mce: Enable PPIN for Knights Landing/Mill

x86/mce: Enable PPIN for Knights Landing/Mill
Commit-ID:  9ea74f7c70cd5e408f1cfbda0e6836929f820d49
Gitweb:     http://git.kernel.org/tip/9ea74f7c70cd5e408f1cfbda0e6836929f820d49
Author:     Piotr Luc <[email protected]>
AuthorDate: Thu, 13 Apr 2017 22:10:56 +0200
Committer:  Thomas Gleixner <[email protected]>
CommitDate: Fri, 14 Apr 2017 10:46:12 +0200

x86/mce: Enable PPIN for Knights Landing/Mill

Intel Xeon Phi processors (KNL and KNM) support PPIN as well, so add their CPUIDs to the whitelist of supported processors.

---
 arch/x86/kernel/cpu/mcheck/mce_intel.c | 3 +++
 1 file changed, 3 insertions(+)

--
To unsubscribe from this list: send the line "unsubscribe linux-edac" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

arch/x86/kernel/cpu/mcheck/mce_intel.c +3 -0
index 190b3e6..e84db79 100644
@@ -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;