powercap / RAPL: add new CPU IDs
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Tue, 29 Apr 2014 22:33:07 +0000 (15:33 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 30 Apr 2014 23:34:51 +0000 (01:34 +0200)
Add support for Broadwell model 0x3d and Haswell model (0x3c).

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 1c987d20c6b8dc804ab913b8816c265d50a29a3a..b1cda6ffdbcc5f6bfc6aa5d3e4c42d44b038823b 100644 (file)
@@ -951,7 +951,9 @@ static const struct x86_cpu_id rapl_ids[] = {
        { X86_VENDOR_INTEL, 6, 0x2d},/* Sandy Bridge EP */
        { X86_VENDOR_INTEL, 6, 0x37},/* Valleyview */
        { X86_VENDOR_INTEL, 6, 0x3a},/* Ivy Bridge */
-       { X86_VENDOR_INTEL, 6, 0x45},/* Haswell */
+       { X86_VENDOR_INTEL, 6, 0x3c},/* Haswell */
+       { X86_VENDOR_INTEL, 6, 0x3d},/* Broadwell */
+       { X86_VENDOR_INTEL, 6, 0x45},/* Haswell ULT */
        /* TODO: Add more CPU IDs after testing */
        {}
 };