diff options
author | 2024-08-07 13:36:28 +1000 | |
---|---|---|
committer | 2024-08-12 22:05:49 -0400 | |
commit | 5768718da9417331803fc4bc090544c2a93b88dc (patch) | |
tree | 7347eab71d0775d5ec67a5aed041fe27b46e0eff /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | scsi: mac_scsi: Disallow bus errors during PDMA send (diff) | |
download | wireguard-linux-5768718da9417331803fc4bc090544c2a93b88dc.tar.xz wireguard-linux-5768718da9417331803fc4bc090544c2a93b88dc.zip |
scsi: NCR5380: Check for phase match during PDMA fixup
It's not an error for a target to change the bus phase during a transfer.
Unfortunately, the FLAG_DMA_FIXUP workaround does not allow for that -- a
phase change produces a DRQ timeout error and the device borken flag will
be set.
Check the phase match bit during FLAG_DMA_FIXUP processing. Don't forget to
decrement the command residual. While we are here, change shost_printk()
into scmd_printk() for better consistency with other DMA error messages.
Tested-by: Stan Johnson <userm57@yahoo.com>
Fixes: 55181be8ced1 ("ncr5380: Replace redundant flags with FLAG_NO_DMA_FIXUP")
Signed-off-by: Finn Thain <fthain@linux-m68k.org>
Link: https://lore.kernel.org/r/99dc7d1f4c825621b5b120963a69f6cd3e9ca659.1723001788.git.fthain@linux-m68k.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions