[PATCH] DMA: extend documentation to provide more API details
Guennadi Liakhovetski
g.liakhovetski at gmx.de
Mon Oct 7 11:28:37 EDT 2013
On Mon, 7 Oct 2013, Vinod Koul wrote:
> On Mon, Oct 07, 2013 at 02:15:22PM +0200, Guennadi Liakhovetski wrote:
> > On Mon, 7 Oct 2013, Vinod Koul wrote:
> >
> > > On Mon, Oct 07, 2013 at 12:17:28PM +0100, Russell King - ARM Linux wrote:
> > > > On Mon, Oct 07, 2013 at 12:45:33PM +0200, Guennadi Liakhovetski wrote:
> > > > > No, not something in the middle. I was thinking about
> > > > >
> > > > > (1) cookie 1-3 are submitted
> > > > > (2) cookie 1 succeeds
> > > > > (3) a DMA error occurs, cookies 2-3 are discarded
> > > discarded using terminate_all right?
> >
> > No, by the dmaengine driver as a part of the error processing.
> And how will that be done...?
Sorry, I meant - DMA descriptors with cookies #2 and #3 will be cancelled
and recycled by the dmaengine driver. That's what you have to do, when
processing DMA error IRQ.
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
More information about the linux-arm-kernel
mailing list