summaryrefslogtreecommitdiffstats
path: root/src/usr/pnor/pnorrp.C
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2013-10-30 10:46:36 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-11-07 14:21:50 -0600
commitd61671f0c49af3bcb27ab4bc64eba1f8a9830e56 (patch)
tree0d632638af56be67d0a0ca496eaac4c51d7dfdf6 /src/usr/pnor/pnorrp.C
parent0c9b4576a852e815aa9980bf3d7dc9fdf2ce37a1 (diff)
downloadtalos-hostboot-d61671f0c49af3bcb27ab4bc64eba1f8a9830e56.tar.gz
talos-hostboot-d61671f0c49af3bcb27ab4bc64eba1f8a9830e56.zip
Allow subsequent PNOR operations after ECC errors
Change-Id: I4e66a383e088fa767849de3a1fb49800dd29a4d1 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/6965 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/pnor/pnorrp.C')
-rw-r--r--src/usr/pnor/pnorrp.C8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/usr/pnor/pnorrp.C b/src/usr/pnor/pnorrp.C
index cfb7fbd07..0f212bce5 100644
--- a/src/usr/pnor/pnorrp.C
+++ b/src/usr/pnor/pnorrp.C
@@ -152,7 +152,6 @@ void* wait_for_message( void* unused )
PnorRP::PnorRP()
: iv_msgQ(NULL)
,iv_startupRC(0)
-,iv_shutdownUE(false)
{
TRACFCOMP(g_trac_pnor, "PnorRP::PnorRP> " );
@@ -580,12 +579,6 @@ void PnorRP::waitForMessage()
switch(message->type)
{
case( MSG_MM_RP_READ ):
- // do not allow reads in the shutdown path, only writes
- if( iv_shutdownUE )
- {
- status_rc = -EIO;
- break;
- }
l_errhdl = readFromDevice( dev_offset,
chip_select,
needs_ecc,
@@ -729,7 +722,6 @@ errlHndl_t PnorRP::readFromDevice( uint64_t i_offset,
// Also need to spawn a separate task to do the shutdown
// so that the regular PNOR task can service the writes
// that happen during shutdown.
- iv_shutdownUE = true;
o_fatalError = true;
INITSERVICE::doShutdown( PNOR::RC_ECC_UE, true );
}
OpenPOWER on IntegriCloud