[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.21.1.1911201006520.10@nippy.intranet>
Date: Wed, 20 Nov 2019 10:12:21 +1100 (AEDT)
From: Finn Thain <fthain@...egraphics.com.au>
To: Kars de Jong <jongk@...ux-m68k.org>
cc: "James E.J. Bottomley" <jejb@...ux.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Michael Schmitz <schmitzmic@...il.com>,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [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).
--
Powered by blists - more mailing lists