Generic DMA Core

Adrian Cox adrian at
Thu Apr 1 17:01:44 EST 2004

On Wed, 2004-03-31 at 18:44, John Whitney wrote:
> I have written a generic DMA core driver (drivers/dma/) that accepts
> registrations from low-level DMA hardware drivers (providers).  I've
> also written a provider driver for the MPC10x dual-channel DMA
> controller.
> [...]
> Is there any interest in this code, and if so, what would be the best
> way for going about getting it included in the kernel?

I'd be interested in seeing it. I experimented with something similar
for Linux 2.4.

As for getting into the kernel, the main problem I see is that currently
nothing else uses it. You may need to do a couple of things: write a
dummy provider for machines without DMA engines, and use it to
accelerate an existing process.

The main use of these DMA engines is to transfer data to PCI cards which
lack built-in DMA. So you probably need to find some examples and modify
them to use your API.

- Adrian Cox

** Sent via the linuxppc-dev mail list. See

More information about the Linuxppc-dev mailing list