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

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 bca9620b5d381674c382c10431ba33f4e51ce9cb..a5eddfbb02309d834aa9320d10d021330a421c7b 100644 (file)
@@ -1096,6 +1096,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {
        RAPL_CPU(0x3f, rapl_defaults_hsw_server),/* Haswell servers */
        RAPL_CPU(0x4f, rapl_defaults_hsw_server),/* Broadwell servers */
        RAPL_CPU(0x45, rapl_defaults_core),/* Haswell ULT */
+       RAPL_CPU(0x47, rapl_defaults_core),/* Broadwell-H */
        RAPL_CPU(0x4E, rapl_defaults_core),/* Skylake */
        RAPL_CPU(0x4C, rapl_defaults_cht),/* Braswell/Cherryview */
        RAPL_CPU(0x4A, rapl_defaults_tng),/* Tangier */