am335x: 5.18.x: system stalling

Yegor Yefremov yegorslists at googlemail.com
Sat May 28 12:28:17 PDT 2022


On Sat, May 28, 2022 at 3:14 PM Arnd Bergmann <arnd at arndb.de> wrote:
>
> On Sat, May 28, 2022 at 3:01 PM Yegor Yefremov
> <yegorslists at googlemail.com> wrote:
> > On Sat, May 28, 2022 at 11:07 AM Ard Biesheuvel <ardb at kernel.org> wrote:
> > In file included from ./include/linux/irqflags.h:17,
> >                  from ./arch/arm/include/asm/bitops.h:28,
> >                  from ./include/linux/bitops.h:33,
> >                  from ./include/linux/log2.h:12,
> >                  from kernel/bounds.c:13:
> > ./arch/arm/include/asm/percpu.h: In function ‘__my_cpu_offset’:
> > ./arch/arm/include/asm/percpu.h:32:9: error: ‘__per_cpu_offset’
> > undeclared (first use in this function); did you mean
> > ‘__my_cpu_offset’?
> >    32 |  return __per_cpu_offset[0];
> >       |         ^~~~~~~~~~~~~~~~
> >       |         __my_cpu_offset
> > ./arch/arm/include/asm/percpu.h:32:9: note: each undeclared identifier
> > is reported only once for each function it appears in
>
> I think you just missed the line in my patch that adds the
> "extern unsigned long __per_cpu_offset[];" variable declaration.

My bad.

So, I tried both variants and both led to stalls.

Yegor



More information about the linux-arm-kernel mailing list