diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2018-08-24 13:17:34 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-08-24 13:17:34 +0100 |
commit | b558e295211deecdc769835a0a400f8aa59c53fd (patch) | |
tree | 8f76e53133929ef7102f05615aac874a88c5a7b2 /hw | |
parent | 256d3e21f22c2c285d8c170ea6488825cc7c7ae2 (diff) | |
download | qemu-b558e295211deecdc769835a0a400f8aa59c53fd.zip qemu-b558e295211deecdc769835a0a400f8aa59c53fd.tar.gz qemu-b558e295211deecdc769835a0a400f8aa59c53fd.tar.bz2 |
hw/arm/fsl-imx6ul: Connect VIRQ and VFIQ
Connect the VIRQ and VFIQ lines from the GIC to the CPU;
these exist always for both CPU and GIC whether the
virtualization extensions are enabled or not, so we
can just unconditionally connect them.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Luc Michel <luc.michel@greensocs.com>
Message-id: 20180821132811.17675-7-peter.maydell@linaro.org
Diffstat (limited to 'hw')
-rw-r--r-- | hw/arm/fsl-imx7.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/arm/fsl-imx7.c b/hw/arm/fsl-imx7.c index d5e2685..7663ad6 100644 --- a/hw/arm/fsl-imx7.c +++ b/hw/arm/fsl-imx7.c @@ -209,6 +209,10 @@ static void fsl_imx7_realize(DeviceState *dev, Error **errp) sysbus_connect_irq(sbd, i, irq); irq = qdev_get_gpio_in(d, ARM_CPU_FIQ); sysbus_connect_irq(sbd, i + smp_cpus, irq); + irq = qdev_get_gpio_in(d, ARM_CPU_VIRQ); + sysbus_connect_irq(sbd, i + 2 * smp_cpus, irq); + irq = qdev_get_gpio_in(d, ARM_CPU_VFIQ); + sysbus_connect_irq(sbd, i + 3 * smp_cpus, irq); } /* |