powercap / RAPL: Add support for Skylake H/S
authorRadivoje Jovanovic <radivoje.jovanovic@intel.com>
Fri, 31 Jul 2015 15:07:10 +0000 (08:07 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 1 Aug 2015 00:05:57 +0000 (02:05 +0200)
This patche enabled RAPL to support Intel Skylake H/S

Signed-off-by: Radivoje Jovanovic <radivoje.jovanovic@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/powercap/intel_rapl.c

index 482b22ddc7b2cc424da112aafa6b17065e75d927..bca9620b5d381674c382c10431ba33f4e51ce9cb 100644 (file)
@@ -1101,6 +1101,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {
        RAPL_CPU(0x4A, rapl_defaults_tng),/* Tangier */
        RAPL_CPU(0x56, rapl_defaults_core),/* Future Xeon */
        RAPL_CPU(0x5A, rapl_defaults_ann),/* Annidale */
+       RAPL_CPU(0x5E, rapl_defaults_core),/* Skylake-H/S */
        RAPL_CPU(0x57, rapl_defaults_hsw_server),/* Knights Landing */
        {}
 };