Re: [PATCH 01/15] crypto: arm - remove CRYPTO dependency of library functions

Eric Biggers
2025-04-18T03:30:56Z

On Fri, Apr 18, 2025 at 11:08:16AM +0800, Herbert Xu wrote:
> Eric Biggers <ebiggers@kernel.org> wrote:
> >
> > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> > index 25ed6f1a7c7a..86fcce738887 100644
> > --- a/arch/arm/Kconfig
> > +++ b/arch/arm/Kconfig
> > @@ -1753,5 +1753,7 @@ config ARCH_HIBERNATION_POSSIBLE
> > bool
> > depends on MMU
> > default y if ARCH_SUSPEND_POSSIBLE
> >
> > endmenu
> > +
> > +source "arch/arm/crypto/Kconfig"
>
> ...
>
> > diff --git a/crypto/Kconfig b/crypto/Kconfig
> > index 9322e42e562d..cad71f32e1e3 100644
> > --- a/crypto/Kconfig
> > +++ b/crypto/Kconfig
> > @@ -1424,13 +1424,10 @@ endmenu
> >
> > config CRYPTO_HASH_INFO
> > bool
> >
> > if !KMSAN # avoid false positives from assembly
> > -if ARM
> > -source "arch/arm/crypto/Kconfig"
> > -endif
>
> So this removes the KMSAN check. Is it still needed or not?
>

Only x86 and s390 support KMSAN.

- Eric