[Skiboot] [PATCH V5 0/3] Add support for OPAL-OCC cmd/rsp interface
Shilpasri G Bhat
shilpa.bhat at linux.vnet.ibm.com
Thu Jul 13 16:47:39 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 by OCC:
1) Set power cap
2) Set power-shifting ratio (CPU/GPU)
3) Clear min/max sensor attributes for CSM/Profiler/Job-Scheduler
4) Inband AMESTER pass-through commands
5) Select sensor groups to copy to main memory
Patch[3] is an RFC for powercap framework
Shilpasri G Bhat (3):
occ: Add support for OPAL-OCC command/response interface
external/opal-occ: Add usersapce wrapper for OPAL-OCC cmd/rsp
interface
powercap: occ: Add a generic powercap framework
core/Makefile.inc | 2 +-
core/powercap.c | 49 ++++
doc/opal-api/opal-occ-command-152.rst | 143 ++++++++++
external/opal-prd/Makefile | 8 +-
external/opal-prd/opal-occ.c | 333 ++++++++++++++++++++++
hw/occ.c | 522 +++++++++++++++++++++++++++++++++-
include/opal-api.h | 96 ++++++-
include/opal-msg.h | 2 +-
8 files changed, 1146 insertions(+), 9 deletions(-)
create mode 100644 core/powercap.c
create mode 100644 doc/opal-api/opal-occ-command-152.rst
create mode 100644 external/opal-prd/opal-occ.c
--
1.8.3.1
More information about the Skiboot
mailing list