summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Cain <cjcain@us.ibm.com>2017-05-16 22:25:57 -0500
committerChristopher J. Cain <cjcain@us.ibm.com>2017-05-30 15:04:56 -0400
commit25a3c4917a09bc60ee0dd2820f72d23fa1ccf018 (patch)
tree9abdeb9dba1c517c150e63f3f9be2c1c638a1eb0
parent9f08b00882a07b45cccf8282d97f4bbdcb560307 (diff)
downloadtalos-occ-25a3c4917a09bc60ee0dd2820f72d23fa1ccf018.tar.gz
talos-occ-25a3c4917a09bc60ee0dd2820f72d23fa1ccf018.zip
Re-enable PGPE beacon error detection
Change-Id: I870baf3fc389995b8be30d489e531d131a7c84a0 RTC: 170963 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40611 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com>
-rwxr-xr-xsrc/occ_405/timer/timer.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/occ_405/timer/timer.c b/src/occ_405/timer/timer.c
index e31940a..16b25c8 100755
--- a/src/occ_405/timer/timer.c
+++ b/src/occ_405/timer/timer.c
@@ -467,7 +467,7 @@ void check_pgpe_beacon(void)
static bool L_first_pgpe_beacon_check = true; // First time examining Beacon?
static bool L_pgpe_beacon_unchanged_4ms = false; // pgpe beacon unchanged once (4ms)
static bool L_error_logged = false; // trace and error log only once
- //errlHndl_t l_err = NULL; // Error handler
+ errlHndl_t l_err = NULL; // Error handler
static bool L_unchanged_traced = false;
static int L_unchanged_count = 0;
@@ -508,8 +508,6 @@ void check_pgpe_beacon(void)
{
TRAC_ERR("Error PGPE Beacon didn't change for 8 ms: 0x%08X", pgpe_beacon);
L_error_logged = true;
- // TODO: RTC 170963 - re-enable reset when beacon starts working
-#if 0
/*
* @errortype
* @moduleid POKE_WD_TIMERS
@@ -530,7 +528,6 @@ void check_pgpe_beacon(void)
// Commit error log and request reset
REQUEST_RESET(l_err);
-#endif
}
}
}
OpenPOWER on IntegriCloud