[Skiboot] [PATCH V3 0/2] Support runtime OCC reset/load in ZZ
Shilpasri G Bhat
shilpa.bhat at linux.vnet.ibm.com
Thu Dec 7 16:22:27 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 V2:
- Dont use cpu->special_wakeup_count for tracking core special wakeup
in P9, instead use cpu->hbrt_spec_wakeup which was already used in P8.
As clearing cpu->special_wakeup_count on host services request to clear
all previous special wakeups, will clear out all other users special
wakeup requests.
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/hostservices.c | 41 ++++++---
external/opal-prd/opal-prd.c | 208 ++++++++++++++++++++++++++++++++++++++++++-
external/opal-prd/thunk.S | 2 +-
hw/occ.c | 109 +++++++++++++++++++++--
hw/prd.c | 39 ++++++++
include/hostservices.h | 3 +
include/opal-api.h | 13 +++
include/skiboot.h | 2 +
8 files changed, 392 insertions(+), 25 deletions(-)
--
1.8.3.1
More information about the Skiboot
mailing list