lkml.org 
[lkml]   [2023]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2 1/2] Remove POWER10_CPU dependency.
From
Thanks Michael.

-Danny

On 4/14/23 8:08 AM, Michael Ellerman wrote:
> Danny Tsen <dtsen@linux.ibm.com> writes:
>> Remove Power10 dependency in Kconfig and detect Power10 feature at runtime.
> ... using the existing call to module_cpu_feature_match() :)
>
>> Signed-off-by: Danny Tsen <dtsen@linux.ibm.com>
>> ---
>> arch/powerpc/crypto/Kconfig | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
> Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)
>
> cheers
>
>> diff --git a/arch/powerpc/crypto/Kconfig b/arch/powerpc/crypto/Kconfig
>> index 1f8f02b494e1..7113f9355165 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
>> --
>> 2.31.1

\
 
 \ /
  Last update: 2023-04-14 15:29    [W:0.073 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site