powercap / RAPL: add ID for Broadwell server
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Tue, 7 Apr 2015 12:50:35 +0000 (05:50 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 11 Apr 2015 00:17:19 +0000 (02:17 +0200)
Validated RAPL functions on this platform. Add support to driver.

Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/powercap/intel_rapl.c

index 63d4033eb683868738dedca38e838fe7e4b56cea..678ac8c178b2dd4a4048b3d7159218ba0a205044 100644 (file)
@@ -1062,6 +1062,7 @@ static const struct x86_cpu_id rapl_ids[] = {
        RAPL_CPU(0x3c, rapl_defaults_core),/* Haswell */
        RAPL_CPU(0x3d, rapl_defaults_core),/* Broadwell */
        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(0x4C, rapl_defaults_atom),/* Braswell */
        RAPL_CPU(0x4A, rapl_defaults_atom),/* Tangier */