]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
hw/arm/fsl-imx8mp: Wire VIRQ and VFIQ
authorBernhard Beschow <shentey@gmail.com>
Sun, 29 Jun 2025 20:48:50 +0000 (22:48 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 10 Jul 2025 08:24:51 +0000 (09:24 +0100)
Allows to run KVM guests inside the imx8mp-evk machine.

Fixes: a4eefc69b237 ("hw/arm: Add i.MX 8M Plus EVK board")
CC: qemu-stable
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/fsl-imx8mp.c

index 23e662c16caec25cedd72ebe62b3838a31a89258..866f4d1d7402c453b369abf3b4562d06b3ad3e32 100644 (file)
@@ -356,6 +356,10 @@ static void fsl_imx8mp_realize(DeviceState *dev, Error **errp)
                                qdev_get_gpio_in(cpudev, ARM_CPU_IRQ));
             sysbus_connect_irq(gicsbd, i + ms->smp.cpus,
                                qdev_get_gpio_in(cpudev, ARM_CPU_FIQ));
+            sysbus_connect_irq(gicsbd, i + 2 * ms->smp.cpus,
+                               qdev_get_gpio_in(cpudev, ARM_CPU_VIRQ));
+            sysbus_connect_irq(gicsbd, i + 3 * ms->smp.cpus,
+                               qdev_get_gpio_in(cpudev, ARM_CPU_VFIQ));
         }
     }