summaryrefslogtreecommitdiffstats
path: root/src/usr/fsi/fsidd.H
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2012-03-29 10:01:24 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-04-03 09:20:40 -0500
commitd545103be504fc8ec6a23c4ad5ff08297b6fc1fa (patch)
tree1fe8d3b4bcc5eee43645f9af59d1ff1bcda10da4 /src/usr/fsi/fsidd.H
parent73f2d486d77f594b8fe85c009556d8aafb02b93f (diff)
downloadblackbird-hostboot-d545103be504fc8ec6a23c4ad5ff08297b6fc1fa.tar.gz
blackbird-hostboot-d545103be504fc8ec6a23c4ad5ff08297b6fc1fa.zip
Fix FSI FFDC collection thread bug
Fixing a possible multi-threading issue in how the FSI driver collects FFDC. I am keeping track of the Task that hit the error to avoid hitting the mutex twice. Change-Id: Ic48cc046e1a23c67df84802c51307be645a06a8d RTC: 35287 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/806 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/fsi/fsidd.H')
-rw-r--r--src/usr/fsi/fsidd.H6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/usr/fsi/fsidd.H b/src/usr/fsi/fsidd.H
index 69060544e..51dad9f54 100644
--- a/src/usr/fsi/fsidd.H
+++ b/src/usr/fsi/fsidd.H
@@ -29,6 +29,7 @@
#include <errl/errlentry.H>
#include <usr/devicefw/driverif.H>
#include <attributestructs.H>
+#include <sys/task.h>
/** @file fsidd.H
@@ -245,6 +246,7 @@ class FsiDD
*
* @param[in] i_addrInfo FSI addressing information
* @param[in] i_opbStatReg OPB Status bits (OPB_REG_STAT[0:31])
+ * @param[in] i_relFsiAddr Relative FSI Address that was being accessed
*
* @return errlHndl_t NULL on success
*/
@@ -458,9 +460,9 @@ class FsiDD
TARGETING::Target* iv_master;
/**
- * Flag to avoid infinite recursion
+ * Non-zero if a Task is currently collecting FFDC
*/
- bool iv_ffdcCollection;
+ tid_t iv_ffdcTask;
private:
OpenPOWER on IntegriCloud