aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Pan <jacob.jun.pan@linux.intel.com>2014-04-29 18:33:07 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-04-30 19:34:51 -0400
commita97ac35b5d9e948ccfcbc04c69e9d2c94e788e94 (patch)
treef3eeb3c504c6eeda822f87c86786981cd5fd8e88
parent9d31c676c6019df0c078950a0ddca87da4706b14 (diff)
powercap / RAPL: add new CPU IDs
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>
-rw-r--r--drivers/powercap/intel_rapl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/powercap/intel_rapl.c b/drivers/powercap/intel_rapl.c
index 1c987d20c6b8..b1cda6ffdbcc 100644
--- a/drivers/powercap/intel_rapl.c
+++ b/drivers/powercap/intel_rapl.c
@@ -951,7 +951,9 @@ static const struct x86_cpu_id rapl_ids[] = {
951 { X86_VENDOR_INTEL, 6, 0x2d},/* Sandy Bridge EP */ 951 { X86_VENDOR_INTEL, 6, 0x2d},/* Sandy Bridge EP */
952 { X86_VENDOR_INTEL, 6, 0x37},/* Valleyview */ 952 { X86_VENDOR_INTEL, 6, 0x37},/* Valleyview */
953 { X86_VENDOR_INTEL, 6, 0x3a},/* Ivy Bridge */ 953 { X86_VENDOR_INTEL, 6, 0x3a},/* Ivy Bridge */
954 { X86_VENDOR_INTEL, 6, 0x45},/* Haswell */ 954 { X86_VENDOR_INTEL, 6, 0x3c},/* Haswell */
955 { X86_VENDOR_INTEL, 6, 0x3d},/* Broadwell */
956 { X86_VENDOR_INTEL, 6, 0x45},/* Haswell ULT */
955 /* TODO: Add more CPU IDs after testing */ 957 /* TODO: Add more CPU IDs after testing */
956 {} 958 {}
957}; 959};