On 16-12-19, 11:53, Sascha Hauer wrote: > Several drivers call vchan_dma_desc_free_list() or vchan_vdesc_fini() under > &vc->lock. This is not allowed and the first two patches fix this up. If you > are a DMA driver maintainer, the first two patches are the reason you are on > Cc. > > The remaining patches are the original purpose of this series: > The i.MX SDMA driver leaks memory when a currently running descriptor is > aborted. Calling vchan_terminate_vdesc() on it to fix this revealed that > the virt-dma support calls the desc_free with the spin_lock held. This > doesn't work for the SDMA driver because it calls dma_free_coherent in > its desc_free hook. This series aims to fix that up. Applied all, thanks -- ~Vinod