From: Pranavkumar Sawargaonkar <pranavku...@linaro.org> Let's provide the GPEX host bridge with the INTx/gsi mapping. This is needed for INTx/gsi routing.
Signed-off-by: Pranavkumar Sawargaonkar <pranavku...@linaro.org> Signed-off-by: Tushar Jagad <tushar.ja...@linaro.org> Signed-off-by: Eric Auger <eric.au...@redhat.com> Reviewed-by: Andrew Jones <drjo...@redhat.com> Tested-by: Feng Kan <f...@apm.com> Message-id: 1505296004-6798-3-git-send-email-eric.au...@redhat.com Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> --- hw/arm/virt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/arm/virt.c b/hw/arm/virt.c index fe96557..cfd834d 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -1057,6 +1057,7 @@ static void create_pcie(const VirtMachineState *vms, qemu_irq *pic) for (i = 0; i < GPEX_NUM_IRQS; i++) { sysbus_connect_irq(SYS_BUS_DEVICE(dev), i, pic[irq + i]); + gpex_set_irq_num(GPEX_HOST(dev), i, irq + i); } pci = PCI_HOST_BRIDGE(dev); -- 2.7.4