From: Paul Gortmaker Subject: Re: [PATCH v7 00/14] crypto: add a new driver for Marvell's CESA Date: Sat, 20 Jun 2015 20:14:08 -0400 Message-ID: References: <1434635190-27733-1-git-send-email-boris.brezillon@free-electrons.com> <20150619142444.GA15234@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: Boris Brezillon , "David S. Miller" , linux-crypto@vger.kernel.org, Arnaud Ebalard , Tawfik Bayouk , Lior Amsalem , Nadav Haklai , Eran Ben-Avi , Thomas Petazzoni , Gregory CLEMENT , Jason Cooper , Sebastian Hesselbarth , Andrew Lunn , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , devicetree@vger.kernel.org, "linux-arm-kernel@lists.infradead.org" , LKML , Jason Guntho To: Herbert Xu Return-path: In-Reply-To: Sender: linux-next-owner@vger.kernel.org List-Id: linux-crypto.vger.kernel.org On Sat, Jun 20, 2015 at 4:32 PM, Paul Gortmaker wrote: > On Fri, Jun 19, 2015 at 10:24 AM, Herbert Xu > wrote: >> On Thu, Jun 18, 2015 at 03:46:16PM +0200, Boris Brezillon wrote: >>> Hello, >>> >>> This patch series adds a new driver supporting Marvell's CESA IP. >>> This driver addresses some limitations of the existing one. >>> >From a performance and CPU load point of view the most important >>> limitation in the existing driver is the lack of DMA support, thus >>> preventing us from chaining crypto operations. >> >> All applied to cryptodev. Thanks a lot! > > It seems this breaks linux-next allmodconfig on i386: Similar breakage for s390 and sparc it seems: drivers/crypto/marvell/cesa.c:353:2: error: implicit declaration of function 'phys_to_dma' [-Werror=implicit-function-declaration] http://kisskb.ellerman.id.au/kisskb/buildresult/12445415/ http://kisskb.ellerman.id.au/kisskb/buildresult/12445345/ If the CESA IP is only available on a single arch then adding an arch dependency might be the easiest fix, since phys_to_dma seems sparsely implemented. Paul. -- > > http://kisskb.ellerman.id.au/kisskb/buildresult/12445342/ > > ERROR: "phys_to_dma" [drivers/crypto/marvell/marvell-cesa.ko] undefined! > make[2]: *** [__modpost] Error 1 > > Paul. > --