Skip to contentSkip to conversation

powercap / RAPL: Add Knights Mill CPUID

PATCH New Piotr Luc 1 participant 1 message Oct 12, 2016 Power management core

lore
Share & tools
lore

Piotr Luc

author
#0 lore raw

PATCH 1/1 powercap / RAPL: Add Knights Mill CPUID

Add Knights Mill (KNM) to the list of CPUIDs supported by intel_rapl

---
Depends-on: x86/cpu/intel: Add Knights Mill to Intel family
https://lkml.kernel.org/r/20161012180520.30976-1-piotr.luc () intel ! com

 drivers/powercap/intel_rapl.c | 1 +
 1 file changed, 1 insertion(+)
drivers/powercap/intel_rapl.c +1 -0
index fbab29d..6a58ff7 100644
@@ -1160,6 +1160,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {
 	RAPL_CPU(INTEL_FAM6_ATOM_DENVERTON,	rapl_defaults_core),
 
 	RAPL_CPU(INTEL_FAM6_XEON_PHI_KNL,	rapl_defaults_hsw_server),
+	RAPL_CPU(INTEL_FAM6_XEON_PHI_KNM,	rapl_defaults_hsw_server),
 	{}
 };
 MODULE_DEVICE_TABLE(x86cpu, rapl_ids);
Signature · 1 line
2.10.1