Skip to content

Commit

Permalink
Set HB Dump Flag in TI Data on any TI with SRC
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mgloff authored and dcrowell77 committed May 14, 2018
1 parent 359102f commit f5024f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/kernel/terminate.C
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f5024f6

Please sign in to comment.