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

Signed-off-by: Gayatri Kammela <gayatri.kammela@intel.com>
Signed-off-by: Joe Konno <joe.konno@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 f1b7bcc328919e5fd51c054f9f5ec8d07a203dc6..e9e2342616c6762af2cd4f4637890f1353af9c59 100644 (file)
@@ -974,6 +974,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {
        INTEL_CPU_FAM6(KABYLAKE_DESKTOP, rapl_defaults_core),
        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(ATOM_SILVERMONT, rapl_defaults_byt),
        INTEL_CPU_FAM6(ATOM_AIRMONT, rapl_defaults_cht),