[Skiboot] [PATCH V8 0/8] Add support for OCC sensors and cmd/rsp interface

Shilpasri G Bhat shilpa.bhat at linux.vnet.ibm.com
Fri Jul 21 21:14:32 AEST 2017


This patchset provides support for OCC inband sensors and shared
memory based command-reponse interface.

Changes from V7:
- Added documentation

Shilpasri G Bhat (8):
  occ: Add support for OPAL-OCC command/response interface
  powercap: occ: Add a generic powercap framework
  psr: occ: Add support to change power-shifting-ratio
  sensors: occ: Add support for OCC inband sensors
  sensors: occ: Send CSM_{min/max} on min/max sensor read
  sensors: occ: Fix the sensor label for core temperature
  sensors: occ: Skip the deconfigured core sensors
  sensors: occ: Add support to clear sensor groups

 core/Makefile.inc                               |   2 +-
 core/init.c                                     |   1 +
 core/powercap.c                                 |  40 ++
 core/psr.c                                      |  40 ++
 core/sensor.c                                   |  17 +
 doc/device-tree/ibm,opal/power-mgt/powercap.rst |  38 ++
 doc/device-tree/ibm,opal/power-mgt/psr.rst      |  41 ++
 doc/device-tree/ibm,opal/sensor-groups.rst      |  33 ++
 doc/opal-api/opal-powercap.rst                  |  77 +++
 doc/opal-api/opal-psr.rst                       |  74 +++
 doc/opal-api/opal-sensor-groups-clear-156.rst   |  42 ++
 hw/Makefile.inc                                 |   2 +-
 hw/occ-sensor.c                                 | 614 +++++++++++++++++++++
 hw/occ.c                                        | 706 +++++++++++++++++++++++-
 include/opal-api.h                              |   8 +-
 include/opal-msg.h                              |   2 +-
 include/powercap.h                              |  43 ++
 include/psr.h                                   |  46 ++
 include/sensor.h                                |   1 +
 include/skiboot.h                               |   6 +
 20 files changed, 1825 insertions(+), 8 deletions(-)
 create mode 100644 core/powercap.c
 create mode 100644 core/psr.c
 create mode 100644 doc/device-tree/ibm,opal/power-mgt/powercap.rst
 create mode 100644 doc/device-tree/ibm,opal/power-mgt/psr.rst
 create mode 100644 doc/device-tree/ibm,opal/sensor-groups.rst
 create mode 100644 doc/opal-api/opal-powercap.rst
 create mode 100644 doc/opal-api/opal-psr.rst
 create mode 100644 doc/opal-api/opal-sensor-groups-clear-156.rst
 create mode 100644 hw/occ-sensor.c
 create mode 100644 include/powercap.h
 create mode 100644 include/psr.h

-- 
1.8.3.1



More information about the Skiboot mailing list