diff options
| author | Prem Shanker Jha <premjha2@in.ibm.com> | 2013-10-30 10:26:21 +0530 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-12-02 18:00:45 -0600 |
| commit | 03d39f2bbcef34ef34eabdf8e64b5cfe52f2d6f7 (patch) | |
| tree | df4e6178f334331204a90f141a86849e93bc9c05 /src/usr/diag/prdf/common/util | |
| parent | 554aa3dbb530d6da0de7c83bf23346ae5f6032eb (diff) | |
| download | talos-hostboot-03d39f2bbcef34ef34eabdf8e64b5cfe52f2d6f7.tar.gz talos-hostboot-03d39f2bbcef34ef34eabdf8e64b5cfe52f2d6f7.zip | |
PRDF:Handling multiple chips of a domain at error
Depends-On: Ib42b269d2e9fd5588b58950949c379bdc8518bfc
RTC:85138
Change-Id: Id4d785f72c928498dbcbee729e9644a8464fc0ae
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7459
Reviewed-by: Zane Shelley <zshelle@us.ibm.com>
Tested-by: Jenkins Server
Squashed: Ic871fdfb693a4cc174c72e1583a3373524277559
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14573
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf/common/util')
| -rwxr-xr-x | src/usr/diag/prdf/common/util/prdfErrorSignature.H | 8 | ||||
| -rwxr-xr-x | src/usr/diag/prdf/common/util/prdfFilters.C | 10 |
2 files changed, 17 insertions, 1 deletions
diff --git a/src/usr/diag/prdf/common/util/prdfErrorSignature.H b/src/usr/diag/prdf/common/util/prdfErrorSignature.H index f91cf19ea..9ed4cd7fd 100755 --- a/src/usr/diag/prdf/common/util/prdfErrorSignature.H +++ b/src/usr/diag/prdf/common/util/prdfErrorSignature.H @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2012,2014 */ +/* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -144,6 +146,10 @@ class ErrorSignature } /** + * @brief Returns the error code. + */ + uint16_t getErrorCode() { return iv_errCode; } + /** * @return The chip ID. */ uint32_t getChipId() const { return iv_chipId; } diff --git a/src/usr/diag/prdf/common/util/prdfFilters.C b/src/usr/diag/prdf/common/util/prdfFilters.C index 141688bf3..8d90d1637 100755 --- a/src/usr/diag/prdf/common/util/prdfFilters.C +++ b/src/usr/diag/prdf/common/util/prdfFilters.C @@ -181,6 +181,7 @@ bool FilterLink::Undo( BitKey & bit_list ) bool SecondaryBitsFilter::Apply( BitKey & io_bitList, STEP_CODE_DATA_STRUCT & io_sdc ) { + #define PRDF_FUNC "[SecondaryBitsFilter::Apply] " bool l_modified = false; do { @@ -195,9 +196,18 @@ bool SecondaryBitsFilter::Apply( BitKey & io_bitList, io_bitList.removeBits( l_key ); l_modified = true; + if( 0 == io_bitList.size() ) + { + // So, we have no primary bits on. We have one or more secondary bit + // on. + io_sdc.service_data->setSecondaryErrFlag(); + } + }while(0); return l_modified; + + #undef PRDF_FUNC } } //End namespace PRDF |

