Re: [PATCH] crypto: p10-aes-gcm - Use _GLOBAL instead of .global

From: Stephen Rothwell
Date: Mon Jan 16 2023 - 19:02:41 EST


Hi Herbert,

On Mon, 16 Jan 2023 17:17:19 +0800 Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Mon, Jan 16, 2023 at 11:29:39AM +1100, Stephen Rothwell wrote:
> >
> > After merging the crypto tree, today's linux-next build (powerpc
> > ppc64_defconfig) failed like this:
> >
> > ERROR: modpost: ".aes_p10_gcm_decrypt" [arch/powerpc/crypto/p10-aes-gcm-crypto.ko] undefined!
> > ERROR: modpost: ".aes_p10_gcm_encrypt" [arch/powerpc/crypto/p10-aes-gcm-crypto.ko] undefined!
> >
> > Caused by commits
> >
> > cc40379b6e19 ("crypto: p10-aes-gcm - Glue code for AES/GCM stitched implementation")
> > ca68a96c37eb ("crypto: p10-aes-gcm - An accelerated AES/GCM stitched implementation")
>
> Does this patch help?

Yes, that fixes the PowerPC build, thanks.

Tested-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> # build test only

I have added the patch to linux-next for today.
--
Cheers,
Stephen Rothwell

Attachment: pgpz3i_LmMP5j.pgp
Description: OpenPGP digital signature