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)
Tue, Sep 30, 1:19 PM
Unknown Object (File)
Thu, Sep 25, 8:58 PM
Unknown Object (File)
Thu, Sep 25, 6:51 AM
Unknown Object (File)
Thu, Sep 25, 3:34 AM
Unknown Object (File)
Aug 28 2025, 1:39 AM
Unknown Object (File)
Aug 24 2025, 3:33 AM
Unknown Object (File)
Aug 23 2025, 11:14 PM
Unknown Object (File)
Aug 23 2025, 10:43 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