]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mthca: Recover from catastrophic errors
authorJack Morgenstein <jackm@mellanox.co.il>
Tue, 15 Aug 2006 18:11:18 +0000 (21:11 +0300)
committerRoland Dreier <rolandd@cisco.com>
Fri, 22 Sep 2006 22:22:54 +0000 (15:22 -0700)
commitbba06f4020ebcef7e92a84ee10d59e876479e3bd
tree02e7b931be922a71e82da5c9baf273ac5d2312d9
parent226aba0a4b7db52320792966835102127a75fd42
IB/mthca: Recover from catastrophic errors

Trigger device remove and then add when a catastrophic error is
detected in hardware.  This, in turn, will cause a device reset, which
we hope will recover from the catastrophic condition.

Since this might interefere with debugging the root cause, add a
module option to suppress this behaviour.

Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_catas.c
drivers/infiniband/hw/mthca/mthca_dev.h
drivers/infiniband/hw/mthca/mthca_main.c