soc/amd/*/root_complex: don't report root complex IOAPIC resource twice
Since the per PCI root IOAPIC is now reported as domain MMIO resource and the IVRS code now again probes for the IOAPIC resource on the domain device, the IOAPIC resource doesn't need to be reported as resource of the northbridge PCI device any more. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I8604bd321ec4239076b1be99dca095e47f8b75a7 Reviewed-on: https://review.coreboot.org/c/coreboot/+/76600 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
parent
b8b0c66cff
commit
d6656bed83
|
@ -143,9 +143,6 @@ static void read_resources(struct device *dev)
|
|||
|
||||
mmconf_resource(dev, idx++);
|
||||
|
||||
/* GNB IOAPIC resource */
|
||||
mmio_range(dev, IOMMU_IOAPIC_IDX, GNB_IO_APIC_ADDR, 0x1000);
|
||||
|
||||
/* Reserve fixed IOMMU MMIO region */
|
||||
mmio_range(dev, idx++, IOMMU_RESERVED_MMIO_BASE, IOMMU_RESERVED_MMIO_SIZE);
|
||||
|
||||
|
|
|
@ -158,9 +158,6 @@ static void read_resources(struct device *dev)
|
|||
|
||||
mmconf_resource(dev, idx++);
|
||||
|
||||
/* GNB IOAPIC resource */
|
||||
mmio_range(dev, IOMMU_IOAPIC_IDX, GNB_IO_APIC_ADDR, 0x1000);
|
||||
|
||||
/* Reserve fixed IOMMU MMIO region */
|
||||
mmio_range(dev, idx++, IOMMU_RESERVED_MMIO_BASE, IOMMU_RESERVED_MMIO_SIZE);
|
||||
|
||||
|
|
|
@ -186,9 +186,6 @@ static void read_resources(struct device *dev)
|
|||
|
||||
mmconf_resource(dev, idx++);
|
||||
|
||||
/* GNB IOAPIC resource */
|
||||
mmio_range(dev, IOMMU_IOAPIC_IDX, GNB_IO_APIC_ADDR, 0x1000);
|
||||
|
||||
/* Reserve fixed IOMMU MMIO region */
|
||||
mmio_range(dev, idx++, IOMMU_RESERVED_MMIO_BASE, IOMMU_RESERVED_MMIO_SIZE);
|
||||
|
||||
|
|
|
@ -158,9 +158,6 @@ static void read_resources(struct device *dev)
|
|||
|
||||
mmconf_resource(dev, idx++);
|
||||
|
||||
/* GNB IOAPIC resource */
|
||||
mmio_range(dev, IOMMU_IOAPIC_IDX, GNB_IO_APIC_ADDR, 0x1000);
|
||||
|
||||
/* Reserve fixed IOMMU MMIO region */
|
||||
mmio_range(dev, idx++, IOMMU_RESERVED_MMIO_BASE, IOMMU_RESERVED_MMIO_SIZE);
|
||||
|
||||
|
|
|
@ -141,9 +141,6 @@ static void read_resources(struct device *dev)
|
|||
|
||||
mmconf_resource(dev, idx++);
|
||||
|
||||
/* GNB IOAPIC resource */
|
||||
mmio_range(dev, IOMMU_IOAPIC_IDX, GNB_IO_APIC_ADDR, 0x1000);
|
||||
|
||||
/* Reserve fixed IOMMU MMIO region */
|
||||
mmio_range(dev, idx++, IOMMU_RESERVED_MMIO_BASE, IOMMU_RESERVED_MMIO_SIZE);
|
||||
|
||||
|
|
Loading…
Reference in New Issue