Skip to contentSkip to conversation

crypto: Typo s/Stormlink/Storlink/

PATCH In review Geert Uytterhoeven 2 participants 3 messages Jun 25, 2021 – Jun 28, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 crypto: Typo s/Stormlink/Storlink/

From: Geert Uytterhoeven <[email protected]>

According to Documentation/devicetree/bindings/arm/gemini.txt, the company was originally named "Storlink Semiconductor", and later renamed to "Storm Semiconductor".

Fixes 46c5338db7bd45b2 ("crypto: sl3516 - Add sl3516 crypto engine")
---
 drivers/crypto/Kconfig                   | 2 +-
 drivers/crypto/gemini/sl3516-ce-cipher.c | 2 +-
 drivers/crypto/gemini/sl3516-ce-core.c   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/crypto/Kconfig +1 -1
index ebcec460c045734f..8796ddf37cb5bfde 100644
@@ -267,7 +267,7 @@ config CRYPTO_DEV_NIAGARA2
 	  checksumming, and raw copies.
 
 config CRYPTO_DEV_SL3516
-	tristate "Stormlink SL3516 crypto offloader"
+	tristate "Storlink SL3516 crypto offloader"
 	depends on HAS_IOMEM
 	select CRYPTO_SKCIPHER
 	select CRYPTO_ENGINE
drivers/crypto/gemini/sl3516-ce-cipher.c +1 -1
index b41c2f5fc495a856..c1c2b1d866639149 100644
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 /*
- * sl3516-ce-cipher.c - hardware cryptographic offloader for Stormlink SL3516 SoC
+ * sl3516-ce-cipher.c - hardware cryptographic offloader for Storlink SL3516 SoC
  *
  * Copyright (C) 2021 Corentin LABBE <[email protected]>
  *
drivers/crypto/gemini/sl3516-ce-core.c +1 -1
index da6cd529a6c01ff4..b7524b649068e980 100644
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 /*
- * sl3516-ce-core.c - hardware cryptographic offloader for Stormlink SL3516 SoC
+ * sl3516-ce-core.c - hardware cryptographic offloader for Storlink SL3516 SoC
  *
  * Copyright (C) 2021 Corentin Labbe <[email protected]>
  *
Signature · 1 line
2.25.1
#1 lore raw

PATCH 2/2 crypto: CRYPTO_DEV_SL3516 should depend on ARCH_GEMINI

From: Geert Uytterhoeven <[email protected]>

The Storlink SL3516 crypto engine is only present on Storlink Semiconductor/Storm Semiconductor/Cortina Systems Gemini SoCs. Hence add a dependency on ARCH_GEMINI, to prevent asking the user about this driver when configuring a kernel without Gemini support.

While at it, group the dependencies.

Fixes 46c5338db7bd45b2 ("crypto: sl3516 - Add sl3516 crypto engine")
---
 drivers/crypto/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/crypto/Kconfig +2 -2
index 8796ddf37cb5bfde..51690e73153ad443 100644
@@ -268,13 +268,13 @@ config CRYPTO_DEV_NIAGARA2
 
 config CRYPTO_DEV_SL3516
 	tristate "Storlink SL3516 crypto offloader"
-	depends on HAS_IOMEM
+	depends on ARCH_GEMINI || COMPILE_TEST
+	depends on HAS_IOMEM && PM
 	select CRYPTO_SKCIPHER
 	select CRYPTO_ENGINE
 	select CRYPTO_ECB
 	select CRYPTO_AES
 	select HW_RANDOM
-	depends on PM
 	help
 	  This option allows you to have support for SL3516 crypto offloader.
 
Signature · 1 line
2.25.1
maintainer
#2 lore raw
In reply to Geert Uytterhoeven
Quoted 6 lines · Geert Uytterhoeven

From: Geert Uytterhoeven <[email protected]>

According to Documentation/devicetree/bindings/arm/gemini.txt, the company was originally named "Storlink Semiconductor", and later renamed to "Storm Semiconductor".

Quoted 7 lines
Fixes 46c5338db7bd45b2 ("crypto: sl3516 - Add sl3516 crypto engine")
---
 drivers/crypto/Kconfig                   | 2 +-
 drivers/crypto/gemini/sl3516-ce-cipher.c | 2 +-
 drivers/crypto/gemini/sl3516-ce-core.c   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

All applied. Thanks.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt