On 19-06-20, 11:15, Dave Jiang wrote: > > > On 6/17/2020 7:15 AM, Vinod Koul wrote: > > On 13-05-20, 11:47, Dave Jiang wrote: > > > The cookie tracking in dmaengine expects all submissions completed in > > > order. Some DMA devices like Intel DSA can complete submissions out of > > > order, especially if configured with a work queue sharing multiple DMA > > > engines. Add a status DMA_OUT_OF_ORDER that tx_status can be returned for > > > those DMA devices. The user should use callbacks to track the completion > > > rather than the DMA cookie. This would address the issue of dmatest > > > complaining that descriptors are "busy" when the cookie count goes > > > backwards due to out of order completion. Add DMA_COMPLETION_NO_ORDER > > > DMA capability to allow the driver to flag the device's ability to complete > > > operations out of order. > > > > Applied, thanks > > > > Thanks Vinod. I'm trying to find your branch that has this commit so I can > rebase against it, and I can't seem to find it. Urgh, infradead seems to have some issues and my push had failed, sorry I should have noticed. It is failing again for me, meanwhile use below mirror: git.kernel.org:pub/scm/linux/kernel/git/vkoul/slave-dma.git Thanks -- ~Vinod