>> 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 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev