Skip to content

powerpc powernv platform support

Stewart Smith powertop 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2cpu: support powerpc /proc/cpuinfosrc/cpu/cpu.cpp+7 -130 replies
2/2Add support for power consumption sensors through opal-sensors sysfssrc/Makefile.am src/measurement/measurement.cpp src/measurement/opal-sensors.cpp +1 more+107 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Powertop] [PATCH 0/2] powerpc powernv platform support

Hi!

These two patches get powertop to work on current powernv machines.

These are POWER8 based systems from IBM (and others) running OPAL firmware.

The first patch correctly parses /proc/cpuinfo so information about processors and pstates is displayed (at all).

The second uses the existing userspace interface for getting power consumption.

Stewart Smith (2):
cpu: support powerpc /proc/cpuinfo
Add support for power consumption sensors through opal-sensors sysfs

 src/Makefile.am                  |  2 ++
 src/cpu/cpu.cpp                  | 20 ++++++----------
 src/measurement/measurement.cpp  | 14 +++++++++++
 src/measurement/opal-sensors.cpp | 50 ++++++++++++++++++++++++++++++++++++++++
 src/measurement/opal-sensors.h   | 41 ++++++++++++++++++++++++++++++++
 5 files changed, 114 insertions(+), 13 deletions(-)
 create mode 100644 src/measurement/opal-sensors.cpp
 create mode 100644 src/measurement/opal-sensors.h
Signature · 1 line
2.1.4