powercap / RAPL: Add support for Ivy Bridge server
authorXiaolong Wang <xiaolong.wang@linux.intel.com>
Fri, 24 Jun 2016 03:28:20 +0000 (11:28 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 25 Jun 2016 01:00:58 +0000 (03:00 +0200)
It's confirmed that RAPL works as expected on Ivy Bridge servers.
Tested against processor: Intel(R) Xeon(R) CPU E5-2697 v2 @2.70GHz

Signed-off-by: Xiaolong Wang <xiaolong.wang@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/powercap/intel_rapl.c

index 06d21e6d43d0b07f5f2747b3bcb86621d4ab2273..fbab29dfa7937cb615d3259634655a48052c58e5 100644 (file)
@@ -1134,6 +1134,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {
        RAPL_CPU(INTEL_FAM6_SANDYBRIDGE_X,      rapl_defaults_core),
 
        RAPL_CPU(INTEL_FAM6_IVYBRIDGE,          rapl_defaults_core),
+       RAPL_CPU(INTEL_FAM6_IVYBRIDGE_X,        rapl_defaults_core),
 
        RAPL_CPU(INTEL_FAM6_HASWELL_CORE,       rapl_defaults_core),
        RAPL_CPU(INTEL_FAM6_HASWELL_ULT,        rapl_defaults_core),