Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/76117?usp=email )
Change subject: soc/amd/common/block/acpi/ivrs: fix missing IOAPIC[1] error ......................................................................
soc/amd/common/block/acpi/ivrs: fix missing IOAPIC[1] error
This isn't the proper fix, but a workaround to avoid this error:
AMD-Vi: [Firmware Bug]: : IOAPIC[1] not in IVRS table AMD-Vi: Disabling interrupt remapping
Signed-off-by: Felix Held felix-coreboot@felixheld.de Change-Id: Id88f17d68ba5accef6561837478828bd3d24baa5 --- M src/soc/amd/common/block/acpi/ivrs.c 1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/76117/1
diff --git a/src/soc/amd/common/block/acpi/ivrs.c b/src/soc/amd/common/block/acpi/ivrs.c index 089b42d..0160a48 100644 --- a/src/soc/amd/common/block/acpi/ivrs.c +++ b/src/soc/amd/common/block/acpi/ivrs.c @@ -186,6 +186,9 @@ /* Describe IOAPIC associated with the IOMMU */ current = acpi_fill_ivrs_ioapic(current, (u8 *)(uintptr_t)res->base, PCI_DEVFN(0, 1) | (dev->link_list->secondary << 8), 0); + } else if (dev->link_list->secondary == 0) { + current = acpi_fill_ivrs_ioapic(current, (u8 *)GNB_IO_APIC_ADDR, + PCI_DEVFN(0, 1), 0); }
/* If the domain has secondary bus as zero then associate HPET & FCH IOAPIC */