Page MenuHomeFreeBSD

pci_dw.c: Set IO ATU window correctly
ClosedPublic

Authored by kd on Mar 31 2021, 4:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jul 1, 2:59 AM
Unknown Object (File)
Tue, Jun 30, 8:04 AM
Unknown Object (File)
Sun, Jun 21, 2:24 PM
Unknown Object (File)
May 28 2026, 10:21 PM
Unknown Object (File)
May 28 2026, 9:30 PM
Unknown Object (File)
May 27 2026, 7:30 AM
Unknown Object (File)
May 17 2026, 5:43 PM
Unknown Object (File)
May 3 2026, 10:17 PM
Subscribers

Details

Summary

Use viewport "2" instead of "0" and change window type from MEM to IO.
Without these changes the MEM ATU window is overwritten with the IO one.
On macchiatobin memory window is mapped 1:1, i.e no address translation is done which is why PCI works fine there.
This issue was discovered on a different board running a similar SoC to macchiatobin.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable