diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2018-09-27 04:17:11 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-20 20:00:51 +0300 |
commit | ce837affeb34e61cc808cf23f93a11b958dd2199 (patch) | |
tree | d7bdad4fa9e72da2b29a2bf2e17def88164ed29e /arch/arm64/boot | |
parent | 7459de2fceee874ba1ba2ba7d825290d9d141a54 (diff) | |
download | linux-ce837affeb34e61cc808cf23f93a11b958dd2199.tar.xz |
scsi: NCR5380: Check for bus reset
[ Upstream commit 6b0e87a6aafe12d75c2bea6fc8e49e88b98b3083 ]
The SR_RST bit isn't latched. Hence, detecting a bus reset isn't reliable.
When it is detected, the right thing to do is to drop all connected and
disconnected commands. The code for that is already present so refactor it and
call it when SR_RST is set.
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/arm64/boot')
0 files changed, 0 insertions, 0 deletions