diff options
author | Mike Jones <mjjones@us.ibm.com> | 2014-01-29 10:10:21 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-02-06 17:32:23 -0600 |
commit | 78db12452b19b1ff6416c71c6eefddc49419bfcf (patch) | |
tree | 693293b2d8d7385c4ab583e06b40c5a2e035861d /src/usr | |
parent | 6d500aef5e2d8b9017495f7c9abe23d2feac9516 (diff) | |
download | talos-hostboot-78db12452b19b1ff6416c71c6eefddc49419bfcf.tar.gz talos-hostboot-78db12452b19b1ff6416c71c6eefddc49419bfcf.zip |
Istep error PLID should match EID of the first real error
Change-Id: Ibfe0a2b2b3b27955bcc65dd593ca1a7fc6c2d76a
RTC: 94663
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/8424
Tested-by: Jenkins Server
Reviewed-by: Brian H. Horton <brianh@linux.ibm.com>
Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com>
Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/hwpf/hwp/hwpisteperror.C | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/usr/hwpf/hwp/hwpisteperror.C b/src/usr/hwpf/hwp/hwpisteperror.C index fd6fa648c..72ec16882 100644 --- a/src/usr/hwpf/hwp/hwpisteperror.C +++ b/src/usr/hwpf/hwp/hwpisteperror.C @@ -5,7 +5,7 @@ /* */ /* IBM CONFIDENTIAL */ /* */ -/* COPYRIGHT International Business Machines Corp. 2012,2013 */ +/* COPYRIGHT International Business Machines Corp. 2012,2014 */ /* */ /* p1 */ /* */ @@ -64,23 +64,25 @@ void IStepError::addErrorDetails( const errlHndl_t i_err ) * for reason. * */ - iv_eHandle = new ERRORLOG::ErrlEntry(ERRORLOG::ERRL_SEV_UNRECOVERABLE, ISTEP_REPORTING_ERROR, ISTEP_FAILURE, data1, data2); + + // Set the PLID of this istep elog to match the first error + iv_eHandle->plid(i_err->plid()); } - else // just increment error count + else { // retrieve iStep and subStep uint32_t l_iStepSubStep = (iv_eHandle->getUserData2() & 0xFFFFFFFF); // update the error count and keep iStep/subStep in user data word 1 uint64_t l_data2 = TWO_UINT32_TO_UINT64 (iv_errorCount,l_iStepSubStep); iv_eHandle->addUserData2(l_data2); - } - // set the plid of the input elog to match the istep elog - i_err->plid( iv_eHandle->plid() ); + // set the plid of the input elog to match the first and istep elog + i_err->plid( iv_eHandle->plid() ); + } // grab the istep's trace and add to the input elog i_err->collectTrace("ISTEPS_TRACE", 1024); |