powercap/intel_rapl: Add support for Ivy Bridge server
PATCH 1/1 powercap/intel_rapl: Add support for Ivy Bridge server
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 <[email protected]>
--- drivers/powercap/intel_rapl.c | 1 + 1 file changed, 1 insertion(+)
drivers/powercap/intel_rapl.c +1 -0
@@ -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),
Signature · 1 line
1.8.3.1
Quoted 4 lines · On Thu, 23 Jun 2016 15:33:24 +0800 Xiaolong Wang…
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 <[email protected]>
looks good to me but please always send to lkml as well.
Quoted 17 lines
--- drivers/powercap/intel_rapl.c | 1 + 1 file changed, 1 insertion(+)(quoted diff) +0
-0
b/drivers/powercap/intel_rapl.cindex 06d21e6..fbab29d 100644drivers/powercap/intel_rapl.c +1
-0@@ -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),
Quoted 8 lines · Jacob Pan
Quoted 4 lines · On Thu, 23 Jun 2016 15:33:24 +0800 Xiaolong Wang…
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 <[email protected]>looks good to me but please always send to lkml as well.
Patch applied, thanks!