PowerPC equivalent to dma_mmap_writecombine()?

Segher Boessenkool segher at kernel.crashing.org
Fri Jul 6 06:11:05 EST 2007

>> 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


More information about the Linuxppc-dev mailing list