diff options
author | Ilya Smirnov <ismirno@us.ibm.com> | 2019-04-08 09:53:09 -0500 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2019-04-10 09:36:06 -0500 |
commit | 033619612142c1e2ac514f487aace7da092b813f (patch) | |
tree | 47cbec7cf8c2ffd180db5a234fd01fd881ab5665 /src/usr/hwas/common/deconfigGard.C | |
parent | 3e582366ea6b959795e0a173e05bdae453f459b4 (diff) | |
download | talos-hostboot-033619612142c1e2ac514f487aace7da092b813f.tar.gz talos-hostboot-033619612142c1e2ac514f487aace7da092b813f.zip |
Flush Errlmanager Queue Before Fetching Gard Records
When an error occurs or is injected into an EX target,
the gard record for the target does not make it into
the GUARD partition in time for the gard processing
in istep 6.9 because the associated error log is sent
asynchronously. This change flushes the errlmanager
message queue right before the processing of the
gard records to insure all gard records make it into
GUARD partition.
Change-Id: I06625672df7e926d6d080673241ad2ee4d87a7c9
CQ: SW461565
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/75684
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
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>
Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com>
Reviewed-by: Roland Veloz <rveloz@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/hwas/common/deconfigGard.C')
-rw-r--r-- | src/usr/hwas/common/deconfigGard.C | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/usr/hwas/common/deconfigGard.C b/src/usr/hwas/common/deconfigGard.C index bdbda740d..727611eed 100644 --- a/src/usr/hwas/common/deconfigGard.C +++ b/src/usr/hwas/common/deconfigGard.C @@ -43,6 +43,7 @@ #ifdef __HOSTBOOT_MODULE #include <config.h> +#include <errl/errlmanager.H> #if (!defined(CONFIG_CONSOLE_OUTPUT_TRACE) && defined(CONFIG_CONSOLE)) #include <console/consoleif.H> #endif @@ -552,6 +553,11 @@ errlHndl_t DeconfigGard::deconfigureTargetsFromGardRecordsForIpl( break; } +#ifdef __HOSTBOOT_MODULE + HWAS_INF("deconfigureTargetsFromGardRecordsForIpl: flushing the error log queue"); + ErrlManager::callFlushErrorLogs(); +#endif + // Get all GARD Records GardRecords_t l_gardRecords; l_pErr = platGetGardRecords(NULL, l_gardRecords); |