Re: DMA mapping on SCSI device?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <ltuikov@...>
Cc: <linux-arch@...>, ide <linux-ide@...>, linux-kernel <linux-kernel@...>, <linux-scsi@...>
Date: Tuesday, January 29, 2008 - 10:00 pm

Luben Tuikov wrote:

Will do so. However, previous statements from NVIDIA fairly clearly 
indicate that this is the case.


Well, there is an indirect link. The ADMA interface (which supports 
64-bit DMA) cannot be used to issue ATAPI commands, so if an ATAPI 
device is connected we have to go to legacy mode, which supports only 
32-bit DMA.

I'm not sure why ADMA mode doesn't support ATAPI. The only reason I can 
think of is that there's issues since ATAPI commands can potentially be 
of unpredictable transfer size. The "real" ADMA spec that the NVIDIA 
implementation is loosely based on does have some special "ignore 
excess" controls that don't seem to be in the NVIDIA version (or at 
least not to the knowledge I have on this hardware).

And yes, it is a rather unfortunate hardware shortcoming (presuming that 
it is entirely true).

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
DMA mapping on SCSI device?, Robert Hancock, (Mon Jan 28, 8:08 pm)
Re: DMA mapping on SCSI device?, Luben Tuikov, (Tue Jan 29, 6:09 pm)
Re: DMA mapping on SCSI device?, Matthew Wilcox, (Thu Jan 31, 1:01 am)
Re: DMA mapping on SCSI device?, Robert Hancock, (Tue Jan 29, 10:00 pm)
Re: DMA mapping on SCSI device?, Mark Lord, (Wed Jan 30, 12:56 pm)
Re: DMA mapping on SCSI device?, Robert Hancock, (Wed Jan 30, 8:09 pm)
Re: DMA mapping on SCSI device?, Mark Lord, (Wed Jan 30, 1:00 pm)
Re: DMA mapping on SCSI device?, Andi Kleen, (Tue Jan 29, 12:28 am)
Re: DMA mapping on SCSI device?, Luben Tuikov, (Tue Jan 29, 6:23 pm)
Re: DMA mapping on SCSI device?, James Bottomley, (Tue Jan 29, 11:33 am)
Re: DMA mapping on SCSI device?, Matthew Wilcox, (Mon Jan 28, 11:37 pm)
Re: DMA mapping on SCSI device?, Grant Grundler, (Mon Jan 28, 11:21 pm)