Re: Userspace DMA

From: Alex Bennee
Date: Tue Nov 18 2003 - 10:11:10 EST


Now my mailer is fixed :-)

-----Forwarded Message-----
> From: Alex Bennee <kernel-hacker@xxxxxxxxxx>
> To: Peter Chubb <peter@xxxxxxxxxxxxxxxxxx>
> Cc: public@xxxxxxx, Linux Mailing List <linux-kernel@xxxxxxxxxxxxxxx>
> Subject: Re: Userspace DMA
> Date: Mon, 17 Nov 2003 10:37:40 +0000
>
> On Mon, 2003-11-17 at 04:34, Peter Chubb wrote:
> > >>>>> "Andrew" == Andrew Miklas <public@xxxxxxx> writes:
> > Andrew> Hi, Is there an accepted way of doing userspace DMA with
> > Andrew> Linux?
> >
> > I'm currently working on a framework for user-space device drivers,
> > that allow suitably privileged user-space programs to set up and tear
> > down dma regions
>
> Hi,
>
> I've also been doing some work on allowing user processes to access the
> DMA hardware facilities of the processor platform. This is not actually
> aimed at pci stuff but used for other devices on the embedded SH board I
> use. It works using a packetised writev interface to send DMA requests
> to kernel space where the mapping of memory is done. It really works
> best with scatter gather dma as user-pages can be spread out all over
> the place.
>
> Whether there is any overlap between my approach, what your doing and
> what Andrew is looking for I have no idea :-) I'm certainly interested
> in seeing any code if only for ideas.
>
> You can find an alpha (but working on my system) copy of the code at:
>
> http://www.bennee.com/~alex/software/kernel/index.php
--
Alex, homepage: http://www.bennee.com/~alex/
I used to get high on life but lately I've built up a resistance.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/