Re: [PATCH] ARM: shmobile: smp: Enforce shmobile_smp_* alignment

From: Lad, Prabhakar
Date: Tue Mar 11 2025 - 12:03:10 EST


Hi Geert,

On Tue, Mar 11, 2025 at 3:20 PM Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote:
>
> Hi Prabhakar,
>
> On Tue, 11 Mar 2025 at 16:11, Lad, Prabhakar <prabhakar.csengg@xxxxxxxxx> wrote:
> > On Mon, Mar 10, 2025 at 1:14 PM Geert Uytterhoeven
> > > When the addresses of the shmobile_smp_mpidr, shmobile_smp_fn, and
> > > shmobile_smp_arg variables are not multiples of 4 bytes, secondary CPU
> > > bring-up fails:
> > >
> > > smp: Bringing up secondary CPUs ...
> > > CPU1: failed to come online
> > > CPU2: failed to come online
> > > CPU3: failed to come online
> > > smp: Brought up 1 node, 1 CPU
> > >
> > > Fix this by adding the missing alignment directive.
> > >
> > > Fixes: 4e960f52fce16a3b ("ARM: shmobile: Move shmobile_smp_{mpidr, fn, arg}[] from .text to .bss")
> >
> > I wonder if this fixes tag should go back a bit far as I was able to
> > reproduce this on 5.10-cip BSP kernel on RZ/G1E this was only seen
> > when CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE was enabled,
>
> 4e960f52fce16a3b is in v4.5, so it covers 5.10-cip.
>
Thanks for pointing.

Cheers,
Prabhakar