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
PowerTOP v2.8 Release
We are pleased to announce the release of PowerTOP v2.8.
PowerTOP is a Linux tool to diagnose issues with power consumption and
power management. In addition to being a diagnostic tool, PowerTOP also
has an interactive mode you can use to experiment with various power
management settings, for cases where the Linux distribution has not
enabled those settings.
PowerTOP reports which components in the system are most likely to blame
for higher-than-needed power consumption, ranging from software
applications to active components in the system. Detailed screens are
available for CPU C and P states, device activity, and software activity.
For many years, PowerTOP has been used heavily by Intel, Linux
distributors, and various parts of the open source community.
Thank you to everyone who contributed to this release!
Alexandra Yates (26):
Enable PowerTOP support for: BSW, BDW-H
bug-fix: added devices/devreq.h to Makefile
Merge remote-tracking branch 'ext_pwd/master'
Adding support to SKY platforms.
Merge branch 'ext_pwt'
Update internal repo with external mainline
Add C7- C10 support for Intel SKY
Merge branch 'pw_ext_gh'
Enabling Intel SKL support
Intel Support BSW C-States
Added SKL C7 support
Update version to PowerTOP v2.8-rc2
Merge branch 'master' of github.com:fenrus75/powertop
Revert "Assign line level based on linux name"
Fix style bugs inherited from the header and menu
David E. Box (1):
Fix Powertop support for Intel Braswell SOC
Jaroslav Škarvada (3):
Patch: Add navigation hint
Use PATH_MAX from limits.h and snprintf instead of sprintf
Improve handling of reporting filenames
More sprintf fixes
Lorenzo Pieralisi (1):
powertop: fix erroneous C state detection on ARM
Michael Mullin (1):
Powertop crashes with 'powertop --auto-tune'
Nivedita Swaminathan (1):
Additional message printed to the powertop output
Romain Naour (2):
add missing sys/time.h header
add missing stdio.h header
Sami Kerola (15):
configure: require new enough automake version
configure: use autoconf-archive ax_pthread.m4
add missing space to --version print out
csstoh.sh: check every single return value
configure: use AC_USE_SYSTEM_EXTENSIONS to determine features
move variables to protected scope
make --quiet option to suppress various info messages
add missing include
squeeze all extra bits from size of binary and html report
fix typo in message
textual: add new line to a message
powertop.m4: GCC_FORTIFY_SOURCE_CC copy idea of macro from
add timestamp to html report
main: fix incompatible operand type
configure: use autoconf-archive ax_cxx_compile_stdcxx_11.m4