From: Herbert Xu Subject: Re: [PATCH] crypto: fix handling of sg buffers in ixp4xx driver Date: Fri, 27 Mar 2009 15:09:30 +0800 Message-ID: <20090327070930.GA27346@gondor.apana.org.au> References: <20090226232025.GE5811@n2100.arm.linux.org.uk> <20090227005033.GA20046@gondor.apana.org.au> <20090302114511.GE6283@elara.bln.innominate.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: Christian Hohnstaedt , Russell King - ARM Linux , karl@hiramoto.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, l Return-path: Received: from rhun.apana.org.au ([64.62.148.172]:44629 "EHLO arnor.apana.org.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750699AbZC0HJ5 (ORCPT ); Fri, 27 Mar 2009 03:09:57 -0400 Content-Disposition: inline In-Reply-To: <20090302114511.GE6283@elara.bln.innominate.local> Sender: linux-crypto-owner@vger.kernel.org List-ID: On Mon, Mar 02, 2009 at 12:45:12PM +0100, Christian Hohnstaedt wrote: > > - keep dma functions away from chained scatterlists. > Use the existing scatterlist iteration inside the driver > to call dma_map_single() for each chunk and avoid dma_map_sg(). > > Signed-off-by: Christian Hohnstaedt > Tested-By: Karl Hiramoto Applied to crypto-2.6. Thanks! -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt