diff options
author | Zane Shelley <zshelle@us.ibm.com> | 2015-02-05 16:13:56 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2015-03-01 16:46:48 -0600 |
commit | 8d8a1ea5d113eb0760f764e391f6c9f1856244ac (patch) | |
tree | 5d5dc10db90d79af2c00e7794e655409c58bd193 /src/usr/diag/prdf/common/plat | |
parent | daf669b47a3ebf6fe8f116a25cd026b11ba9e2c6 (diff) | |
download | talos-hostboot-8d8a1ea5d113eb0760f764e391f6c9f1856244ac.tar.gz talos-hostboot-8d8a1ea5d113eb0760f764e391f6c9f1856244ac.zip |
PRD: no Dynamic Memory Deallocation on checkstop attns
Change-Id: If9323bbf3ec407f8385fce5811473d966be38527
CQ: SW293858
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15574
Reviewed-by: Zane Shelley <zshelle@us.ibm.com>
Tested-by: Jenkins Server
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16075
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf/common/plat')
-rwxr-xr-x | src/usr/diag/prdf/common/plat/pegasus/prdfCenMembuf.C | 43 |
1 files changed, 23 insertions, 20 deletions
diff --git a/src/usr/diag/prdf/common/plat/pegasus/prdfCenMembuf.C b/src/usr/diag/prdf/common/plat/pegasus/prdfCenMembuf.C index dff8a9bbf..69946f6ac 100755 --- a/src/usr/diag/prdf/common/plat/pegasus/prdfCenMembuf.C +++ b/src/usr/diag/prdf/common/plat/pegasus/prdfCenMembuf.C @@ -819,29 +819,32 @@ int32_t AnalyzeFetchUe( ExtensibleChip * i_membChip, MemoryMruData::CALLOUT_RANK ); i_sc.service_data->SetCallout( memmru ); - // Add a TPS request to the TD queue and ban any further TPS requests - // for this rank. - l_rc = mbadb->iv_tdCtlr.handleTdEvent( i_sc, rank, - CenMbaTdCtlrCommon::TPS_EVENT, - true ); - if ( SUCCESS != l_rc ) + if ( CHECK_STOP != i_sc.service_data->GetAttentionType() ) { - PRDF_ERR( PRDF_FUNC"handleTdEvent() failed: rank=m%ds%d", - rank.getMaster(), rank.getSlave() ); - // We are not adding break here as we still want to do lmbGard - // If you want to add any code after this which depends on result - // of handleTdEvent result, add the code judicially. - } + // Add a TPS request to the TD queue and ban any further TPS + // requests for this rank. + l_rc = mbadb->iv_tdCtlr.handleTdEvent( i_sc, rank, + CenMbaTdCtlrCommon::TPS_EVENT, + true ); + if ( SUCCESS != l_rc ) + { + PRDF_ERR( PRDF_FUNC"handleTdEvent() failed: rank=m%ds%d", + rank.getMaster(), rank.getSlave() ); + // We are not adding break here as we still want to do lmbGard + // If you want to add any code after this which depends on + // result of handleTdEvent result, add the code judicially. + } - #if !defined(__HOSTBOOT_MODULE) || defined(__HOSTBOOT_RUNTIME) - // Send lmb gard message to hypervisor. - int32_t lmbRc = DEALLOC::lmbGard( mbaChip, addr ); - if ( SUCCESS != lmbRc ) - { - PRDF_ERR( PRDF_FUNC"lmbGard() failed" ); - l_rc = lmbRc; break; + #if !defined(__HOSTBOOT_MODULE) || defined(__HOSTBOOT_RUNTIME) + // Send lmb gard message to hypervisor. + int32_t lmbRc = DEALLOC::lmbGard( mbaChip, addr ); + if ( SUCCESS != lmbRc ) + { + PRDF_ERR( PRDF_FUNC"lmbGard() failed" ); + l_rc = lmbRc; break; + } + #endif } - #endif } while (0); |