[RFC 24/34] dmaengine: PL08x: split the pend_list in two

Linus Walleij linus.walleij at linaro.org
Wed May 30 21:20:31 EDT 2012


On Tue, May 29, 2012 at 5:43 PM, Russell King
<rmk+kernel at arm.linux.org.uk> wrote:

> Our behaviour wasn't correct; issue_pending is supposed to be called
> before any submitted descriptors are available for processing by the
> DMA engine.  Split the pend_list in two, one for submitted descriptors
> and another list for issued descriptors.
>
> Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>

I suspect many DMAengine drivers get this wrong, or rather, they merge the
semantics for submitted/issued like this driver used to do.

Dan, please check this, we might need to notify a few driver maintainers to
look at this and add TODO:s to their driver files.

Acked-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list