On Fri, 2015-04-03 at 08:57 +1100, Benjamin Herrenschmidt wrote: > No, the last argument to iommu_area_alloc() which is passed from the > callers when doing consistent allocs. Basically, the DMA api mandates > that consistent allocs are naturally aligned (to their own size), we > implement that on powerpc by passing that alignment argument down.
Talking of this ... I notice this is not documented in DMA-API.txt... however many drivers make that assumption, and the DMA pool allocator in mm/dmapool.c as well. Maybe somebody should update DMA-API.txt... Cheers, Ben. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev