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

2015-06-12 Thread Lorenzo Nava
On Thu, Jun 11, 2015 at 4:26 PM, Catalin Marinas wrote: > On Wed, Jun 10, 2015 at 09:34:43PM +0200, Lorenzo Nava wrote: >> On Wed, Jun 10, 2015 at 6:28 PM, Catalin Marinas >> wrote: >> > On Wed, Jun 03, 2015 at 07:15:45PM +0200, Lorenzo Nava wrote: >> > > This patch allows the use of CMA for DMA

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

2015-06-12 Thread Lorenzo Nava
On Thu, Jun 11, 2015 at 4:26 PM, Catalin Marinas catalin.mari...@arm.com wrote: On Wed, Jun 10, 2015 at 09:34:43PM +0200, Lorenzo Nava wrote: On Wed, Jun 10, 2015 at 6:28 PM, Catalin Marinas catalin.mari...@arm.com wrote: On Wed, Jun 03, 2015 at 07:15:45PM +0200, Lorenzo Nava wrote: This

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

2015-06-11 Thread Lorenzo Nava
On Thu, Jun 11, 2015 at 4:26 PM, Catalin Marinas wrote: > On Wed, Jun 10, 2015 at 09:34:43PM +0200, Lorenzo Nava wrote: >> On Wed, Jun 10, 2015 at 6:28 PM, Catalin Marinas >> wrote: >> > On Wed, Jun 03, 2015 at 07:15:45PM +0200, Lorenzo Nava wrote: >> > > This patch allows the use of CMA for DMA

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

2015-06-11 Thread Catalin Marinas
On Wed, Jun 10, 2015 at 09:34:43PM +0200, Lorenzo Nava wrote: > On Wed, Jun 10, 2015 at 6:28 PM, Catalin Marinas > wrote: > > On Wed, Jun 03, 2015 at 07:15:45PM +0200, Lorenzo Nava wrote: > > > This patch allows the use of CMA for DMA coherent memory allocation. > > > At the moment if the input

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

2015-06-11 Thread Catalin Marinas
On Wed, Jun 10, 2015 at 09:34:43PM +0200, Lorenzo Nava wrote: On Wed, Jun 10, 2015 at 6:28 PM, Catalin Marinas catalin.mari...@arm.com wrote: On Wed, Jun 03, 2015 at 07:15:45PM +0200, Lorenzo Nava wrote: This patch allows the use of CMA for DMA coherent memory allocation. At the moment

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

2015-06-11 Thread Lorenzo Nava
On Thu, Jun 11, 2015 at 4:26 PM, Catalin Marinas catalin.mari...@arm.com wrote: On Wed, Jun 10, 2015 at 09:34:43PM +0200, Lorenzo Nava wrote: On Wed, Jun 10, 2015 at 6:28 PM, Catalin Marinas catalin.mari...@arm.com wrote: On Wed, Jun 03, 2015 at 07:15:45PM +0200, Lorenzo Nava wrote: This

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

2015-06-10 Thread Lorenzo Nava
On Wed, Jun 10, 2015 at 6:28 PM, Catalin Marinas wrote: > > On Wed, Jun 03, 2015 at 07:15: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

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

2015-06-10 Thread Catalin Marinas
On Wed, Jun 03, 2015 at 07:15: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. > >

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

2015-06-10 Thread Lorenzo Nava
ping! On Wed, Jun 3, 2015 at 7:15 PM, 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. > >

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

2015-06-10 Thread Lorenzo Nava
ping! On Wed, Jun 3, 2015 at 7:15 PM, Lorenzo Nava lore...@gmail.com 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

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

2015-06-10 Thread Catalin Marinas
On Wed, Jun 03, 2015 at 07:15: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.

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

2015-06-10 Thread Lorenzo Nava
On Wed, Jun 10, 2015 at 6:28 PM, Catalin Marinas catalin.mari...@arm.com wrote: On Wed, Jun 03, 2015 at 07:15: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

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

2015-06-03 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()

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

2015-06-03 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 lorenx4@ --- Changes in v2: correct

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

2015-05-26 Thread Lorenzo Nava
This patch allows the use of CMA for DMA coherent memory allocation. At the moment if "is_coherent" is set to true the allocation can't use the CMA, which I think is not the desired behaviour. Changes in v2: correct __arm_dma_free() according to __dma_alloc() allocation ---

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

2015-05-26 Thread Lorenzo Nava
This patch allows the use of CMA for DMA coherent memory allocation. At the moment if is_coherent is set to true the allocation can't use the CMA, which I think is not the desired behaviour. Changes in v2: correct __arm_dma_free() according to __dma_alloc() allocation ---