Thread (80 messages) 80 messages, 4 authors, 2012-06-04

[RFC 03/34] dmaengine: virt-dma: add support for cyclic DMA periodic callbacks

From: Linus Walleij <hidden>
Date: 2012-05-30 07:52:53

On Tue, May 29, 2012 at 5:36 PM, Russell King
[off-list ref] wrote:
Add support for cyclic DMA's periodic callbacks. ?Drivers are expected
to call vchan_cyclic_callback() when a period has completed, which will
schedule the tasklet to make the callback into the driver.

As callbacks are made from tasklet context, it is important to realise
that we don't guarantee a callback for each completed period, but for
N completed periods where N may be greater than one.
This last thing was something we have to fix right?
Like for each driver to keep a counter of completed periods
and call the handler repeatedly if N > 1.

Anyway this doesn't make the problem worse in any way so
Acked-by: Linus Walleij <redacted>

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help