[SCSI] mptfusion: Better handling of DEAD IOC PCI-E Link down error condition
authorkashyap.desai@lsi.com <kashyap.desai@lsi.com>
Thu, 4 Aug 2011 11:12:15 +0000 (16:42 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 27 Aug 2011 14:35:16 +0000 (08:35 -0600)
commite62cca19a9bbfc72c62632d95a7c01cd6476708c
treead6f84c9423b950772669fc15de938e2be484387
parent3850b14e51d32fc0d4297ceb30f3f7bb2c2b4779
[SCSI] mptfusion: Better handling of DEAD IOC PCI-E Link down error condition

Find Non-Operation IOC and remove it from OS: Detecting
dead(non-functional) ioc will be done reading doorbell register value
from fault reset thread, which has been called from work thread
context after each specific interval. If doorbell value is 0xFFFFFFFF,
it will be considered as IOC is non-operational and marked as dead
ioc.

Once Dead IOC has been detected, it will be removed at pci layer using
"pci_remove_bus_device" API.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/message/fusion/mptbase.c
drivers/message/fusion/mptbase.h
drivers/message/fusion/mptsas.c
drivers/message/fusion/mptscsih.c
drivers/message/fusion/mptscsih.h