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

Shilpasri G Bhat shilpa.bhat at linux.vnet.ibm.com
Mon Jun 26 15:17:30 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 (3):
  opal-msg: Add support to increase async completions and msg_free_list
  occ: Add support for OPAL-OCC command/response interface
  external/opal-occ: Add usersapce wrapper for OPAL-OCC cmd/rsp
    interface

 core/init.c                  |   2 +
 core/opal-msg.c              |  22 ++-
 core/opal.c                  |   1 -
 external/opal-prd/Makefile   |   8 +-
 external/opal-prd/opal-occ.c | 320 +++++++++++++++++++++++++++++++++
 hw/occ.c                     | 415 ++++++++++++++++++++++++++++++++++++++++++-
 include/opal-api.h           |  82 ++++++++-
 include/opal-msg.h           |   3 +
 8 files changed, 843 insertions(+), 10 deletions(-)
 create mode 100644 external/opal-prd/opal-occ.c

-- 
1.8.3.1



More information about the Skiboot mailing list