summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/hwp/sbe_centaur_init
diff options
context:
space:
mode:
authorThi Tran <thi@us.ibm.com>2013-03-18 16:34:51 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-03-20 09:02:12 -0500
commitadf4b255432f86cbd563be6f9d56ca0b50b78dd9 (patch)
treec92b397640fe7768ed9e4b4ce8a97027f0cd22ef /src/usr/hwpf/hwp/sbe_centaur_init
parent94a084555e3ef8f82c9d36aed25d5a6cd6aa33c1 (diff)
downloadtalos-hostboot-adf4b255432f86cbd563be6f9d56ca0b50b78dd9.tar.gz
talos-hostboot-adf4b255432f86cbd563be6f9d56ca0b50b78dd9.zip
TULETA Bring Up - Workaround for Centaur SBE failure
Change-Id: Iffe079424b09547668a91576bf27a5701be2221e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3612 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/hwp/sbe_centaur_init')
-rw-r--r--src/usr/hwpf/hwp/sbe_centaur_init/sbe_centaur_init.C20
1 files changed, 19 insertions, 1 deletions
diff --git a/src/usr/hwpf/hwp/sbe_centaur_init/sbe_centaur_init.C b/src/usr/hwpf/hwp/sbe_centaur_init/sbe_centaur_init.C
index 9b93441e9..9a87accc8 100644
--- a/src/usr/hwpf/hwp/sbe_centaur_init/sbe_centaur_init.C
+++ b/src/usr/hwpf/hwp/sbe_centaur_init/sbe_centaur_init.C
@@ -180,6 +180,25 @@ void* call_sbe_centaur_init( void *io_pArgs )
FAPI_INVOKE_HWP(l_errl, fapiPoreVe, l_fapiTarget, myArgs);
+
+ //@TODO - This is a temp workaround while HW team (Martin)
+ // investigating the scan failure in Centaur
+ // RTC task 66964 is to remove this.
+ if (l_errl )
+ {
+ TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace,
+ "Failed SBE Centaur init on 0x%.8X first time. Retry....",
+ TARGETING::get_huid(l_membuf_target));
+ delete l_errl;
+ l_errl = NULL;
+ FAPI_INVOKE_HWP(l_errl, fapiPoreVe, l_fapiTarget, myArgs);
+ if (!l_errl)
+ {
+ TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace,
+ "call_sbe_centaur_init - Retry successfully");
+ }
+ }
+
if (l_errl )
{
TRACFCOMP(ISTEPS_TRACE::g_trac_isteps_trace,
@@ -207,7 +226,6 @@ l * @moduleid ISTEP_SBE_CENTAUR_INIT
l_errl);
errlCommit( l_errl, HWPF_COMP_ID );
-
break; // break out of memBuf loop
}
else
OpenPOWER on IntegriCloud