projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c48c99
)
tools/power/turbostat: Add Denverton RAPL support
author
Jacob Pan
<jacob.jun.pan@linux.intel.com>
Thu, 16 Jun 2016 16:48:22 +0000
(09:48 -0700)
committer
Len Brown
<len.brown@intel.com>
Thu, 1 Dec 2016 06:33:18 +0000
(
01:33
-0500)
The Denverton CPU RAPL supports package, core, and DRAM domains.
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c
patch
|
blob
|
history
diff --git
a/tools/power/x86/turbostat/turbostat.c
b/tools/power/x86/turbostat/turbostat.c
index
16ccada
..
70a6699
100644
(file)
--- a/
tools/power/x86/turbostat/turbostat.c
+++ b/
tools/power/x86/turbostat/turbostat.c
@@
-2663,6
+2663,9
@@
void rapl_probe(unsigned int family, unsigned int model)
case 0x4D: /* AVN */
do_rapl = RAPL_PKG | RAPL_CORES;
break;
+ case 0x5f: /* DNV */
+ do_rapl = RAPL_PKG | RAPL_DRAM | RAPL_DRAM_POWER_INFO | RAPL_DRAM_PERF_STATUS | RAPL_PKG_PERF_STATUS | RAPL_PKG_POWER_INFO | RAPL_CORES_ENERGY_STATUS;
+ break;
default:
return;
}