Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932269AbVLIHMm (ORCPT ); Fri, 9 Dec 2005 02:12:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932384AbVLIHMm (ORCPT ); Fri, 9 Dec 2005 02:12:42 -0500 Received: from relay.2ka.mipt.ru ([194.85.82.65]:16864 "EHLO 2ka.mipt.ru") by vger.kernel.org with ESMTP id S932269AbVLIHMl (ORCPT ); Fri, 9 Dec 2005 02:12:41 -0500 Date: Fri, 9 Dec 2005 10:12:28 +0300 From: Evgeniy Polyakov To: Kumar Gala Cc: Jeff Garzik , Andrew Grover , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, john.ronciak@intel.com, christopher.leech@intel.com Subject: Re: [RFC] [PATCH 0/3] ioat: DMA engine support Message-ID: <20051209071228.GB19920@2ka.mipt.ru> References: <4384F3AD.4080105@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.7.5 (2ka.mipt.ru [0.0.0.0]); Fri, 09 Dec 2005 10:12:29 +0300 (MSK) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1917 Lines: 49 On Thu, Dec 08, 2005 at 04:13:52PM -0600, Kumar Gala (galak@gate.crashing.org) wrote: > 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. Acrypto supports crypto processing directly in userspace pages. In 2.6 it is quite easy using get_user_pages(). > - kumar > > - > To unsubscribe from this list: send the line "unsubscribe netdev" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Evgeniy Polyakov - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/