Re: DMA descriptor alignment

2007-11-14 Thread Larry Finger
Andi Kleen wrote: > Larry Finger <[EMAIL PROTECTED]> writes: > >> For those variants of BCM43xx cards that use 64-bit DMA, there is a >> requirement that all descriptor >> rings must be aligned on an 8K boundary and must fit within an 8K page. On >> the x86_64 architecture >> where the page size

Re: DMA descriptor alignment

2007-11-13 Thread Andi Kleen
Larry Finger <[EMAIL PROTECTED]> writes: > For those variants of BCM43xx cards that use 64-bit DMA, there is a > requirement that all descriptor > rings must be aligned on an 8K boundary and must fit within an 8K page. On > the x86_64 architecture > where the page size is 4K, I was getting addre

DMA descriptor alignment

2007-11-11 Thread Larry Finger
For those variants of BCM43xx cards that use 64-bit DMA, there is a requirement that all descriptor rings must be aligned on an 8K boundary and must fit within an 8K page. On the x86_64 architecture where the page size is 4K, I was getting addresses like 0x67AF000 when using dma_alloc_coherent c