diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2018-09-14 10:06:12 -0500 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2018-09-19 19:15:22 -0500 |
commit | 94c4cbbc02e3f6de45cfd1eb5a3196072135d374 (patch) | |
tree | b3fb57956266002f95184fa3134c6d625457dee5 /src/include/runtime/interface.h | |
parent | 716f5fdcab1d28c9bbc1d3b8767c781d403a7ff2 (diff) | |
download | talos-hostboot-94c4cbbc02e3f6de45cfd1eb5a3196072135d374.tar.gz talos-hostboot-94c4cbbc02e3f6de45cfd1eb5a3196072135d374.zip |
Ignore wakeup failures on checkstopped cores
If a core (unit)checkstops, PHYP no longer allows wakeup operations
to take place. However, HBRT has generic logic that always does a
wakeup before doing any ec/ex/eq scom at runtime. Since PRD needs
to do those scoms to analyze the checkstop we have a problem.
The change here is for HBRT to handle a new return code from PHYP
that indicates this situation. This RC will be treated as a
success, thus allowing the subsequent scom operation to pass.
Change-Id: I4ac62129399db50f48c938b649994423c99622a5
CQ: SW444076
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66143
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Matt Derksen <mderkse1@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/include/runtime/interface.h')
-rw-r--r-- | src/include/runtime/interface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/runtime/interface.h b/src/include/runtime/interface.h index ae922d23c..c59c0d142 100644 --- a/src/include/runtime/interface.h +++ b/src/include/runtime/interface.h @@ -184,6 +184,9 @@ enum HbrtRcPiberr_t /* FSP failed due to a a reset/reload */ #define HBRT_FW_REQUEST_RETRIES 1 +/* Defined Return Codes for wakeup() */ +#define HBRT_RC_WAKEUP_INVALID_ON_CORE_XSTOP -12289 /* -0x3001 */ + /** @typedef hostInterfaces_t * @brief Interfaces provided by the underlying environment (ex. Sapphire). |