Re: [PATCH v4] arm DMA: Fix allocation from CMA for coherent DMA

2015-06-30 Thread Lorenzo Nava
On Tue, Jun 30, 2015 at 1:05 PM, Catalin Marinas wrote: > > On Mon, Jun 29, 2015 at 07:10:45PM +0200, Lorenzo Nava wrote: > > This patch allows the use of CMA for DMA coherent memory allocation. > > At the moment if the input parameter "is_coherent" is set to true > > the allocation is not made us

Re: [PATCH v4] arm DMA: Fix allocation from CMA for coherent DMA

2015-06-30 Thread Catalin Marinas
On Mon, Jun 29, 2015 at 07:10:45PM +0200, Lorenzo Nava wrote: > This patch allows the use of CMA for DMA coherent memory allocation. > At the moment if the input parameter "is_coherent" is set to true > the allocation is not made using the CMA, which I think is not the > desired behaviour. > > Sig

[PATCH v4] arm DMA: Fix allocation from CMA for coherent DMA

2015-06-29 Thread Lorenzo Nava
This patch allows the use of CMA for DMA coherent memory allocation. At the moment if the input parameter "is_coherent" is set to true the allocation is not made using the CMA, which I think is not the desired behaviour. Signed-off-by: Lorenzo Nava --- Changes in v2: correct __arm_dma_free() acc