RE: [PATCH v5 5/6] fsl-dma: use spin_lock_bh to instead of spin_lock_irqsave

2012-08-01 Thread Liu Qiang-B32616
d Koul; Tabi Timur- > B04825; herb...@gondor.hengli.com.au; Dan Williams; da...@davemloft.net > Subject: Re: [PATCH v5 5/6] fsl-dma: use spin_lock_bh to instead of > spin_lock_irqsave > > On Wed, Aug 01, 2012 at 04:50:09PM +0800, qiang@freescale.com wrote: > > From: Qiang L

Re: [PATCH v5 5/6] fsl-dma: use spin_lock_bh to instead of spin_lock_irqsave

2012-08-01 Thread Ira W. Snyder
On Wed, Aug 01, 2012 at 04:50:09PM +0800, qiang@freescale.com wrote: > From: Qiang Liu > > - use spin_lock_bh() is the right way to use async_tx api, > dma_run_dependencies() should not be protected by spin_lock_irqsave(); > - use spin_lock_bh to instead of spin_lock_irqsave for improving per

[PATCH v5 5/6] fsl-dma: use spin_lock_bh to instead of spin_lock_irqsave

2012-08-01 Thread qiang.liu
From: Qiang Liu - use spin_lock_bh() is the right way to use async_tx api, dma_run_dependencies() should not be protected by spin_lock_irqsave(); - use spin_lock_bh to instead of spin_lock_irqsave for improving performance, There is not any place to access descriptor queues in fsl-dma ISR except