powercap/intel_rapl: add support for Cometlake desktop
authorZhang Rui <rui.zhang@intel.com>
Thu, 31 Oct 2019 13:18:12 +0000 (21:18 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 4 Nov 2019 11:31:25 +0000 (12:31 +0100)
Add CometLake desktop support in intel_rapl driver

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/powercap/intel_rapl_common.c

index cc1e82d..a67701e 100644 (file)
@@ -979,6 +979,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {
        INTEL_CPU_FAM6(ICELAKE_X, rapl_defaults_hsw_server),
        INTEL_CPU_FAM6(ICELAKE_D, rapl_defaults_hsw_server),
        INTEL_CPU_FAM6(COMETLAKE_L, rapl_defaults_core),
+       INTEL_CPU_FAM6(COMETLAKE, rapl_defaults_core),
 
        INTEL_CPU_FAM6(ATOM_SILVERMONT, rapl_defaults_byt),
        INTEL_CPU_FAM6(ATOM_AIRMONT, rapl_defaults_cht),