Re: [RFC] [PATCH 0/3] ioat: DMA engine support

From: Kumar Gala
Date: Thu Dec 08 2005 - 17:17:09 EST


On Wed, 23 Nov 2005, Jeff Garzik wrote:

> Alan Cox wrote:
> >>Additionally, current IOAT is memory->memory. I would love to be able
> >>to convince Intel to add transforms and checksums,
> >
> >
> > Not just transforms but also masks and maybe even merges and textures
> > would be rather handy 8)
>
>
> Ah yes: I totally forgot to mention XOR.
>
> Software RAID would love that.

A number of embedded processors already have HW that does these kinda of
things. On Freescale PPC processors there have been general purpose DMA
engines for mem<->mem and more recently and additional crypto engines that
allow for hashing, XOR, and security.

I'm actually searching for any examples of drivers that deal with the
issues related to DMA'ng directly two and from user space memory.

I have an ioctl based driver that does copies back and forth between user
and kernel space and would like to remove that since the crypto engine has
full scatter/gather capability.

The only significant effort I've come across is Peter Chubb's work for
user mode drivers which has some code for handling pinning of the user
space memory and what looks like generation of a scatter list.

- kumar

-
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/