dmaengine: Can we schedule new transfer from dma callback routine??

Russell King - ARM Linux linux at
Fri Apr 15 05:15:29 EDT 2011

On Fri, Apr 15, 2011 at 12:15:43PM +0530, viresh kumar wrote:
> There is one more issue in the current DW_DMAC driver.
> As most of interrupt processing is done in tasklet, spin_lock_bh() is used
> in almost every routine.

As you can't use spin_lock_bh() from IRQ context (you'll get a lockdep
warning) these need to be converted to being the irqsave versions.
That's probably the easiest fix.

More information about the linux-arm-kernel mailing list