diff mbox

[v2,03/16] hw/arm/virt.c: Wire FIQ between CPU <> GIC

Message ID 1414707132-24588-4-git-send-email-greg.bellows@linaro.org
State New
Headers show

Commit Message

Greg Bellows Oct. 30, 2014, 10:11 p.m. UTC
Connect FIQ output of the GIC CPU interfaces to the CPUs.

Signed-off-by: Greg Bellows <greg.bellows@linaro.org>
---
 hw/arm/virt.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index 78f618d..e8bc059 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -354,6 +354,8 @@  static void create_gic(const VirtBoardInfo *vbi, qemu_irq *pic)
                               qdev_get_gpio_in(gicdev, ppibase + 27));
 
         sysbus_connect_irq(gicbusdev, i, qdev_get_gpio_in(cpudev, ARM_CPU_IRQ));
+        sysbus_connect_irq(gicbusdev, i+smp_cpus, qdev_get_gpio_in(cpudev,
+                           ARM_CPU_FIQ));
     }
 
     for (i = 0; i < NUM_IRQS; i++) {