* Re: [PATCH v7 00/14] crypto: add a new driver for Marvell's CESA [not found] ` <20150619142444.GA15234@gondor.apana.org.au> @ 2015-06-20 20:32 ` Paul Gortmaker 2015-06-21 0:14 ` Paul Gortmaker 0 siblings, 1 reply; 14+ messages in thread From: Paul Gortmaker @ 2015-06-20 20:32 UTC (permalink / raw) To: Herbert Xu Cc: Boris Brezillon, David S. Miller, linux-crypto, 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, linux-arm-kernel@lists.infradead.org, LKML On Fri, Jun 19, 2015 at 10:24 AM, Herbert Xu <herbert@gondor.apana.org.au> 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: 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. -- ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v7 00/14] crypto: add a new driver for Marvell's CESA 2015-06-20 20:32 ` [PATCH v7 00/14] crypto: add a new driver for Marvell's CESA Paul Gortmaker @ 2015-06-21 0:14 ` Paul Gortmaker 2015-06-21 8:24 ` Boris Brezillon 0 siblings, 1 reply; 14+ messages in thread From: Paul Gortmaker @ 2015-06-21 0:14 UTC (permalink / raw) To: Herbert Xu Cc: Boris Brezillon, David S. Miller, linux-crypto, 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, linux-arm-kernel@lists.infradead.org, LKML On Sat, Jun 20, 2015 at 4:32 PM, Paul Gortmaker <paul.gortmaker@windriver.com> wrote: > On Fri, Jun 19, 2015 at 10:24 AM, Herbert Xu > <herbert@gondor.apana.org.au> 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. > -- ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v7 00/14] crypto: add a new driver for Marvell's CESA 2015-06-21 0:14 ` Paul Gortmaker @ 2015-06-21 8:24 ` Boris Brezillon 2015-06-21 8:27 ` Herbert Xu 0 siblings, 1 reply; 14+ messages in thread From: Boris Brezillon @ 2015-06-21 8:24 UTC (permalink / raw) To: Paul Gortmaker Cc: Herbert Xu, David S. Miller, linux-crypto, 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, linux-arm-kernel@lists.infradead.org, LKML, Jason Gunthorpe <jguntho> Hi Paul, On Sat, 20 Jun 2015 20:14:08 -0400 Paul Gortmaker <paul.gortmaker@windriver.com> wrote: > On Sat, Jun 20, 2015 at 4:32 PM, Paul Gortmaker > <paul.gortmaker@windriver.com> wrote: > > On Fri, Jun 19, 2015 at 10:24 AM, Herbert Xu > > <herbert@gondor.apana.org.au> 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. Indeed. Here is a patch fixing that. Thanks, Boris --- >8 --- >From 891d4e5f185c39cd34b5859a1a63850ef997514d Mon Sep 17 00:00:00 2001 From: Boris Brezillon <boris.brezillon@free-electrons.com> Date: Sun, 21 Jun 2015 10:17:54 +0200 Subject: [PATCH] crypto: marvell/CESA: enforce dependency on ARM The CESA driver calls phys_to_virt() which is not available on all architectures. Enforce the dependency on ARM so that other architectures won't compile the driver even if COMPILE_TEST is set. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com> Suggested-by: Paul Gortmaker <paul.gortmaker@windriver.com> --- drivers/crypto/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index cdca762..b374d5d 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig @@ -176,7 +176,7 @@ config CRYPTO_DEV_MV_CESA config CRYPTO_DEV_MARVELL_CESA tristate "New Marvell's Cryptographic Engine driver" - depends on (PLAT_ORION || ARCH_MVEBU || COMPILE_TEST) && HAS_DMA && HAS_IOMEM + depends on (PLAT_ORION || ARCH_MVEBU || COMPILE_TEST) && HAS_DMA && HAS_IOMEM && ARM select CRYPTO_AES select CRYPTO_DES select CRYPTO_BLKCIPHER -- 1.9.1 -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com ^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH v7 00/14] crypto: add a new driver for Marvell's CESA 2015-06-21 8:24 ` Boris Brezillon @ 2015-06-21 8:27 ` Herbert Xu 2015-06-21 15:36 ` Boris Brezillon 2015-06-22 7:23 ` Boris Brezillon 0 siblings, 2 replies; 14+ messages in thread From: Herbert Xu @ 2015-06-21 8:27 UTC (permalink / raw) To: Boris Brezillon Cc: Paul Gortmaker, David S. Miller, linux-crypto, 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, linux-arm-kernel@lists.infradead.org, LKML, Jason Gunthorpe <jg> On Sun, Jun 21, 2015 at 10:24:18AM +0200, Boris Brezillon wrote: > > Indeed. Here is a patch fixing that. I think you should just kill COMPILE_TEST instead of adding ARM. Cheers, -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v7 00/14] crypto: add a new driver for Marvell's CESA 2015-06-21 8:27 ` Herbert Xu @ 2015-06-21 15:36 ` Boris Brezillon 2015-06-22 7:23 ` Boris Brezillon 1 sibling, 0 replies; 14+ messages in thread From: Boris Brezillon @ 2015-06-21 15:36 UTC (permalink / raw) To: Herbert Xu Cc: Paul Gortmaker, David S. Miller, linux-crypto, 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, linux-arm-kernel@lists.infradead.org, LKML, Jason Gunthorpe <jg> Hi Herbert, On Sun, 21 Jun 2015 16:27:17 +0800 Herbert Xu <herbert@gondor.apana.org.au> wrote: > On Sun, Jun 21, 2015 at 10:24:18AM +0200, Boris Brezillon wrote: > > > > Indeed. Here is a patch fixing that. > > I think you should just kill COMPILE_TEST instead of adding ARM. Okay, I guess I should also kill the HAS_DMA and HAS_IOMEM since PLAT_ORION and ARCH_MVEBU are guaranteed to have those options selected. -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v7 00/14] crypto: add a new driver for Marvell's CESA 2015-06-21 8:27 ` Herbert Xu 2015-06-21 15:36 ` Boris Brezillon @ 2015-06-22 7:23 ` Boris Brezillon 2015-06-22 7:59 ` Herbert Xu 1 sibling, 1 reply; 14+ messages in thread From: Boris Brezillon @ 2015-06-22 7:23 UTC (permalink / raw) To: Herbert Xu Cc: Paul Gortmaker, David S. Miller, linux-crypto, 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, linux-arm-kernel@lists.infradead.org, LKML, Jason Gunthorpe <jg> Hi Herbert, On Sun, 21 Jun 2015 16:27:17 +0800 Herbert Xu <herbert@gondor.apana.org.au> wrote: > On Sun, Jun 21, 2015 at 10:24:18AM +0200, Boris Brezillon wrote: > > > > Indeed. Here is a patch fixing that. > > I think you should just kill COMPILE_TEST instead of adding ARM. The following patch is killing the COMPILE_TEST dependency. -- >8 -- >From 772232fe4f5e597e45701dd9c3ab68c4a065342f Mon Sep 17 00:00:00 2001 From: Boris Brezillon <boris.brezillon@free-electrons.com> Date: Mon, 22 Jun 2015 09:22:14 +0200 Subject: [PATCH] crypto: marvell/CESA: remove COMPILE_TEST dependency The CESA driver calls phys_to_virt() which is not available on all architectures. Remove the depency on COMPILE_TEST to prevent building this driver on non ARM architectures. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com> Suggested-by: Herbert Xu <herbert@gondor.apana.org.au> --- drivers/crypto/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index cdca762..f965d0c 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig @@ -176,7 +176,7 @@ config CRYPTO_DEV_MV_CESA config CRYPTO_DEV_MARVELL_CESA tristate "New Marvell's Cryptographic Engine driver" - depends on (PLAT_ORION || ARCH_MVEBU || COMPILE_TEST) && HAS_DMA && HAS_IOMEM + depends on PLAT_ORION || ARCH_MVEBU select CRYPTO_AES select CRYPTO_DES select CRYPTO_BLKCIPHER -- 1.9.1 ^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH v7 00/14] crypto: add a new driver for Marvell's CESA 2015-06-22 7:23 ` Boris Brezillon @ 2015-06-22 7:59 ` Herbert Xu 2015-06-25 0:00 ` Paul Gortmaker 0 siblings, 1 reply; 14+ messages in thread From: Herbert Xu @ 2015-06-22 7:59 UTC (permalink / raw) To: Boris Brezillon Cc: Paul Gortmaker, David S. Miller, linux-crypto, 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, linux-arm-kernel@lists.infradead.org, LKML, Jason Gunthorpe <jg> On Mon, Jun 22, 2015 at 09:23:36AM +0200, Boris Brezillon wrote: > Hi Herbert, > > On Sun, 21 Jun 2015 16:27:17 +0800 > Herbert Xu <herbert@gondor.apana.org.au> wrote: > > > On Sun, Jun 21, 2015 at 10:24:18AM +0200, Boris Brezillon wrote: > > > > > > Indeed. Here is a patch fixing that. > > > > I think you should just kill COMPILE_TEST instead of adding ARM. > > The following patch is killing the COMPILE_TEST dependency. Patch applied. -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v7 00/14] crypto: add a new driver for Marvell's CESA 2015-06-22 7:59 ` Herbert Xu @ 2015-06-25 0:00 ` Paul Gortmaker 2015-06-25 0:33 ` Javier Martinez Canillas 0 siblings, 1 reply; 14+ messages in thread From: Paul Gortmaker @ 2015-06-25 0:00 UTC (permalink / raw) To: Herbert Xu Cc: Lior Amsalem, Andrew Lunn, Nadav Haklai, Mark Rutland, Boris Brezillon, Russell King - ARM Linux, Tawfik Bayouk, Eran Ben-Avi, Jason Gunthorpe, linux-next@vger.kernel.org, Sebastian Hesselbarth, devicetree, Jason Cooper, Pawel Moll, Ian Campbell, Arnaud Ebalard, Rob Herring, Gregory CLEMENT, linux-arm-kernel@lists.infradead.org, Thomas Petazzoni [Re: [PATCH v7 00/14] crypto: add a new driver for Marvell's CESA] On 22/06/2015 (Mon 15:59) Herbert Xu wrote: > On Mon, Jun 22, 2015 at 09:23:36AM +0200, Boris Brezillon wrote: > > Hi Herbert, > > > > On Sun, 21 Jun 2015 16:27:17 +0800 > > Herbert Xu <herbert@gondor.apana.org.au> wrote: > > > > > On Sun, Jun 21, 2015 at 10:24:18AM +0200, Boris Brezillon wrote: > > > > > > > > Indeed. Here is a patch fixing that. > > > > > > I think you should just kill COMPILE_TEST instead of adding ARM. > > > > The following patch is killing the COMPILE_TEST dependency. > > Patch applied. Just a heads up, this driver is still killing a couple of linux-next builds today and for the past few days. drivers/crypto/mv_cesa.c:1037:2: error: implicit declaration of function 'of_get_named_gen_pool' [-Werror=implicit-function-declaration] http://kisskb.ellerman.id.au/kisskb/buildresult/12448851/ http://kisskb.ellerman.id.au/kisskb/buildresult/12448776/ Missing dependency on CONFIG_OF_<blah> presumably. Paul. -- > -- > Email: Herbert Xu <herbert@gondor.apana.org.au> > Home Page: http://gondor.apana.org.au/~herbert/ > PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH v7 00/14] crypto: add a new driver for Marvell's CESA 2015-06-25 0:00 ` Paul Gortmaker @ 2015-06-25 0:33 ` Javier Martinez Canillas [not found] ` <CABxcv=m4juAMHaMYSB+8O8cEX+YZCJ0cArS2wN-YGpTBgWe-CA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 14+ messages in thread From: Javier Martinez Canillas @ 2015-06-25 0:33 UTC (permalink / raw) To: Paul Gortmaker Cc: Lior Amsalem, Andrew Lunn, Nadav Haklai, Mark Rutland, Boris Brezillon, Russell King - ARM Linux, Herbert Xu, Tawfik Bayouk, Eran Ben-Avi, Jason Gunthorpe, linux-next@vger.kernel.org, Sebastian Hesselbarth, devicetree@vger.kernel.org, Jason Cooper, Pawel Moll, Ian Campbell, Arnaud Ebalard, Rob Herring, Gregory CLEMENT, linux-arm-kernel@lists.infradead.org Hello Paul, On Thu, Jun 25, 2015 at 2:00 AM, Paul Gortmaker <paul.gortmaker@windriver.com> wrote: > [Re: [PATCH v7 00/14] crypto: add a new driver for Marvell's CESA] On 22/06/2015 (Mon 15:59) Herbert Xu wrote: > >> On Mon, Jun 22, 2015 at 09:23:36AM +0200, Boris Brezillon wrote: >> > Hi Herbert, >> > >> > On Sun, 21 Jun 2015 16:27:17 +0800 >> > Herbert Xu <herbert@gondor.apana.org.au> wrote: >> > >> > > On Sun, Jun 21, 2015 at 10:24:18AM +0200, Boris Brezillon wrote: >> > > > >> > > > Indeed. Here is a patch fixing that. >> > > >> > > I think you should just kill COMPILE_TEST instead of adding ARM. >> > >> > The following patch is killing the COMPILE_TEST dependency. >> >> Patch applied. > > Just a heads up, this driver is still killing a couple of linux-next > builds today and for the past few days. > > drivers/crypto/mv_cesa.c:1037:2: error: implicit declaration of function > 'of_get_named_gen_pool' [-Werror=implicit-function-declaration] > > http://kisskb.ellerman.id.au/kisskb/buildresult/12448851/ > http://kisskb.ellerman.id.au/kisskb/buildresult/12448776/ > > Missing dependency on CONFIG_OF_<blah> presumably. > I haven't looked at the series but <linux/genalloc.h> has a stub of_get_named_gen_pool() function if CONFIG_OF is not enabled [0]. So it seems that the problem is rather that the header is not being included in some file. > Paul. > -- > Best regards, Javier [0]: http://lxr.free-electrons.com/source/include/linux/genalloc.h#L131 ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <CABxcv=m4juAMHaMYSB+8O8cEX+YZCJ0cArS2wN-YGpTBgWe-CA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* [PATCH] crypto: mv_cesa - fix up for of_get_named_gen_pool() rename [not found] ` <CABxcv=m4juAMHaMYSB+8O8cEX+YZCJ0cArS2wN-YGpTBgWe-CA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2015-06-25 8:37 ` Simon Guinot 2015-06-25 15:30 ` Herbert Xu 0 siblings, 1 reply; 14+ messages in thread From: Simon Guinot @ 2015-06-25 8:37 UTC (permalink / raw) To: Herbert Xu, Boris Brezillon Cc: Lior Amsalem, Andrew Lunn, Nadav Haklai, Mark Rutland, Russell King - ARM Linux, Tawfik Bayouk, Eran Ben-Avi, Jason Gunthorpe, linux-next-u79uwXL29TY76Z2rM5mHXA, Sebastian Hesselbarth, devicetree-u79uwXL29TY76Z2rM5mHXA, Jason Cooper, Pawel Moll, Ian Campbell, Arnaud Ebalard, Rob Herring, Gregory CLEMENT, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Thomas Petazzoni, LKML, linux-crypto-u79uwXL29TY76Z2rM5mHXA, Kumar Gala, Imre Kaloz This patch fixes the following build error: drivers/crypto/mv_cesa.c: In function 'mv_cesa_get_sram': drivers/crypto/mv_cesa.c:1037: error: implicit declaration of function 'of_get_named_gen_pool' drivers/crypto/mv_cesa.c:1038: warning: assignment makes pointer from integer without a cast scripts/Makefile.build:258: recipe for target 'drivers/crypto/mv_cesa.o' failed Signed-off-by: Simon Guinot <simon.guinot-jKBdWWKqtFpg9hUCZPvPmw@public.gmane.org> --- drivers/crypto/mv_cesa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/mv_cesa.c b/drivers/crypto/mv_cesa.c index 5bcd575fa96f..e6b658faef63 100644 --- a/drivers/crypto/mv_cesa.c +++ b/drivers/crypto/mv_cesa.c @@ -1034,8 +1034,8 @@ static int mv_cesa_get_sram(struct platform_device *pdev, &sram_size); cp->sram_size = sram_size; - cp->sram_pool = of_get_named_gen_pool(pdev->dev.of_node, - "marvell,crypto-srams", 0); + cp->sram_pool = of_gen_pool_get(pdev->dev.of_node, + "marvell,crypto-srams", 0); if (cp->sram_pool) { cp->sram = gen_pool_dma_alloc(cp->sram_pool, sram_size, &cp->sram_dma); -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: [PATCH] crypto: mv_cesa - fix up for of_get_named_gen_pool() rename 2015-06-25 8:37 ` [PATCH] crypto: mv_cesa - fix up for of_get_named_gen_pool() rename Simon Guinot @ 2015-06-25 15:30 ` Herbert Xu 2015-06-25 15:41 ` Paul Gortmaker 2015-06-25 15:56 ` Simon Guinot 0 siblings, 2 replies; 14+ messages in thread From: Herbert Xu @ 2015-06-25 15:30 UTC (permalink / raw) To: Simon Guinot Cc: Boris Brezillon, Lior Amsalem, Andrew Lunn, Nadav Haklai, Mark Rutland, Russell King - ARM Linux, Tawfik Bayouk, Eran Ben-Avi, Jason Gunthorpe, linux-next, Sebastian Hesselbarth, devicetree, Jason Cooper, Pawel Moll, Ian Campbell, Arnaud Ebalard, Rob Herring, Gregory CLEMENT, linux-arm-kernel, Thomas Petazzoni, LKML, linux-crypto On Thu, Jun 25, 2015 at 10:37:50AM +0200, Simon Guinot wrote: > This patch fixes the following build error: > > drivers/crypto/mv_cesa.c: In function 'mv_cesa_get_sram': > drivers/crypto/mv_cesa.c:1037: error: implicit declaration of function 'of_get_named_gen_pool' > drivers/crypto/mv_cesa.c:1038: warning: assignment makes pointer from integer without a cast > scripts/Makefile.build:258: recipe for target 'drivers/crypto/mv_cesa.o' failed > > Signed-off-by: Simon Guinot <simon.guinot@sequanux.org> This patch doesn't compile. -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] crypto: mv_cesa - fix up for of_get_named_gen_pool() rename 2015-06-25 15:30 ` Herbert Xu @ 2015-06-25 15:41 ` Paul Gortmaker 2015-06-25 15:56 ` Simon Guinot 1 sibling, 0 replies; 14+ messages in thread From: Paul Gortmaker @ 2015-06-25 15:41 UTC (permalink / raw) To: Herbert Xu Cc: Simon Guinot, Boris Brezillon, Lior Amsalem, Andrew Lunn, Nadav Haklai, Mark Rutland, Russell King - ARM Linux, Tawfik Bayouk, Eran Ben-Avi, Jason Gunthorpe, linux-next@vger.kernel.org, Sebastian Hesselbarth, devicetree, Jason Cooper, Pawel Moll, Ian Campbell, Arnaud Ebalard, Rob Herring, Gregory CLEMENT, linux-arm-kernel@lists.infradead.org, Thomas On Thu, Jun 25, 2015 at 11:30 AM, Herbert Xu <herbert@gondor.apana.org.au> wrote: > On Thu, Jun 25, 2015 at 10:37:50AM +0200, Simon Guinot wrote: >> This patch fixes the following build error: >> >> drivers/crypto/mv_cesa.c: In function 'mv_cesa_get_sram': >> drivers/crypto/mv_cesa.c:1037: error: implicit declaration of function 'of_get_named_gen_pool' >> drivers/crypto/mv_cesa.c:1038: warning: assignment makes pointer from integer without a cast >> scripts/Makefile.build:258: recipe for target 'drivers/crypto/mv_cesa.o' failed >> >> Signed-off-by: Simon Guinot <simon.guinot@sequanux.org> > > This patch doesn't compile. As sfr pointed out, this is an interaction with a rename patch in the akpm tree; sfr added a fixup patch here last night: https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?h=akpm "crypto: marvell/cesa - another fix up for of_get_named_gen_pool() rename" Paul. -- > -- > Email: Herbert Xu <herbert@gondor.apana.org.au> > Home Page: http://gondor.apana.org.au/~herbert/ > PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt > -- > To unsubscribe from this list: send the line "unsubscribe linux-next" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] crypto: mv_cesa - fix up for of_get_named_gen_pool() rename 2015-06-25 15:30 ` Herbert Xu 2015-06-25 15:41 ` Paul Gortmaker @ 2015-06-25 15:56 ` Simon Guinot 2015-06-26 8:32 ` Herbert Xu 1 sibling, 1 reply; 14+ messages in thread From: Simon Guinot @ 2015-06-25 15:56 UTC (permalink / raw) To: Herbert Xu Cc: Lior Amsalem, Andrew Lunn, Nadav Haklai, Mark Rutland, Boris Brezillon, Russell King - ARM Linux, Tawfik Bayouk, Eran Ben-Avi, Jason Gunthorpe, linux-next, Sebastian Hesselbarth, devicetree, Jason Cooper, Pawel Moll, Ian Campbell, Arnaud Ebalard, Rob Herring, Gregory CLEMENT, linux-arm-kernel, Thomas Petazzoni, LKML, linux-crypto [-- Attachment #1: Type: text/plain, Size: 748 bytes --] On Thu, Jun 25, 2015 at 11:30:06PM +0800, Herbert Xu wrote: > On Thu, Jun 25, 2015 at 10:37:50AM +0200, Simon Guinot wrote: > > This patch fixes the following build error: > > > > drivers/crypto/mv_cesa.c: In function 'mv_cesa_get_sram': > > drivers/crypto/mv_cesa.c:1037: error: implicit declaration of function 'of_get_named_gen_pool' > > drivers/crypto/mv_cesa.c:1038: warning: assignment makes pointer from integer without a cast > > scripts/Makefile.build:258: recipe for target 'drivers/crypto/mv_cesa.o' failed > > > > Signed-off-by: Simon Guinot <simon.guinot@sequanux.org> > > This patch doesn't compile. It does compile. How it could not ? But since the issue has already been fixed, it doesn't really matter. Simon [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 181 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] crypto: mv_cesa - fix up for of_get_named_gen_pool() rename 2015-06-25 15:56 ` Simon Guinot @ 2015-06-26 8:32 ` Herbert Xu 0 siblings, 0 replies; 14+ messages in thread From: Herbert Xu @ 2015-06-26 8:32 UTC (permalink / raw) To: Simon Guinot Cc: Lior Amsalem, Andrew Lunn, Nadav Haklai, Mark Rutland, Boris Brezillon, Russell King - ARM Linux, Tawfik Bayouk, Eran Ben-Avi, Jason Gunthorpe, linux-next, Sebastian Hesselbarth, devicetree, Jason Cooper, Pawel Moll, Ian Campbell, Arnaud Ebalard, Rob Herring, Gregory CLEMENT, linux-arm-kernel, Thomas Petazzoni, LKML, linux-crypto On Thu, Jun 25, 2015 at 05:56:05PM +0200, Simon Guinot wrote: > On Thu, Jun 25, 2015 at 11:30:06PM +0800, Herbert Xu wrote: > > On Thu, Jun 25, 2015 at 10:37:50AM +0200, Simon Guinot wrote: > > > This patch fixes the following build error: > > > > > > drivers/crypto/mv_cesa.c: In function 'mv_cesa_get_sram': > > > drivers/crypto/mv_cesa.c:1037: error: implicit declaration of function 'of_get_named_gen_pool' > > > drivers/crypto/mv_cesa.c:1038: warning: assignment makes pointer from integer without a cast > > > scripts/Makefile.build:258: recipe for target 'drivers/crypto/mv_cesa.o' failed > > > > > > Signed-off-by: Simon Guinot <simon.guinot@sequanux.org> > > > > This patch doesn't compile. > > It does compile. How it could not ? > But since the issue has already been fixed, it doesn't really matter. It breaks the build of mv_cesa in the crypto tree as well as the cryptodev tree while without your patch the mv_cesa builds just fine. If your patch isn't meant for these trees then you should clearly say so. Thanks, -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt ^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2015-06-26 8:32 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1434635190-27733-1-git-send-email-boris.brezillon@free-electrons.com>
[not found] ` <20150619142444.GA15234@gondor.apana.org.au>
2015-06-20 20:32 ` [PATCH v7 00/14] crypto: add a new driver for Marvell's CESA Paul Gortmaker
2015-06-21 0:14 ` Paul Gortmaker
2015-06-21 8:24 ` Boris Brezillon
2015-06-21 8:27 ` Herbert Xu
2015-06-21 15:36 ` Boris Brezillon
2015-06-22 7:23 ` Boris Brezillon
2015-06-22 7:59 ` Herbert Xu
2015-06-25 0:00 ` Paul Gortmaker
2015-06-25 0:33 ` Javier Martinez Canillas
[not found] ` <CABxcv=m4juAMHaMYSB+8O8cEX+YZCJ0cArS2wN-YGpTBgWe-CA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-06-25 8:37 ` [PATCH] crypto: mv_cesa - fix up for of_get_named_gen_pool() rename Simon Guinot
2015-06-25 15:30 ` Herbert Xu
2015-06-25 15:41 ` Paul Gortmaker
2015-06-25 15:56 ` Simon Guinot
2015-06-26 8:32 ` Herbert Xu
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox