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

From: Stephen Rothwell <[email-masked]>
Date: Tue, 17 Jan 2023 11:02:27 +1100

Hi Herbert,

On Mon, 16 Jan 2023 17:17:19 +0800 Herbert Xu <[email-masked]> 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 <[email-masked]> # build test only

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