summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/plat/prdfPlatServices.C
diff options
context:
space:
mode:
authorZane Shelley <zshelle@us.ibm.com>2017-05-16 12:58:12 -0500
committerZane C. Shelley <zshelle@us.ibm.com>2017-05-16 16:31:45 -0400
commit00acbb66f9438d398eac9cd2bf5ea797adab3092 (patch)
tree5118f144ed81559eae5c2aec9f2e64ee39028cc9 /src/usr/diag/prdf/plat/prdfPlatServices.C
parent5e0a421e8def710dc0e30d63ad073412bafbf196 (diff)
downloadtalos-hostboot-00acbb66f9438d398eac9cd2bf5ea797adab3092.tar.gz
talos-hostboot-00acbb66f9438d398eac9cd2bf5ea797adab3092.zip
MDIA: set stop-on-AUE during Memory Diagnostics
Change-Id: I58b66927be32e2fa876427775626c03ac8b5cd52 CQ: SW389142 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40578 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf/plat/prdfPlatServices.C')
-rw-r--r--src/usr/diag/prdf/plat/prdfPlatServices.C14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/usr/diag/prdf/plat/prdfPlatServices.C b/src/usr/diag/prdf/plat/prdfPlatServices.C
index 6e0c3878b..d7e970a68 100644
--- a/src/usr/diag/prdf/plat/prdfPlatServices.C
+++ b/src/usr/diag/prdf/plat/prdfPlatServices.C
@@ -402,7 +402,7 @@ uint32_t startBgScrub<TYPE_MCBIST>( ExtensibleChip * i_mcaChip,
uint32_t __startTdScrub_mca( ExtensibleChip * i_mcaChip,
mss::mcbist::address i_saddr,
mss::mcbist::address i_eaddr,
- const mss::mcbist::stop_conditions & i_stopCond )
+ mss::mcbist::stop_conditions & i_stopCond )
{
#define PRDF_FUNC "[PlatServices::__startTdScrub_mca] "
@@ -426,6 +426,10 @@ uint32_t __startTdScrub_mca( ExtensibleChip * i_mcaChip,
break;
}
+ // Set stop-on-AUE for all target scrubs. See explanation in
+ // startBgScrub() for the reasons why.
+ i_stopCond.set_pause_on_aue(mss::ON);
+
// Start the super fast read command.
errlHndl_t errl;
FAPI_INVOKE_HWP( errl, memdiags::targeted_scrub, fapiTrgt, i_stopCond,
@@ -449,8 +453,8 @@ uint32_t __startTdScrub_mca( ExtensibleChip * i_mcaChip,
//------------------------------------------------------------------------------
uint32_t __startTdScrubMaster_mca( ExtensibleChip * i_mcaChip,
- const MemRank & i_rank,
- const mss::mcbist::stop_conditions & i_stopCond )
+ const MemRank & i_rank,
+ mss::mcbist::stop_conditions & i_stopCond )
{
// Get the address rank of the master rank.
uint32_t port = i_mcaChip->getPos() % MAX_MCA_PER_MCBIST;
@@ -466,8 +470,8 @@ uint32_t __startTdScrubMaster_mca( ExtensibleChip * i_mcaChip,
//------------------------------------------------------------------------------
uint32_t __startTdScrubSlave_mca( ExtensibleChip * i_mcaChip,
- const MemRank & i_rank,
- const mss::mcbist::stop_conditions & i_stopCond )
+ const MemRank & i_rank,
+ mss::mcbist::stop_conditions & i_stopCond )
{
// Get the address rank of the slave rank.
uint32_t port = i_mcaChip->getPos() % MAX_MCA_PER_MCBIST;
OpenPOWER on IntegriCloud