Attention is currently required from: Felix Held, Krystian Hebel, Michał Żygowski, Piotr Król.

Felix Held uploaded patch set #2 to this change.

View Change

mb/pcengines/apu2: don't enable IOMMU

Drop the enabling of the IOMMU device from all variant's devicetrees,
since there's something broken with either the IVRS table or possibly
the IOMMU itself. This fixes the issue of the Linux kernel stalling for
about 20 seconds right after printing 'AMD-Vi: Virtual APIC enabled' and
only getting unstuck when the periodic NMI results in a backtrace being
printed. This was tested with Debian running kernel 5.10.0-27-amd64, but
the same issue also showed up with newer kernels.

The official APU2 images don't show this bug, but there the IVRS isn't
generated by default.

TEST=Disabling the IOMMU which results in no IVRS being generated fixes
the bug.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: If74a7c64f53903fec0c01a55e1b202e800f02986
---
M src/mainboard/pcengines/apu2/variants/apu2/devicetree.cb
M src/mainboard/pcengines/apu2/variants/apu3/devicetree.cb
M src/mainboard/pcengines/apu2/variants/apu4/devicetree.cb
M src/mainboard/pcengines/apu2/variants/apu5/devicetree.cb
4 files changed, 0 insertions(+), 4 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/96/79896/2

To view, visit change 79896. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: If74a7c64f53903fec0c01a55e1b202e800f02986
Gerrit-Change-Number: 79896
Gerrit-PatchSet: 2
Gerrit-Owner: Felix Held <felix-coreboot@felixheld.de>
Gerrit-Reviewer: Krystian Hebel <krystian.hebel@3mdeb.com>
Gerrit-Reviewer: Michał Żygowski <michal.zygowski@3mdeb.com>
Gerrit-Reviewer: Piotr Król <piotr.krol@3mdeb.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Mike Banon <mikebdp2@gmail.com>
Gerrit-CC: Paul Menzel <paulepanter@mailbox.org>
Gerrit-Attention: Michał Żygowski <michal.zygowski@3mdeb.com>
Gerrit-Attention: Krystian Hebel <krystian.hebel@3mdeb.com>
Gerrit-Attention: Felix Held <felix-coreboot@felixheld.de>
Gerrit-Attention: Piotr Król <piotr.krol@3mdeb.com>
Gerrit-MessageType: newpatchset