[RFC 26/34] dmaengine: PL08x: rejig physical channel allocation

Linus Walleij linus.walleij at linaro.org
Wed May 30 21:23:13 EDT 2012


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

> Rework the physical channel allocation mechanism to only allocate
> physical channels to virtual channels when they're about to be used.
> This eliminates all the complexity with holding channels while
> descriptors are being prepared, which is completely unnecessary.
>
> This also brings this driver to a state where the generic virtual DMA
> code can be used with this driver, and opens up the possibility of
> properly scheduling and prioritorising physical DMA channels to
> virtual DMA channels.
>
> Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>

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

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list