linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] crypto: s5p-sss - Enable COMPILE_TEST
@ 2016-03-14  4:20 Krzysztof Kozlowski
  2016-03-14 22:34 ` Vladimir Zapolskiy
  0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2016-03-14  4:20 UTC (permalink / raw)
  To: Herbert Xu, David S. Miller, linux-crypto, linux-kernel,
	linux-samsung-soc
  Cc: Krzysztof Kozlowski

Get some build coverage of S5P/Exynos AES H/W acceleration driver.
Driver uses DMA and devm_ioremap_resource() so add DMA and IOMEM
dependencies for the compile testing.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>

---

Compile-tested on x86, x86_64, ppc64, arm, arm64 and mips.
---
 drivers/crypto/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index 477fffdb4f49..7a51ac0ac290 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -342,7 +342,8 @@ config CRYPTO_DEV_SAHARA
 
 config CRYPTO_DEV_S5P
 	tristate "Support for Samsung S5PV210/Exynos crypto accelerator"
-	depends on ARCH_S5PV210 || ARCH_EXYNOS
+	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
+	depends on HAS_IOMEM && HAS_DMA
 	select CRYPTO_AES
 	select CRYPTO_BLKCIPHER
 	help
-- 
2.5.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] crypto: s5p-sss - Enable COMPILE_TEST
  2016-03-14  4:20 [PATCH] crypto: s5p-sss - Enable COMPILE_TEST Krzysztof Kozlowski
@ 2016-03-14 22:34 ` Vladimir Zapolskiy
  0 siblings, 0 replies; 2+ messages in thread
From: Vladimir Zapolskiy @ 2016-03-14 22:34 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Herbert Xu, David S. Miller, linux-crypto,
	linux-kernel, linux-samsung-soc

On 14.03.2016 06:20, Krzysztof Kozlowski wrote:
> Get some build coverage of S5P/Exynos AES H/W acceleration driver.
> Driver uses DMA and devm_ioremap_resource() so add DMA and IOMEM
> dependencies for the compile testing.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> 
> ---
> 
> Compile-tested on x86, x86_64, ppc64, arm, arm64 and mips.
> ---
>  drivers/crypto/Kconfig | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
> index 477fffdb4f49..7a51ac0ac290 100644
> --- a/drivers/crypto/Kconfig
> +++ b/drivers/crypto/Kconfig
> @@ -342,7 +342,8 @@ config CRYPTO_DEV_SAHARA
>  
>  config CRYPTO_DEV_S5P
>  	tristate "Support for Samsung S5PV210/Exynos crypto accelerator"
> -	depends on ARCH_S5PV210 || ARCH_EXYNOS
> +	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
> +	depends on HAS_IOMEM && HAS_DMA
>  	select CRYPTO_AES
>  	select CRYPTO_BLKCIPHER
>  	help
> 

Acked-by: Vladimir Zapolskiy <vz@mleia.com>

--
With best wishes,
Vladimir

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-03-14 22:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-14  4:20 [PATCH] crypto: s5p-sss - Enable COMPILE_TEST Krzysztof Kozlowski
2016-03-14 22:34 ` Vladimir Zapolskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).