|
|
9bac43 |
From fe6e65efe39932521b861b4de358a9b73d2ac4cf Mon Sep 17 00:00:00 2001
|
|
|
9bac43 |
From: Auger Eric <eric.auger@redhat.com>
|
|
|
9bac43 |
Date: Mon, 6 Nov 2017 17:08:43 +0100
|
|
|
9bac43 |
Subject: [PATCH 7/9] hw/arm/virt: Set INTx/gsi mapping
|
|
|
9bac43 |
|
|
|
9bac43 |
RH-Author: Auger Eric <eric.auger@redhat.com>
|
|
|
9bac43 |
Message-id: <1509988125-30275-3-git-send-email-eric.auger@redhat.com>
|
|
|
9bac43 |
Patchwork-id: 77508
|
|
|
9bac43 |
O-Subject: [RHV7.5 qemu-kvm-ma PATCH 2/4] hw/arm/virt: Set INTx/gsi mapping
|
|
|
9bac43 |
Bugzilla: 1460957
|
|
|
9bac43 |
RH-Acked-by: Alex Williamson <alex.williamson@redhat.com>
|
|
|
9bac43 |
RH-Acked-by: Laurent Vivier <lvivier@redhat.com>
|
|
|
9bac43 |
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
9bac43 |
|
|
|
9bac43 |
From: Pranavkumar Sawargaonkar <pranavkumar@linaro.org>
|
|
|
9bac43 |
|
|
|
9bac43 |
Let's provide the GPEX host bridge with the INTx/gsi mapping. This is
|
|
|
9bac43 |
needed for INTx/gsi routing.
|
|
|
9bac43 |
|
|
|
9bac43 |
Signed-off-by: Pranavkumar Sawargaonkar <pranavkumar@linaro.org>
|
|
|
9bac43 |
Signed-off-by: Tushar Jagad <tushar.jagad@linaro.org>
|
|
|
9bac43 |
Signed-off-by: Eric Auger <eric.auger@redhat.com>
|
|
|
9bac43 |
Reviewed-by: Andrew Jones <drjones@redhat.com>
|
|
|
9bac43 |
Tested-by: Feng Kan <fkan@apm.com>
|
|
|
9bac43 |
Message-id: 1505296004-6798-3-git-send-email-eric.auger@redhat.com
|
|
|
9bac43 |
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
|
|
|
9bac43 |
(cherry picked from commit c9bb8e16080d189a0c393a1061b427993516ae2b)
|
|
|
9bac43 |
Signed-off-by: Eric Auger <eric.auger@redhat.com>
|
|
|
9bac43 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
9bac43 |
---
|
|
|
9bac43 |
hw/arm/virt.c | 1 +
|
|
|
9bac43 |
1 file changed, 1 insertion(+)
|
|
|
9bac43 |
|
|
|
9bac43 |
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
|
|
|
9bac43 |
index f243536..b175e36 100644
|
|
|
9bac43 |
--- a/hw/arm/virt.c
|
|
|
9bac43 |
+++ b/hw/arm/virt.c
|
|
|
9bac43 |
@@ -1079,6 +1079,7 @@ static void create_pcie(const VirtMachineState *vms, qemu_irq *pic)
|
|
|
9bac43 |
|
|
|
9bac43 |
for (i = 0; i < GPEX_NUM_IRQS; i++) {
|
|
|
9bac43 |
sysbus_connect_irq(SYS_BUS_DEVICE(dev), i, pic[irq + i]);
|
|
|
9bac43 |
+ gpex_set_irq_num(GPEX_HOST(dev), i, irq + i);
|
|
|
9bac43 |
}
|
|
|
9bac43 |
|
|
|
9bac43 |
pci = PCI_HOST_BRIDGE(dev);
|
|
|
9bac43 |
--
|
|
|
9bac43 |
1.8.3.1
|
|
|
9bac43 |
|