diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2019-06-09 04:19:11 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-06-20 22:37:03 +0300 |
commit | 57f31326518e98ee4cabf9a04efe00ed57c54147 (patch) | |
tree | d4eb1cf67ed98ed81e95fe602ba9d3e5b80b789b /include | |
parent | 25fcf94a2fa89dd3e73e965ebb0b38a2a4f72aa4 (diff) | |
download | linux-57f31326518e98ee4cabf9a04efe00ed57c54147.tar.xz |
scsi: NCR5380: Always re-enable reselection interrupt
The reselection interrupt gets disabled during selection and must be
re-enabled when hostdata->connected becomes NULL. If it isn't re-enabled a
disconnected command may time-out or the target may wedge the bus while
trying to reselect the host. This can happen after a command is aborted.
Fix this by enabling the reselection interrupt in NCR5380_main() after
calls to NCR5380_select() and NCR5380_information_transfer() return.
Cc: Michael Schmitz <schmitzmic@gmail.com>
Cc: stable@vger.kernel.org # v4.9+
Fixes: 8b00c3d5d40d ("ncr5380: Implement new eh_abort_handler")
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Tested-by: Stan Johnson <userm57@yahoo.com>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions