diff options
author | Michael Albaugh <michael.albaugh@qlogic.com> | 2007-05-17 10:26:28 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-07-09 23:12:25 -0400 |
commit | aecd3b5ab19624ca9644b9df9c61615282d8923f (patch) | |
tree | d4f4b5367a40bd737899b7e3dbfcfab6021891e0 /drivers/infiniband/hw/ipath/ipath_driver.c | |
parent | 8e9ab3f1c9e34d5c28446c3738983d33a3937fe0 (diff) |
IB/ipath: Log "active" time and some errors to EEPROM
We currently track various errors, now we enhance that capability by
logging some of them to EEPROM. We also now log a cumulative "active"
time defined by traffic though the InfiniPath HCA beyond the normal SM
traffic.
Signed-off-by: Michael Albaugh <michael.albaugh@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_driver.c')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_driver.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_driver.c b/drivers/infiniband/hw/ipath/ipath_driver.c index 097593286582..e9639860b48d 100644 --- a/drivers/infiniband/hw/ipath/ipath_driver.c +++ b/drivers/infiniband/hw/ipath/ipath_driver.c | |||
@@ -2005,6 +2005,9 @@ void ipath_shutdown_device(struct ipath_devdata *dd) | |||
2005 | ~0ULL & ~INFINIPATH_HWE_MEMBISTFAILED); | 2005 | ~0ULL & ~INFINIPATH_HWE_MEMBISTFAILED); |
2006 | ipath_write_kreg(dd, dd->ipath_kregs->kr_errorclear, -1LL); | 2006 | ipath_write_kreg(dd, dd->ipath_kregs->kr_errorclear, -1LL); |
2007 | ipath_write_kreg(dd, dd->ipath_kregs->kr_intclear, -1LL); | 2007 | ipath_write_kreg(dd, dd->ipath_kregs->kr_intclear, -1LL); |
2008 | |||
2009 | ipath_cdbg(VERBOSE, "Flush time and errors to EEPROM\n"); | ||
2010 | ipath_update_eeprom_log(dd); | ||
2008 | } | 2011 | } |
2009 | 2012 | ||
2010 | /** | 2013 | /** |