Re: [PATCH 01/14] common: dma-mapping: introduce alloc_attrs and free_attrs methods

2012-01-16 Thread David Gibson
On Fri, Dec 23, 2011 at 01:27:20PM +0100, Marek Szyprowski wrote: > Introduce new generic alloc and free methods with attributes argument. > > Existing alloc_coherent and free_coherent can be implemented on top of the > new calls with NULL attributes argument. Later also dma_alloc_non_coherent > c

[PATCH 01/14] common: dma-mapping: introduce alloc_attrs and free_attrs methods

2011-12-23 Thread Marek Szyprowski
Introduce new generic alloc and free methods with attributes argument. Existing alloc_coherent and free_coherent can be implemented on top of the new calls with NULL attributes argument. Later also dma_alloc_non_coherent can be implemented using DMA_ATTR_NONCOHERENT attribute as well as dma_alloc_