[Skiboot] [PATCH V2 0/2] Add support for OPAL-OCC cmd/rsp interface

Shilpasri G Bhat shilpa.bhat at linux.vnet.ibm.com
Tue Jun 13 21:04:37 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

Shilpasri G Bhat (2):
  occ: Add support for OPAL-OCC command/response interface
  external/opal-occ: Add usersapce wrapper for OPAL-OCC cmd/rsp
    interface

 external/opal-prd/Makefile   |   8 +-
 external/opal-prd/opal-occ.c | 320 +++++++++++++++++++++++++++++
 hw/occ.c                     | 465 ++++++++++++++++++++++++++++++++++++++++++-
 include/opal-api.h           |  82 +++++++-
 4 files changed, 868 insertions(+), 7 deletions(-)
 create mode 100644 external/opal-prd/opal-occ.c

-- 
1.8.3.1



More information about the Skiboot mailing list