]> 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)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 13 Jul 2025 08:16:36 +0000 (11:16 +0300)
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>
(cherry picked from commit 930180f3b9a292639eb894f1ca846683834ed4b7)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/arm/fsl-imx8mp.c

index 82edf61082ac9d23039fbd45e2557b5a02fb05ad..d775aa934a21d439526877316fa31d48fb4de2be 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));
         }
     }