[Skiboot] [PATCH V2 0/2] Support runtime OCC reset/load in ZZ

Shilpasri G Bhat shilpa.bhat at linux.vnet.ibm.com
Thu Dec 7 01:17:00 AEDT 2017


This patch series provides support for runtime OCC reset/load in ZZ.
HBRT routines to reset/load/start OCC will be invoked via host
opal-prd. The FSP mbox events to reset/load/start OCC will be
forwarded to opal-prd and the status from HBRT will be returned back
to FSP.

Changes from V1:
- Add FSP specific occ reset opal_prd_msg_type to differentiate OCC
  reset from opal-prd v/s FSP-TMGT as FSP-TMGT OCC reset requires
  reset status to be returned from HBRT to FSP.
- Make OCC reset/load calls to loop over chip-ids in opal-prd in one
  shot instead of doing it per-chip. This is to reset/load the OCCs
  uniformly from one state to other.

Shilpasri G Bhat (2):
  opal-prd: Add support for runtime OCC reset in ZZ
  opal-prd: occ: Add support for runtime OCC load/start in ZZ

 core/direct-controls.c       |  27 ++++++
 core/hostservices.c          |  46 +++++++++-
 external/opal-prd/opal-prd.c | 208 ++++++++++++++++++++++++++++++++++++++++++-
 external/opal-prd/thunk.S    |   2 +-
 hw/occ.c                     | 109 +++++++++++++++++++++--
 hw/prd.c                     |  39 ++++++++
 include/cpu.h                |   1 +
 include/hostservices.h       |   3 +
 include/opal-api.h           |  13 +++
 include/skiboot.h            |   2 +
 10 files changed, 437 insertions(+), 13 deletions(-)

-- 
1.8.3.1



More information about the Skiboot mailing list