summaryrefslogtreecommitdiffstats
path: root/src/include/runtime/interface.h
diff options
context:
space:
mode:
authorRoland Veloz <rveloz@us.ibm.com>2018-02-27 23:51:45 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-03-22 10:00:57 -0400
commit3d7aee811e82959c8f250ce8190ffb739280f6ee (patch)
tree6ad3e9e46252d8709fceee7076e3977dc8be4657 /src/include/runtime/interface.h
parent3f639460a8f1b85cdc22539675b8e2e6bae4981e (diff)
downloadtalos-hostboot-3d7aee811e82959c8f250ce8190ffb739280f6ee.tar.gz
talos-hostboot-3d7aee811e82959c8f250ce8190ffb739280f6ee.zip
Inform OPAL of the state of the SBE after an attempt to restart
Inform OPAL of the state of the SBE after an attempt to restart, either it is disabled or enabled after retry, along with the processor ID of the SBE. Change-Id: I66a58e866c602c53f41f7cdfbd798f613d3b4dab RTC:180245 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54813 Tested-by: Jenkins Server <pfd-jenkins+hostboot@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: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/runtime/interface.h')
-rw-r--r--src/include/runtime/interface.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/runtime/interface.h b/src/include/runtime/interface.h
index d7ad1beba..823f44eda 100644
--- a/src/include/runtime/interface.h
+++ b/src/include/runtime/interface.h
@@ -537,6 +537,7 @@ typedef struct hostInterfaces
HBRT_FW_MSG_TYPE_ERROR_LOG = 5,
HBRT_FW_MSG_HBRT_FSP_RESP = 6,
HBRT_FW_MSG_TYPE_I2C_LOCK = 7,
+ HBRT_FW_MSG_TYPE_SBE_STATE = 8,
};
struct hbrt_fw_msg // define struct hbrt_fw_msg
@@ -594,6 +595,14 @@ typedef struct hostInterfaces
} __attribute__ ((packed)) req_i2c_lock;
// This struct is sent from HBRT with
+ // io_type set to HBRT_FW_MSG_TYPE_SBE_STATE
+ struct
+ {
+ uint64_t i_procId; // processor ID of the SBE that is disabled/enabled
+ uint64_t i_state; // state of the SBE; 0 = disabled, 1 = enabled
+ } __attribute__ ((packed)) sbe_state;
+
+ // This struct is sent from HBRT with
// io_type set to HBRT_FW_MSG_HBRT_FSP_REQ or
// HBRT_FW_MSG_HBRT_FSP_RESP
// This struct sends/receives an MBox message to the FSP
OpenPOWER on IntegriCloud