DMA consistent allocation is limited to 2MB on 2.6.11 for ppc440?

Eugene Surovegin ebs at ebshome.net
Thu May 19 12:09:53 EST 2005


On Wed, May 18, 2005 at 06:52:52PM -0700, Shawn Jin wrote:
> Then what's your recommendation to allocate a big chunk of memory for
> pci device? 

My recommendation - don't do this. Why do you need to allocate this 
big chunk of consistent memory in the first place? You can do DMA 
_without_ allocating "consistent" memory. In fact, this is how 
virtually all devices work in Linux. For more info about DMA API - 
look at Documentation/DMA-API.txt.

Technically, you can make consistent pool bigger, if you really insist 
on using this approach.

-- 
Eugene




More information about the Linuxppc-embedded mailing list