Re: Unexpected kernel BRK exception at EL1 - Internal error: BRK handler: f20003e8 - gic_dist_config

From: Naresh Kamboju
Date: Mon May 16 2022 - 09:59:06 EST


Hi Marc,

Thanks for looking into this report.

On Mon, 16 May 2022 at 12:38, Marc Zyngier <maz@xxxxxxxxxx> wrote:
>
> On Mon, 16 May 2022 07:16:22 +0100,
> Naresh Kamboju <naresh.kamboju@xxxxxxxxxx> wrote:
> >
> > The kernel crash reported on arm64 juno-r2 device with kselftest-merge config
> > while booting Linux next-20220513 kernel [1].

<trim>

>
> Huh. Who inserts random BRKs like this?
>
> > [ 0.000000] Internal error: BRK handler: f20003e8 [#1] PREEMPT SMP
> > [ 0.000000] Modules linked in:
> > [ 0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted
> > 5.18.0-rc6-next-20220513 #1
> > [ 0.000000] Hardware name: ARM Juno development board (r2) (DT)
> > [ 0.000000] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
> > [ 0.000000] pc : gic_dist_config+0x4c/0x68
> > [ 0.000000] lr : gic_init_bases+0xd4/0x248
>
> Please provide a disassembly of this function.

objdump snipper is here.
http://ix.io/3XUW

The vmlinux file is located in this url
Please make use of it.
http://snapshots.linaro.org/openembedded/lkft/lkft/sumo/juno/lkft/linux-next/1226/

- Naresh

>
> Thanks,
>
> M.
>
> --
> Without deviation from the norm, progress is not possible.