[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 2/5] hw/arm/virt-acpi-build: Fix SMMUv3 GSIV values
From: |
Peter Maydell |
Subject: |
[Qemu-devel] [PULL 2/5] hw/arm/virt-acpi-build: Fix SMMUv3 GSIV values |
Date: |
Fri, 15 Mar 2019 11:39:03 +0000 |
From: Eric Auger <address@hidden>
The GSIV numbers of the SPI based interrupts is not correct as
ARM_SPI_BASE was not added to the irqmap[VIRT_SMMU] value. So
this may collide with VIRTIO_MMIO irq window.
Signed-off-by: Eric Auger <address@hidden>
Message-id: address@hidden
Reviewed-by: Shannon Zhao <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
---
hw/arm/virt-acpi-build.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/arm/virt-acpi-build.c b/hw/arm/virt-acpi-build.c
index d7e2e4885b8..aa02d8d74ec 100644
--- a/hw/arm/virt-acpi-build.c
+++ b/hw/arm/virt-acpi-build.c
@@ -405,7 +405,7 @@ build_iort(GArray *table_data, BIOSLinker *linker,
VirtMachineState *vms)
its->identifiers[0] = 0; /* MADT translation_id */
if (vms->iommu == VIRT_IOMMU_SMMUV3) {
- int irq = vms->irqmap[VIRT_SMMU];
+ int irq = vms->irqmap[VIRT_SMMU] + ARM_SPI_BASE;
/* SMMUv3 node */
smmu_offset = iort_node_offset + node_size;
--
2.20.1
- [Qemu-devel] [PULL 0/5] target-arm queue, Peter Maydell, 2019/03/15
- Re: [Qemu-devel] [PULL 0/5] target-arm queue, Peter Maydell, 2019/03/15
- [Qemu-devel] [PULL 3/5] target/arm: change arch timer registers access permission, Peter Maydell, 2019/03/15
- [Qemu-devel] [PULL 5/5] target/arm: Check access permission to ADDVL/ADDPL/RDVL, Peter Maydell, 2019/03/15
- [Qemu-devel] [PULL 1/5] hw/intc/bcm2836_control: Implement local timer, Peter Maydell, 2019/03/15
- [Qemu-devel] [PULL 4/5] hw/arm/virt-acpi-build: use PCIE_MMCFG_BUS to retrieve end_bus_number, Peter Maydell, 2019/03/15
- [Qemu-devel] [PULL 2/5] hw/arm/virt-acpi-build: Fix SMMUv3 GSIV values,
Peter Maydell <=