[Skiboot] [PATCH V2 0/4] sensors: occ: Add energy counter and fixes for parsing sensors
Shilpasri G Bhat
shilpa.bhat at linux.vnet.ibm.com
Fri Dec 15 18:20:59 AEDT 2017
This series adds support for reading u64 sensor values and provides
fixes to filter out de-configured cores.
Shilpasri G Bhat (4):
sensors: Support reading u64 sensor values
sensors: occ: Add energy counters
sensors: occ: Scale the sensor values
sensors: occ: Filter out de-configured sensors
core/sensor.c | 78 +++++++-
doc/opal-api/opal-sensor-read-u64-158.rst | 16 ++
hw/dts.c | 9 +-
hw/fsp/fsp-sensor.c | 7 +-
hw/occ-sensor.c | 312 +++++++++++++++++++++++-------
include/cpu.h | 2 +-
include/dts.h | 2 +-
include/fsp.h | 2 +-
include/opal-api.h | 3 +-
include/platform.h | 2 +-
include/sensor.h | 1 +
include/skiboot.h | 2 +-
platforms/ibm-fsp/common.c | 2 +-
platforms/ibm-fsp/ibm-fsp.h | 2 +-
14 files changed, 348 insertions(+), 92 deletions(-)
create mode 100644 doc/opal-api/opal-sensor-read-u64-158.rst
--
1.8.3.1
More information about the Skiboot
mailing list