summaryrefslogtreecommitdiffstats
path: root/lib/iommu-helper.c
diff options
context:
space:
mode:
authorDmitry Kravkov <dmitry@broadcom.com>2013-11-17 08:59:27 +0200
committerDavid S. Miller <davem@davemloft.net>2013-11-18 15:45:44 -0500
commit9dcd9acd69b1321fa008c3ce3ec299d04cd46774 (patch)
tree450f5bd6a6e2f4f03842780e4dd7e0a19ba36eda /lib/iommu-helper.c
parenta0d307b21025106157709521d5b88831530e2112 (diff)
downloadblackbird-obmc-linux-9dcd9acd69b1321fa008c3ce3ec299d04cd46774.tar.gz
blackbird-obmc-linux-9dcd9acd69b1321fa008c3ce3ec299d04cd46774.zip
bnx2x: Prevent panic during DMAE timeout
If chip enters a recovery flow just after the driver issues a DMAE request the DMAE will timeout. Current code will cause a bnx2x_panic() as a result, which means interface will no longer be usable (regardless of the recovery results), as bnx2x_panic() is irreversible for the driver. As this is a possible flow, the panic should be reached only when driver is compiled with STOP_ON_ERROR. Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com> Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com> Signed-off-by: Ariel Elior <ariele@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/iommu-helper.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud