powercap/intel_rapl: add support for ICX
authorZhang Rui <rui.zhang@intel.com>
Wed, 10 Jul 2019 13:44:36 +0000 (21:44 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 11 Jul 2019 13:08:58 +0000 (15:08 +0200)
Add ICX support in intel_rapl driver

Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@linux.intel.com>
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 e9e2342616c6762af2cd4f4637890f1353af9c59..3a5440d90017f4cee1b17abaea5ede2f959c4730 100644 (file)
@@ -975,6 +975,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {
        INTEL_CPU_FAM6(CANNONLAKE_MOBILE, rapl_defaults_core),
        INTEL_CPU_FAM6(ICELAKE_MOBILE, rapl_defaults_core),
        INTEL_CPU_FAM6(ICELAKE_DESKTOP, rapl_defaults_core),
+       INTEL_CPU_FAM6(ICELAKE_X, rapl_defaults_hsw_server),
 
        INTEL_CPU_FAM6(ATOM_SILVERMONT, rapl_defaults_byt),
        INTEL_CPU_FAM6(ATOM_AIRMONT, rapl_defaults_cht),