From: Piotr Luc Date: Thu, 13 Oct 2016 15:31:04 +0000 (+0200) Subject: powercap / RAPL: Add Knights Mill CPUID X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bd9089162d8002666f734dd18552c7297118fec3;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git powercap / RAPL: Add Knights Mill CPUID Add Knights Mill (KNM) to the list of CPUIDs supported by intel_rapl Signed-off-by: Piotr Luc Reviewed-by: Dave Hansen Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/powercap/intel_rapl.c b/drivers/powercap/intel_rapl.c index f6937d0b742e..9a25110c4a46 100644 --- a/drivers/powercap/intel_rapl.c +++ b/drivers/powercap/intel_rapl.c @@ -1167,6 +1167,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);