[Skiboot] [PATCH V6 0/3] Add support for OPAL-OCC cmd/rsp interface

Shilpasri G Bhat shilpa.bhat at linux.vnet.ibm.com
Wed Jul 19 08:01:29 AEST 2017


This patchset provides support for shared memory based command
response interface between OCC and OPAL. Using this we will be able to
send commands to OCC. The following commands are supported:

1) Set power cap
2) Set power-shifting ratio (CPU/GPU)
3) Clear min/max sensor attributes for CSM/Profiler/Job-Scheduler

Shilpasri G Bhat (3):
  occ: Add support for OPAL-OCC command/response interface
  powercap: occ: Add a generic powercap framework
  occ: Add support to change power-shifting-ratio

 core/Makefile.inc  |   2 +-
 core/powercap.c    |  40 ++++
 hw/occ.c           | 618 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
 include/opal-api.h |   7 +-
 include/opal-msg.h |   2 +-
 include/powercap.h |  35 +++
 6 files changed, 697 insertions(+), 7 deletions(-)
 create mode 100644 core/powercap.c
 create mode 100644 include/powercap.h

-- 
1.8.3.1



More information about the Skiboot mailing list