Thread (5 messages) flat view 5 messages, 3 authors, 2007-07-06

Re: PowerPC equivalent to dma_mmap_writecombine()?

From: Segher Boessenkool <hidden>
Date: 2007-07-05 20:13:07

quoted
There are no dma_mmap_x() functions in arch/powerpc.  Can someone  
tell me what the powerpc
equivalent to dma_mmap_writecombine() is?
Not sure exactly what arm does here, but it sounds like you want
to call remap_pfn_range with the _PAGE_NO_CACHE bit set in the
protection flags, and _PAGE_GUARDED not set.
Either that, or just map it as normal cache-coherent DMA
memory.


Segher
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help