Re: [PATCH] dmaengine: pl330: fix a race condition in case of threaded irqs

2018-03-06 Thread Vinod Koul
On Tue, Mar 06, 2018 at 09:13:37AM +0800, Qi Hou wrote: > When booting up with "threadirqs" in command line, all irq handlers of the DMA > controller pl330 will be threaded forcedly. These threads will race for the > same > list, pl330->req_done. > > Before the callback, the spinlock was

Re: [PATCH] dmaengine: pl330: fix a race condition in case of threaded irqs

2018-03-06 Thread Vinod Koul
On Tue, Mar 06, 2018 at 09:13:37AM +0800, Qi Hou wrote: > When booting up with "threadirqs" in command line, all irq handlers of the DMA > controller pl330 will be threaded forcedly. These threads will race for the > same > list, pl330->req_done. > > Before the callback, the spinlock was