next/master bisection: baseline.login on qemu_arm-virt-gicv3

Ard Biesheuvel ardb at kernel.org
Fri Oct 7 02:28:54 PDT 2022


On Fri, 7 Oct 2022 at 07:40, Masahiro Yamada <masahiroy at kernel.org> wrote:
>
> On Fri, Oct 7, 2022 at 2:11 PM Masahiro Yamada <masahiroy at kernel.org> wrote:
> >
> > On Fri, Oct 7, 2022 at 1:53 AM Mark Brown <broonie at kernel.org> wrote:
> > >
> > > On Thu, Oct 06, 2022 at 09:36:22AM -0700, KernelCI bot wrote:
> > >
> > > The KernelCI bisection bot found a boot regression on qemu in today's
> > > -next for a multi_v7_defconfig with additional debug options running on
> > > virt-gicv3 which it identified as being triggered by 5750121ae738
> > > ("kbuild: list sub-directories in ./Kbuild") which does seem surprising
> > > but the bot did test a revert so it seemed worth reporting
> >
> >
> >
> > Please tell me the command line arguments to qemu-system-arm.
> > Especially, how to turn on gicv3.
>
>
> I found it in the qemu manual:
> https://www.qemu.org/docs/master/system/arm/virt.html?highlight=gic%20version
>
>
>
>
> The arm virt machine with gicv3 booted as far as I tested.
>
> So, I need to know more details about the settings of the KernelCI.
>
>
>
>
> This is my qemu command line.
>
>
> qemu-system-arm -machine virt,gic-version=3 \
> -kernel /home/masahiro/tools/qemu-arm_virt/kernel \
> -initrd /home/masahiro/tools/qemu-arm_virt/initrd \
> -drive file=fat:rw:/home/masahiro/tools/qemu-arm_virt/disk-shared,if=none,format=raw,id=drive0
> \
> -netdev bridge,id=netdev0,br=virbr0,helper=/usr/lib/qemu/qemu-bridge-helper \
> -serial stdio -monitor vc:800x600 -cpu cortex-a15 \
> -smp 4 -device virtio-blk-pci,drive=drive0 \
> -device virtio-net-pci,netdev=netdev0 -append console=ttyAMA0
>
>

You need to pass a firmware image as well.

-bios QEMU_EFI.fd

https://snapshots.linaro.org/components/kernel/leg-virt-tianocore-edk2-upstream/4666/QEMU-ARM/RELEASE_GCC5/QEMU_EFI.fd

(the firmware execution can be quite slow under emulation so give it some time)



More information about the linux-arm-kernel mailing list