From owner-freebsd-hackers@FreeBSD.ORG Mon May 3 20:52:39 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B135A106564A for ; Mon, 3 May 2010 20:52:39 +0000 (UTC) (envelope-from kristof@sigsegv.be) Received: from juliette.telenet-ops.be (juliette.telenet-ops.be [195.130.137.74]) by mx1.freebsd.org (Postfix) with ESMTP id 194768FC1F for ; Mon, 3 May 2010 20:52:38 +0000 (UTC) Received: from triton.sigsegv.be ([213.119.97.224]) by juliette.telenet-ops.be with bizsmtp id D8sd1e0034qUA0t068sdC6; Mon, 03 May 2010 22:52:37 +0200 Received: from nereid (nereid.neptune.sigsegv.be [IPv6:2001:470:c8f4:0:200:ff:fe00:8]) by triton.sigsegv.be (Postfix) with SMTP id 175F61C157; Mon, 3 May 2010 22:52:36 +0200 (CEST) Received: by nereid (sSMTP sendmail emulation); Mon, 03 May 2010 22:52:35 +0200 Date: Mon, 3 May 2010 22:52:35 +0200 From: Kristof Provost To: Rafal Jaworowski Message-ID: <20100503205235.GE24372@nereid> References: <61BCAC8D-B468-41BD-9537-6DC6E5AFB834@semihalf.com> <20100503195107.GC24372@nereid> <8CE0B65C-58CE-44AA-9DF1-804F03769DD1@semihalf.com> <20100503202220.GD24372@nereid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-PGP-Fingerprint: 6B6E 5EED 8ECF FAE7 1F61 7458 5046 7D0E 11B0 0EE8 User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-hackers@freebsd.org, Jakub Klama Subject: Re: GSoC: Generic DMA engine framework X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 May 2010 20:52:39 -0000 On 2010-05-03 22:47:31 (+0200), Rafal Jaworowski wrote: > > On 2010-05-03, at 22:22, Kristof Provost wrote: > > > On 2010-05-03 22:12:28 (+0200), Rafal Jaworowski wrote: > >> > >> Not sure how far you went with the crypto engine work, but be advised we already have completed the CESA driver, only I haven't managed to commit the code yet.. Let me know if you'd like to see / test drive this. > > Yes, I'd be quite interested to see how my attempts compare to your > > work. Does it support the Sheevaplug SoC or the 88F5182 (Orion)? I > > didn't study the Sheevaplug documentation in great detail but I believe > > the CESA is similar (but not identical) on the two chips. > > I believe the 88F5182 has CESA as well, although as far I can see the main difference is that while the 88F6xxx (and MV-78xxx) CESA has an associated (to some extent can be considered as dedicated) TDMA engine, the one in 88F5182 does not, and can only use the generic purpose engine (IDMA). Our driver assumes TDMA and was only tested with 88F6xxx and 78xxx, so it seems there's some work involved with getting this to work on the 5182. Let me carve the code out for your reference so that you can try to extend it to work wirh Orion. > Thanks. > >> BTW: out of curiousity, what is the platform based on 88F5281 you're using? > > It's a TS-7800: > > http://www.embeddedarm.com/products/board-detail.php?product=TS-7800 > > Does the generic DB-88F5XXX kernel config and existing code work with this device, or have you had to modify anything? > I've disabled PCI but that's about it. Regards, Kristof