powercap/intel_rapl: add Ice Lake mobile
authorGayatri Kammela <gayatri.kammela@intel.com>
Mon, 18 Feb 2019 07:01:02 +0000 (15:01 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 18 Feb 2019 10:31:39 +0000 (11:31 +0100)
Add Ice Lake mobile support to 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.c

index 393463eb157f5e7dc0c3939e5ca2bb3682903464..4347f15165f88de8a32d8cc668e3b43ea0e60e7b 100644 (file)
@@ -1156,6 +1156,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {
        INTEL_CPU_FAM6(KABYLAKE_MOBILE,         rapl_defaults_core),
        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(ATOM_SILVERMONT,         rapl_defaults_byt),
        INTEL_CPU_FAM6(ATOM_AIRMONT,            rapl_defaults_cht),