summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZane Shelley <zshelle@us.ibm.com>2014-07-28 20:55:31 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-07-31 15:32:13 -0500
commit334bfbc8651d45a65102421f2d5dca87f99914cf (patch)
tree333e7a0bd72d89935f3b09ec84c79f64c6a587b8
parentf8bb2b6c7541260a24d474436cf7392313fd8938 (diff)
downloadtalos-hostboot-334bfbc8651d45a65102421f2d5dca87f99914cf.tar.gz
talos-hostboot-334bfbc8651d45a65102421f2d5dca87f99914cf.zip
PRD: Bugs initializing SDC iv_errl on init paths.
Change-Id: I1ca5a1da1a01ca96adffff52e84a42f3800b29ab CQ: SW271390 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/12494 Tested-by: Jenkins Server Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com> Reviewed-by: Christopher T. Phan <cphan@us.ibm.com> Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/12547 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
-rwxr-xr-xsrc/usr/diag/prdf/common/prdfMain_common.C6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/diag/prdf/common/prdfMain_common.C b/src/usr/diag/prdf/common/prdfMain_common.C
index f55d47fef..f7a1d40be 100755
--- a/src/usr/diag/prdf/common/prdfMain_common.C
+++ b/src/usr/diag/prdf/common/prdfMain_common.C
@@ -214,6 +214,9 @@ errlHndl_t main( ATTENTION_VALUE_TYPE i_attentionType,
ServiceGeneratorClass & serviceGenerator =
ServiceGeneratorClass::ThisServiceGenerator();
+ // Initialize the SDC error log. Required for GenerateSrcPfa() call below.
+ serviceGenerator.createInitialErrl( i_attentionType );
+
// check for something wrong
if ( g_initialized == false || rc != SUCCESS || systemPtr == NULL )
{
@@ -243,9 +246,6 @@ errlHndl_t main( ATTENTION_VALUE_TYPE i_attentionType,
serviceData.SetFlooding();
}
- // Create Initial error log
- serviceGenerator.createInitialErrl( i_attentionType );
-
int32_t analyzeRc = systemPtr->Analyze(sdc, i_attentionType);
// flush Cache to free up the memory
RegDataCache::getCachedRegisters().flush();
OpenPOWER on IntegriCloud