summaryrefslogtreecommitdiffstats
path: root/src/include/kernel
diff options
context:
space:
mode:
authorMarty Gloff <mgloff@us.ibm.com>2018-03-28 11:00:35 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-04-09 16:38:00 -0400
commit7383c3a4fbaff710ecbefb3e9eeeae7320d9f8b1 (patch)
treefabf0c55c9f4c048b330ec60ea97e97c5f2ebaea /src/include/kernel
parent519b09db143e87b3d43f39790486f6c5dc1be96b (diff)
downloadtalos-hostboot-7383c3a4fbaff710ecbefb3e9eeeae7320d9f8b1.tar.gz
talos-hostboot-7383c3a4fbaff710ecbefb3e9eeeae7320d9f8b1.zip
Get Hostboot Dump after Hostboot Crash
When Hostboot has a TI with a PLID rather than a Reason Code (RC), HWSV does not attempt the Hostboot Dump. Thought is that happens per the design as the error log related to the PLID sent by Hostboot should already have the required information. There are instances where the error log does not have sufficient data and a dump would be beneficial. A path is being added so an error log can be flagged as needing a Hostboot dump. Change-Id: I97972308c70e7210f578fb818563bb9b0cd940b4 CQ: SW420219 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56600 CI-Ready: Daniel M. Crowell <dcrowell@us.ibm.com> CI-Ready: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@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: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/kernel')
-rw-r--r--src/include/kernel/hbterminatetypes.H5
-rw-r--r--src/include/kernel/terminate.H13
2 files changed, 15 insertions, 3 deletions
diff --git a/src/include/kernel/hbterminatetypes.H b/src/include/kernel/hbterminatetypes.H
index 6aa97e023..e95a77010 100644
--- a/src/include/kernel/hbterminatetypes.H
+++ b/src/include/kernel/hbterminatetypes.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2012,2017 */
+/* Contributors Listed Below - COPYRIGHT 2012,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -82,7 +82,8 @@ struct HB_TI_DataArea
struct {
uint64_t type:16; /**< indicates either plid or src */
uint64_t source:16; /**< Caller of the TI */
- uint64_t reserved2:16; /**< Reserved space */
+ uint64_t hbDumpFlag:1; /**< get HB dump flag */
+ uint64_t reserved2:15; /**< Reserved space */
uint64_t reserved3:16; /**< Reserved space */
};
uint64_t flag; /**< Full word - flag */
diff --git a/src/include/kernel/terminate.H b/src/include/kernel/terminate.H
index c80304d93..551f66057 100644
--- a/src/include/kernel/terminate.H
+++ b/src/include/kernel/terminate.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2012,2017 */
+/* Contributors Listed Below - COPYRIGHT 2012,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -68,4 +68,15 @@ void termModifySRC(uint8_t i_moduleID,
uint32_t i_word7 = 0,
uint32_t i_word8 = 0);
+/** @fn termSetHbDump
+ *
+ * @brief Set flag for system to get an HB dump during processing of the TI.
+ *
+ * @param[in] NONE
+ * @param[out] NONE:
+ *
+ * @return Nothing
+ */
+void termSetHbDump(void);
+
#endif
OpenPOWER on IntegriCloud