x86/mce: enable PPIN for Knights Landing/Mill
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
@@ -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
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.
Signed-off-by Piotr Luc <[email protected]>--- arch/x86/kernel/cpu/mcheck/mce_intel.c | 2 ++ 1 file changed, 2 insertions(+)arch/x86/kernel/cpu/mcheck/mce_intel.c +0
-0
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.Borislav Petkov
maintainerPATCH 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
@@ -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 ;
tip-bot for Piotr Luc
merge bot[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
@@ -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 ;