how to get DMA'able memory within 4GB on 64-bit machine

how to get DMA'able memory within 4GB on 64-bit machine

Post by A-SanJose,e » Thu, 21 Jun 2001 04:00:14



Hi List,

Is there a way for a driver to ask kernel to
give DMA'able memory within 4GB ? I read about
pci_alloc_consistent(). But I could not find out
whether that guarantees the DMA'able memory to be
within 4GB or not. Is there any other kernel routine
that I should call from Driver to get such a memory ?

Regards,
-hiren

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. (reposting) how to get DMA'able memory within 4GB on 64-bit machine

Hi,

sorry to join in so late in this thread, but I think I should bring the
following to your attention:

Someone (David, I think) said that IA64 was handling 32-bit controllers
fine. To my experience, that depends strongly on the drivers.
At least for aic7xxx, it is not the case (I have documented the
related crashes on the linux-ia64 mailing lists during the last two
months). The driver is simply eating up buffer space in such vast amounts
that it freezes the software IO-memory management even at very moderate
load (you can use the "old" driver instead, but this doesn't look like a
long-term solution).

After some discussion, Justin Gibbs announced that he'll implement 39-bit
DMA addressing in the aic7xxx driver, and it appeared that this was
pretty much the only viable solution to make the "new" aic7xxx driver work on
IA64. I haven't looked at his new code yet, but I assume he's using the
IA64 approach.

It is likely that this will happen for other drivers as well, especially
those that need a lot of buffer space for good performance. Thus the IA-64
API will probably emerge as a matter-of-fact standard, and if something
better is to replace it, I think it should be decided upon quickly, so
that driver maintainers (and IA64) can adopt to it before everything has
to be written (and debugged) twice.

Regards,
Martin
--

FSC EP PS DS1, Paderborn      Tel. +49 5251 8 15113

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. kernel question

3. (reposting) how to get DMA'able memory within 4GB on 64-bit machi ne

4. 2.2.0pre7ac patches

5. (reposting) how to get DMA'able memory within 4GB on 64-bit m achi ne

6. Slackware install on Compaq 486/33l ESDI HD & SCSI CDROM

7. Compiling 64-bit code on 32-bit machine

8. Availability

9. HALstation (64-bit processor running 64-bit Solaris) as webserver

10. IBM announces 64-bit mainframes and 64-bit Linux for S/390

11. 64-bit Solaris 7: wasn't Solaris 2.6 also 32-bit?

12. Is 64-bit Linux "true" 64 bit thru-and-thru??

13. 64 Bit development -> getting memory below the 4 GB limit