[PATCH 1/3] dmaengine: add possibility for cyclic transfers

Linus Walleij linus.ml.walleij at gmail.com
Mon Aug 16 08:27:15 EDT 2010


2010/8/16 Lothar Waßmann <LW at karo-electronics.de>:

> Why not implement this feature using cyclic SG lists (created with
> sg_chain())? This would give you endless DMA transfers without any
> special DMA API extensions.

That would be elegant...

The driver will have to detect that the sglist is chained like an
ouroboros to program the DMAC apropriately, is is easy to
detect if an sglist is chained onto itself?

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list