aboutsummaryrefslogtreecommitdiffstats
path: root/intel.c
diff options
context:
space:
mode:
authorLukasz Anaczkowski <lukasz.anaczkowski@intel.com>2015-04-23 09:48:43 +0200
committerAndi Kleen <ak@linux.intel.com>2015-04-28 19:04:12 +0200
commit9b6338406adb79c3181fc0e1cc771c0b37d7273f (patch)
tree9c6be6ad43b8471dff012a1caf57b7aa62b5d35f /intel.c
parent065adc4a632a090a7b82c3043517a96b15f6cb5e (diff)
downloadmcelog-9b6338406adb79c3181fc0e1cc771c0b37d7273f.tar.gz
Added Knights Landing (Xeon Phi) supportv116
Signed-off-by: Lukasz Anaczkowski <lukasz.anaczkowski@intel.com> Signed-off-by: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'intel.c')
-rw-r--r--intel.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/intel.c b/intel.c
index 30e133e..f893be5 100644
--- a/intel.c
+++ b/intel.c
@@ -34,7 +34,8 @@ void intel_cpu_init(enum cputype cpu)
if (cpu == CPU_NEHALEM || cpu == CPU_XEON75XX || cpu == CPU_INTEL ||
cpu == CPU_SANDY_BRIDGE || cpu == CPU_SANDY_BRIDGE_EP ||
cpu == CPU_IVY_BRIDGE || cpu == CPU_IVY_BRIDGE_EPEX ||
- cpu == CPU_HASWELL || cpu == CPU_HASWELL_EPEX || cpu == CPU_BROADWELL)
+ cpu == CPU_HASWELL || cpu == CPU_HASWELL_EPEX || cpu == CPU_BROADWELL ||
+ cpu == CPU_KNIGHTS_LANDING)
memory_error_support = 1;
}
@@ -74,6 +75,8 @@ enum cputype select_intel_cputype(int family, int model)
return CPU_HASWELL_EPEX;
else if (model == 0x3d || model == 0x56)
return CPU_BROADWELL;
+ else if (model == 0x57)
+ return CPU_KNIGHTS_LANDING;
else if (model == 0x1c || model == 0x26 || model == 0x27 ||
model == 0x35 || model == 0x36 || model == 0x36 ||
model == 0x37 || model == 0x4a || model == 0x4c ||