Re: [PATCH] dmaengine: bcm2835-dma: Convert to use DMA pool

2015-12-05 Thread Vinod Koul
On Mon, Nov 16, 2015 at 01:09:03PM +0200, Peter Ujfalusi wrote: > f93178291712 dmaengine: bcm2835-dma: Fix memory leak when stopping a >running transfer > > Fixed the memleak, but introduced another issue: the terminate_all callback > might be called with interrupts disabled and the dm

Re: [PATCH] dmaengine: bcm2835-dma: Convert to use DMA pool

2015-11-24 Thread Eric Anholt
Peter Ujfalusi writes: > f93178291712 dmaengine: bcm2835-dma: Fix memory leak when stopping a >running transfer > > Fixed the memleak, but introduced another issue: the terminate_all callback > might be called with interrupts disabled and the dma_free_coherent() is > not allowed to be

Re: [PATCH] dmaengine: bcm2835-dma: Convert to use DMA pool

2015-11-17 Thread Peter Ujfalusi
On 11/17/2015 11:04 AM, Stefan Wahren wrote: > Hi Peter, > > Am 17.11.2015 um 08:46 schrieb Peter Ujfalusi: >> Hi, >> >> On 11/16/2015 01:09 PM, Peter Ujfalusi wrote: >>> f93178291712 dmaengine: bcm2835-dma: Fix memory leak when stopping a >>> running transfer >>> >>> Fixed the memleak, b

Re: [PATCH] dmaengine: bcm2835-dma: Convert to use DMA pool

2015-11-17 Thread Stefan Wahren
Hi Peter, Am 17.11.2015 um 08:46 schrieb Peter Ujfalusi: Hi, On 11/16/2015 01:09 PM, Peter Ujfalusi wrote: f93178291712 dmaengine: bcm2835-dma: Fix memory leak when stopping a running transfer Fixed the memleak, but introduced another issue: the terminate_all callback might be ca

Re: [PATCH] dmaengine: bcm2835-dma: Convert to use DMA pool

2015-11-16 Thread Peter Ujfalusi
Hi, On 11/16/2015 01:09 PM, Peter Ujfalusi wrote: > f93178291712 dmaengine: bcm2835-dma: Fix memory leak when stopping a >running transfer > > Fixed the memleak, but introduced another issue: the terminate_all callback > might be called with interrupts disabled and the dma_free_cohere

[PATCH] dmaengine: bcm2835-dma: Convert to use DMA pool

2015-11-16 Thread Peter Ujfalusi
f93178291712 dmaengine: bcm2835-dma: Fix memory leak when stopping a running transfer Fixed the memleak, but introduced another issue: the terminate_all callback might be called with interrupts disabled and the dma_free_coherent() is not allowed to be called when IRQs are disabled. Co