diff options
author | 2019-06-09 11:19:11 +1000 | |
---|---|---|
committer | 2019-06-20 15:37:03 -0400 | |
commit | 57f31326518e98ee4cabf9a04efe00ed57c54147 (patch) | |
tree | d4eb1cf67ed98ed81e95fe602ba9d3e5b80b789b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Revert "scsi: ncr5380: Increase register polling limit" (diff) | |
download | linux-dev-57f31326518e98ee4cabf9a04efe00ed57c54147.tar.xz linux-dev-57f31326518e98ee4cabf9a04efe00ed57c54147.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions