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

Shilpasri G Bhat shilpa.bhat at linux.vnet.ibm.com
Fri Jul 28 05:15:25 AEST 2017


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

Shilpasri G Bhat (8):
  occ: Add support for OPAL-OCC command/response interface
  opal-msg: Increase the max-async completion count by max chips
    possible
  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: Add CSM_{min/max} sensors
  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                                      |  42 ++
 core/sensor.c                                   |  17 +
 doc/device-tree/ibm,opal/power-mgt/powercap.rst |  48 ++
 doc/device-tree/ibm,opal/power-mgt/psr.rst      |  53 ++
 doc/device-tree/ibm,opal/sensor-groups.rst      |  40 ++
 doc/opal-api/opal-power-shift-ratio.rst         |  79 +++
 doc/opal-api/opal-powercap.rst                  |  96 ++++
 doc/opal-api/opal-sensor-group-clear-156.rst    |  42 ++
 hw/Makefile.inc                                 |   2 +-
 hw/occ-sensor.c                                 | 636 +++++++++++++++++++++
 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                               |   7 +
 20 files changed, 1903 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-power-shift-ratio.rst
 create mode 100644 doc/opal-api/opal-powercap.rst
 create mode 100644 doc/opal-api/opal-sensor-group-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