]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitd049a65bbee9e0352b3eecd0d252b20b336a49ed
treead6f84c9423b950772669fc15de938e2be484387
parent6c36c98630bbdf5eee0517b92ab258a2944c1080
[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