]> git.karo-electronics.de Git - karo-tx-linux.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>
Wed, 24 Aug 2011 03:16:51 +0000 (20:16 -0700)
commit8f2e8587e169d75ecc46bd0733706b2b0d9a291f
tree626081d2a094195f7bf540e8d4e2be04397a7cfd
parent9f824784ac33c934c694903ece2c0d6c26214529
[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