automation: qemu-smoke-arm64.sh: Fix the number of cpus in the device tree
authorXenia Ragiadakou <burzalodowa@gmail.com>
Fri, 29 Jul 2022 14:52:29 +0000 (17:52 +0300)
committerStefano Stabellini <stefano.stabellini@amd.com>
Fri, 29 Jul 2022 23:25:45 +0000 (16:25 -0700)
Qemu VM is configured with 2 cpus but the device tree passed has only 1.
Generate a device tree with 2 cpus.

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
automation/scripts/qemu-smoke-arm64.sh

index 7ac82b227886c5e9d1cee3c43e5e30c6e9ec1691..b48a20988f94e7e670e4b9f07a6a3f893d1c3a2d 100755 (executable)
@@ -35,7 +35,7 @@ curl -fsSLO https://github.com/qemu/qemu/raw/v5.2.0/pc-bios/efi-virtio.rom
 ./binaries/qemu-system-aarch64 \
    -machine virtualization=true \
    -cpu cortex-a57 -machine type=virt \
-   -m 1024 -display none \
+   -m 1024 -smp 2 -display none \
    -machine dumpdtb=binaries/virt-gicv2.dtb
 # XXX disable pl061 to avoid Linux crash
 dtc -I dtb -O dts binaries/virt-gicv2.dtb > binaries/virt-gicv2.dts