lkml.org 
[lkml]   [2019]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] esp_scsi: Clear Transfer Count registers before PIO transfers
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).

--

\
 
 \ /
  Last update: 2019-11-20 00:13    [W:4.695 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site