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)
Mon, Oct 28, 11:13 PM
Unknown Object (File)
Wed, Oct 16, 7:00 AM
Unknown Object (File)
Oct 6 2024, 3:12 PM
Unknown Object (File)
Oct 2 2024, 5:26 PM
Unknown Object (File)
Oct 2 2024, 7:18 AM
Unknown Object (File)
Oct 2 2024, 2:04 AM
Unknown Object (File)
Sep 27 2024, 8:45 AM
Unknown Object (File)
Sep 23 2024, 2:30 AM
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 Skipped
Unit
Tests Skipped