Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966093AbeAJQXY (ORCPT + 1 other); Wed, 10 Jan 2018 11:23:24 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:38824 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965681AbeAJQXW (ORCPT ); Wed, 10 Jan 2018 11:23:22 -0500 Date: Wed, 10 Jan 2018 17:23:20 +0100 From: Boris Brezillon To: Christoph Hellwig Cc: Robin Murphy , arno@natisbad.org, herbert@gondor.apana.org.au, davem@davemloft.net, linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] crypto: marvell/cesa - Fix DMA API misuse Message-ID: <20180110172320.5ab39e43@bbrezillon> In-Reply-To: <20180110154817.GA18707@lst.de> References: <55d3177407b00dd4a9d51fe4f8e2bf2282fe8e3d.1515596541.git.robin.murphy@arm.com> <20180110162522.580089a5@bbrezillon> <20180110154817.GA18707@lst.de> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Hi Christoph, On Wed, 10 Jan 2018 16:48:17 +0100 Christoph Hellwig wrote: > On Wed, Jan 10, 2018 at 04:25:22PM +0100, Boris Brezillon wrote: > > On Wed, 10 Jan 2018 15:15:43 +0000 > > Robin Murphy wrote: > > > > > phys_to_dma() is an internal helper for certain DMA API implementations, > > > and is not appropriate for drivers to use. It appears that what the CESA > > > driver really wants to be using is dma_map_resource() - admittedly that > > > didn't exist when the offending code was first merged, but it does now. > > > > > > Signed-off-by: Robin Murphy > > > > Acked-by: Boris Brezillon > > Thanks. Robin, Boris: do you want me to pick this up in the > dma-mapping tree and move it before the dma-direct.h introduction? You should probably sync with Herbert, I'm just the maintainer of this driver, not the crypto subsystem. Regards, Boris