powercap / RAPL: Add Knights Mill CPUID
PATCH 1/1 powercap / RAPL: Add Knights Mill CPUID
Add Knights Mill (KNM) to the list of CPUIDs supported by intel_rapl
Signed-off-by Piotr Luc <[email protected]>
Reviewed-by Dave Hansen <[email protected]>
Cc "Rafael J. Wysocki" <[email protected]>
---
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
@@ -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