Commit 7ff723a
scsi: mpt3sas: Unblock device after controller reset
While issuing any ATA passthrough command to firmware the driver will
block the device. But it will unblock the device only if the I/O
completes through the ISR path. If a controller reset occurs before
command completion the device will remain in blocked state.
Make sure we unblock the device following a controller reset if an ATA
passthrough command was queued.
[mkp: clarified patch description]
Cc: <stable@vger.kernel.org> # v4.4+
Fixes: ac6c2a93bd07 ("mpt3sas: Fix for SATA drive in blocked state, after diag reset")
Signed-off-by: Suganath Prabu S <suganath-prabu.subramani@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent 7630b3a commit 7ff723a
1 file changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3885 | 3885 | | |
3886 | 3886 | | |
3887 | 3887 | | |
| 3888 | + | |
| 3889 | + | |
| 3890 | + | |
| 3891 | + | |
| 3892 | + | |
3888 | 3893 | | |
3889 | 3894 | | |
3890 | 3895 | | |
| |||
3906 | 3911 | | |
3907 | 3912 | | |
3908 | 3913 | | |
| 3914 | + | |
| 3915 | + | |
| 3916 | + | |
3909 | 3917 | | |
3910 | 3918 | | |
3911 | 3919 | | |
| |||
4010 | 4018 | | |
4011 | 4019 | | |
4012 | 4020 | | |
4013 | | - | |
4014 | | - | |
4015 | | - | |
4016 | | - | |
4017 | | - | |
4018 | 4021 | | |
4019 | 4022 | | |
4020 | 4023 | | |
| |||
0 commit comments