Re: [PATCH] esp_scsi: Clear Transfer Count registers before PIO transfers

From: Finn Thain
Date: Tue Nov 19 2019 - 18:13:05 EST


On Tue, 19 Nov 2019, I wrote:

>
> But this is a theoretical problem so far. You may need to use sg_utils
> to generate a SCSI command like that.
>
> (For a DMA controller subject to, say, 24-bit boundaries, there are
> additional ways to end up with short transfers.)
>

On reflection these probably can't happen in practice. I was being
over-cautious. So I'll leave this patch out-of-tree until there's a need
for it (i.e. some driver that uses both DMA and PIO in data phases).

--