linux/drivers/net/ethernet/qlogic/qlge
Gavin Shan 3275c0c6c5 net/qlge: Avoids recursive EEH error
One timer, whose handler keeps reading on MMIO register for EEH
core to detect error in time, is started when the PCI device driver
is loaded. MMIO register can't be accessed during PE reset in EEH
recovery. Otherwise, the unexpected recursive error is triggered.
The timer isn't closed that time if the interface isn't brought
up. So the unexpected recursive error is seen during EEH recovery
when the interface is down.

This avoids the unexpected recursive EEH error by closing the timer
in qlge_io_error_detected() before EEH PE reset unconditionally. The
timer is started unconditionally after EEH PE reset in qlge_io_resume().
Also, the timer should be closed unconditionally when the device is
removed from the system permanently in qlge_io_error_detected().

Reported-by: Shriya R. Kulkarni <shriyakul@in.ibm.com>
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-05-24 14:47:19 -07:00
..
Makefile
qlge.h qlge: Update version to 1.00.00.35 2016-03-25 11:41:08 -04:00
qlge_dbg.c qlge: make local function static 2013-12-26 13:29:35 -05:00
qlge_ethtool.c drivers/net: get rid of unnecessary initializations in .get_drvinfo() 2015-10-16 00:24:10 -07:00
qlge_main.c net/qlge: Avoids recursive EEH error 2016-05-24 14:47:19 -07:00
qlge_mpi.c qlge: call ql_core_dump() only if dump memory was allocated. 2013-09-24 11:19:46 -04:00