From: Danny Tsen Date: Thu, 13 Apr 2023 19:46:24 +0000 (-0400) Subject: crypto: p10-aes-gcm - Remove POWER10_CPU dependency X-Git-Tag: v6.6.17~4781^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9c716e1bd369afa2d1c5038297e8ceda3f82db7d;p=platform%2Fkernel%2Flinux-rpi.git crypto: p10-aes-gcm - Remove POWER10_CPU dependency Remove Power10 dependency in Kconfig and detect Power10 feature at runtime. Signed-off-by: Danny Tsen Acked-by: Michael Ellerman (powerpc) Signed-off-by: Herbert Xu --- diff --git a/arch/powerpc/crypto/Kconfig b/arch/powerpc/crypto/Kconfig index 1f8f02b..7113f93 100644 --- a/arch/powerpc/crypto/Kconfig +++ b/arch/powerpc/crypto/Kconfig @@ -96,7 +96,7 @@ config CRYPTO_AES_PPC_SPE config CRYPTO_AES_GCM_P10 tristate "Stitched AES/GCM acceleration support on P10 or later CPU (PPC)" - depends on PPC64 && POWER10_CPU && CPU_LITTLE_ENDIAN + depends on PPC64 && CPU_LITTLE_ENDIAN select CRYPTO_LIB_AES select CRYPTO_ALGAPI select CRYPTO_AEAD