summaryrefslogtreecommitdiffstats
path: root/src/usr/diag/prdf/plat
diff options
context:
space:
mode:
authorCaleb Palmer <cnpalmer@us.ibm.com>2017-11-29 14:56:39 -0600
committerZane C. Shelley <zshelle@us.ibm.com>2017-12-11 17:21:27 -0500
commite212014366653c2ef4172a45f0c74b70e9db485f (patch)
tree1a59aa91e3c11a5640e8db7c130a4029eef4b20c /src/usr/diag/prdf/plat
parent8c8e212108f6c1d3fa5658fb5448341c3085c12d (diff)
downloadtalos-hostboot-e212014366653c2ef4172a45f0c74b70e9db485f.tar.gz
talos-hostboot-e212014366653c2ef4172a45f0c74b70e9db485f.zip
PRD: Fix skipping TPS ban after Maint UEs
Change-Id: Ib9c2d0506eed498038e1fc0a81d05494fa2a1b4f CQ: SW409832 Backport: release-op910 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50152 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50461 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf/plat')
-rw-r--r--src/usr/diag/prdf/plat/mem/prdfMemTps_rt.C16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/usr/diag/prdf/plat/mem/prdfMemTps_rt.C b/src/usr/diag/prdf/plat/mem/prdfMemTps_rt.C
index 324ace8f9..20d835382 100644
--- a/src/usr/diag/prdf/plat/mem/prdfMemTps_rt.C
+++ b/src/usr/diag/prdf/plat/mem/prdfMemTps_rt.C
@@ -364,19 +364,19 @@ uint32_t TpsEvent<T>::analyzeTpsPhase1_rt( STEP_CODE_DATA_STRUCT & io_sc,
// At this point, we are done with the procedure.
o_done = true;
- // If iv_ban is true, then ban TPS on this rank.
- if ( iv_ban )
- {
- // It doesn't matter what we set the value to, we just need to
- // make sure the rank exists in the map.
- getMcaDataBundle(iv_chip)->iv_tpsBans[iv_rank] = true;
- }
-
// Since TPS is complete, clear the CE table for this slave rank.
getMcaDataBundle(iv_chip)->iv_ceTable.deactivateRank( iv_rank );
}while(0);
+ // If iv_ban is true and this procedure is done, then ban TPS on this rank.
+ if ( iv_ban && o_done )
+ {
+ // It doesn't matter what we set the value to, we just need to
+ // make sure the rank exists in the map.
+ getMcaDataBundle(iv_chip)->iv_tpsBans[iv_rank] = true;
+ }
+
return o_rc;
#undef PRDF_FUNC
OpenPOWER on IntegriCloud