summaryrefslogtreecommitdiffstats
path: root/src/kernel
diff options
context:
space:
mode:
authorMarty Gloff <mgloff@us.ibm.com>2018-05-10 16:58:43 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-05-13 22:45:35 -0400
commitf5024f66d08a343a40c452d9d86da1cf49998e14 (patch)
tree1fbd19dcea7dc8e413d018032b315ba853eee6c4 /src/kernel
parent359102f7aaaa3d852a07f1f5045b4587e772c555 (diff)
downloadtalos-hostboot-f5024f66d08a343a40c452d9d86da1cf49998e14.tar.gz
talos-hostboot-f5024f66d08a343a40c452d9d86da1cf49998e14.zip
Set HB Dump Flag in TI Data on any TI with SRC
Rather than rely on HWSV code to recognize there is a TI with SRC, and so do a Hostboot dump, just always set the flag in the TI with SRC data that will request that HWSV to do the HB dump. Change-Id: Ia7b64b924e7ad8bbbacd4bdc244efaddcaacf148 CQ: SW427305 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58675 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian E. Bakke <bbakke@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@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/kernel')
-rw-r--r--src/kernel/terminate.C2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel/terminate.C b/src/kernel/terminate.C
index 499fd96b9..0f8db9ea4 100644
--- a/src/kernel/terminate.C
+++ b/src/kernel/terminate.C
@@ -71,9 +71,11 @@ void termWriteSRC(uint16_t i_source, uint16_t i_reasoncode,uint64_t i_failAddr,
uint32_t i_error_data)
{
// Update the TI structure with the type of TI, who called,
+ // and indicator flag for doing HB dump
// and extra error data (if applicable, otherwise 0)
kernel_TIDataArea.type = TI_WITH_SRC;
kernel_TIDataArea.source = i_source;
+ kernel_TIDataArea.hbDumpFlag = 1;
kernel_TIDataArea.error_data = i_error_data;
// Update TID data area with the SRC info we have avail
OpenPOWER on IntegriCloud