From: Chad Dupuis Date: Wed, 30 Oct 2013 07:38:16 +0000 (-0400) Subject: [SCSI] qla2xxx: Disable adapter when we encounter a PCI disconnect. X-Git-Tag: v3.14-rc1~131^2^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3ddac1918fe963bcbf8d407a3a3c0881b47248b;p=pandora-kernel.git [SCSI] qla2xxx: Disable adapter when we encounter a PCI disconnect. If we become disconnected from the PCI bus/PCIe fabric, there can be long delays in register reads which can cause erroneous decisions to be made and cause a soft lockup if a lock is held too long. As a preventative measure, check for a disconnection (register reads that return -1) and then disable the board if we find ourselves in this condition. For now, check in our interrupt handlers and the per adapter one second timer. Signed-off-by: Chad Dupuis Signed-off-by: Saurav Kashyap Signed-off-by: James Bottomley --- Reading git-diff-tree failed