Re: next-20240219: arm64: boot failed - gic_of_init

From: Marc Zyngier
Date: Mon Feb 19 2024 - 06:33:08 EST


On Mon, 19 Feb 2024 09:48:28 +0000,
Marc Zyngier <maz@xxxxxxxxxx> wrote:
>
> On Mon, 19 Feb 2024 09:42:45 +0000,
> Naresh Kamboju <naresh.kamboju@xxxxxxxxxx> wrote:
> >
> > The qemu-arm64 boot failed with linux next-20240219 tag kernel.
> >
> > Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>
> >
> > Boot log:
> > ---------
> > <6>[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
> > <1>[ 0.000000] Unable to handle kernel paging request at virtual
> > address ffff80008001ffe8
> > <1>[ 0.000000] Mem abort info:
> > <1>[ 0.000000] ESR = 0x0000000096000004
> > <1>[ 0.000000] EC = 0x25: DABT (current EL), IL = 32 bits
> > <1>[ 0.000000] SET = 0, FnV = 0
> > <1>[ 0.000000] EA = 0, S1PTW = 0
> > <1>[ 0.000000] FSC = 0x04: level 0 translation fault
> > <1>[ 0.000000] Data abort info:
> > <1>[ 0.000000] ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000
> > <1>[ 0.000000] CM = 0, WnR = 0, TnD = 0, TagAccess = 0
> > <1>[ 0.000000] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
> > <1>[ 0.000000] swapper pgtable: 4k pages, 52-bit VAs, pgdp=0000000042497000
> > <1>[ 0.000000] [ffff80008001ffe8] pgd=10000000439a5003,
> > p4d=10000001000e3003, pud=10000001000e4003, pmd=10000001000e5003,
> > pte=006800000800f413
> > <0>[ 0.000000] Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP
> > <4>[ 0.000000] Modules linked in:
> > <4>[ 0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted
> > 6.8.0-rc5-next-20240219 #1
> > <4>[ 0.000000] Hardware name: linux,dummy-virt (DT)
> > <4>[ 0.000000] pstate: 804000c9 (Nzcv daIF +PAN -UAO -TCO -DIT
> > -SSBS BTYPE=--)
> > <4>[ 0.000000] pc : gic_of_init+0x84/0x3a8
> > <4>[ 0.000000] lr : gic_of_init+0x290/0x3a8
> > ...
> > <4>[ 0.000000] Call trace:
> > <4>[ 0.000000] gic_of_init+0x84/0x3a8
> > <4>[ 0.000000] of_irq_init+0x1d4/0x3d0
> > <4>[ 0.000000] irqchip_init+0x20/0x50
> > <4>[ 0.000000] init_IRQ+0xa8/0xc8
> > <4>[ 0.000000] start_kernel+0x270/0x690
> > <4>[ 0.000000] __primary_switched+0x80/0x90
> > <0>[ 0.000000] Code: f94017e0 f90007e0 d29ffd00 8b0002c0 (b9400000)
> > <4>[ 0.000000] ---[ end trace 0000000000000000 ]---
> > <0>[ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
> > <0>[ 0.000000] ---[ end Kernel panic - not syncing: Attempted to
> > kill the idle task! ]---
> >
> > Links:
> > - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240219/testrun/22730192/suite/boot/test/gcc-13-lkftconfig-armv8_features/log
> > - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240219/testrun/22730192/suite/boot/tests/
>
> Where is the configuration file? What are the parameters to QEMU?
> Please consider making this a useful and actionable report.

For what it is worth, I've just tested both defconfig and my own
configuration with both 4k (kvmtool, QEMU+KVM and on SynQuacer) and
16k (kvmtool), without any obvious problem.

So until you come up with more specific details, there isn't much I
can do.

M.

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