Attention is currently required from: Arthur Heymans.
Felix Held has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/75710?usp=email )
Change subject: soc/amd/acpi/ivrs: Use specific IOMMU resource index on all SOC
......................................................................
Patch Set 2:
(1 comment)
File src/soc/amd/common/block/acpi/ivrs.c:
https://review.coreboot.org/c/coreboot/+/75710/comment/6a3fcbb0_b7bb8383 :
PS2, Line 209: } else if (dev->link_list->secondary == 0) {
: current = _acpi_fill_ivrs_ioapic(current, (u8 *)GNB_IO_APIC_ADDR,
: PCI_DEVFN(0, 1), 0);
removing this breaks the ivrs support on mandolin/picasso:
AMD-Vi: [Firmware Bug]: : IOAPIC[1] not in IVRS table
AMD-Vi: Disabling interrupt remapping
putting these lines back in place and removing the leading underscore from _acpi_fill_ivrs_ioapic makes it work correctly again.
i think the problem here is that dev is the domain device and not D0F0 on the first bus of the domain where the resource is on, so res will be NULL above
--
To view, visit
https://review.coreboot.org/c/coreboot/+/75710?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I10345e2337dcb709c2c1a8e57a1b7dd9c04adb9e
Gerrit-Change-Number: 75710
Gerrit-PatchSet: 2
Gerrit-Owner: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Reviewer: Felix Held
felix-coreboot@felixheld.de
Gerrit-Reviewer: Fred Reitberger
reitbergerfred@gmail.com
Gerrit-Reviewer: Jason Glenesk
jason.glenesk@gmail.com
Gerrit-Reviewer: Martin L Roth
gaumless@gmail.com
Gerrit-Reviewer: Matt DeVillier
matt.devillier@amd.corp-partner.google.com
Gerrit-Reviewer: Naresh
naresh.solanki.2011@gmail.com
Gerrit-Reviewer: Naresh Solanki
naresh.solanki@9elements.com
Gerrit-Reviewer: Raul Rangel
rrangel@chromium.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Attention: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Comment-Date: Mon, 26 Jun 2023 21:10:19 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment