summaryrefslogtreecommitdiffstats
path: root/include/fsp-elog.h
diff options
context:
space:
mode:
authorDeepthi Dharwar <deepthi@linux.vnet.ibm.com>2014-07-24 12:01:36 +0530
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-07-25 14:10:51 +1000
commit6e993f3fffcbe96d3760c5ebb5815245358fd367 (patch)
treec9016298ee7c96c2ef7fcf00b4ec327fb7e49cf0 /include/fsp-elog.h
parent2c47605b579ef500295352c8fa3cc83270833da6 (diff)
downloadblackbird-skiboot-6e993f3fffcbe96d3760c5ebb5815245358fd367.tar.gz
blackbird-skiboot-6e993f3fffcbe96d3760c5ebb5815245358fd367.zip
elog: Queue errors to be committed in FSP with timeout value.
This patch aims to queues all the OPAL errors to the FSP with a time-out value. If the error gets committed in FSP and an ack is recevied for the same within the time-out interval, then it is not reported in the host. Else on expiry of the time-out value the error is committed in the host. Currently the time-out value is set to 180 seconds. Signed-off-by: Deepthi Dharwar <deepthi@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/fsp-elog.h')
-rw-r--r--include/fsp-elog.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/fsp-elog.h b/include/fsp-elog.h
index ce3813af..49e98720 100644
--- a/include/fsp-elog.h
+++ b/include/fsp-elog.h
@@ -245,6 +245,9 @@ struct opal_v6_header {
#define ORG_SAPPHIRE 1
#define ORG_POWERNV 2
+/* MAX time for error log commit */
+#define ERRORLOG_TIMEOUT_INTERVAL 180
+
/*struct opal_private head section_ */
struct opal_private_header_section {
OpenPOWER on IntegriCloud