From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from deadmen.hmeau.com (orcrist.hmeau.com [104.223.48.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3zyWGv3wLjzF1rN for ; Sat, 10 Mar 2018 02:18:13 +1100 (AEDT) Date: Fri, 9 Mar 2018 23:17:59 +0800 From: Herbert Xu To: Christophe Leroy Cc: "David S. Miller" , Horia Geanta , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH 2/2] crypto: talitos - do not perform unnecessary dma synchronisation Message-ID: <20180309151759.GD13567@gondor.apana.org.au> References: <7c934f0788d60bd82fb1cb51d712c9ab1ea7fcb4.1519660621.git.christophe.leroy@c-s.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, Feb 26, 2018 at 05:40:06PM +0100, Christophe Leroy wrote: > req_ctx->hw_context is mainly used only by the HW. So it is not needed > to sync the HW and the CPU each time hw_context in DMA mapped. > This patch modifies the DMA mapping in order to limit synchronisation > to necessary situations. > > Signed-off-by: Christophe Leroy Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt