From: Kashyap, Desai Date: Tue, 9 Mar 2010 12:04:13 +0000 (+0530) Subject: [SCSI] mpt2sas : Device removal algorithm in interrupt context only X-Git-Tag: v2.6.35-rc1~470^2^2~173 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1278b11f46d9f34097f44ecc417148f27e8997fe;p=pandora-kernel.git [SCSI] mpt2sas : Device removal algorithm in interrupt context only external host not connecting after controller reboot: The problem is : devices are not coming back after having the cable disconnected then reconnected. The problem is because the driver/firmware device removal handshake is failing. Due to this failure, the controller firmware is not sending out device add events when the target is reconnected. This is root caused to a race in the driver/firmware device removal algorithm. There is duplicate code in both interrupt and user context; where target reset is being issue from user context path while sas_iounit_control(OP_REMOVE) is being sent from interrupt context. An active target_reset will fail the OP_REMOVE. To fix this problem, the duplicate code has been removed from user context path. Signed-off-by: Kashyap Desai Signed-off-by: James Bottomley --- Reading git-diff-tree failed