From: Jacob Pan Date: Tue, 14 Jun 2016 00:02:28 +0000 (-0700) Subject: powercap / RAPL: add support for Denverton X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ab0d15dfcfcaed2c791d65fe847bcc46d672bac1;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git powercap / RAPL: add support for Denverton Denverton micro server is Atom-based, but its RAPL interface is compatible with Core-based CPUs. Signed-off-by: Jacob Pan Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/powercap/intel_rapl.c b/drivers/powercap/intel_rapl.c index 0975027233ab..06d21e6d43d0 100644 --- a/drivers/powercap/intel_rapl.c +++ b/drivers/powercap/intel_rapl.c @@ -1156,6 +1156,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = { RAPL_CPU(INTEL_FAM6_ATOM_MERRIFIELD1, rapl_defaults_tng), RAPL_CPU(INTEL_FAM6_ATOM_MERRIFIELD2, rapl_defaults_ann), RAPL_CPU(INTEL_FAM6_ATOM_GOLDMONT, rapl_defaults_core), + RAPL_CPU(INTEL_FAM6_ATOM_DENVERTON, rapl_defaults_core), RAPL_CPU(INTEL_FAM6_XEON_PHI_KNL, rapl_defaults_hsw_server), {}