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
F107804753: D29516.diff
Sat, Jan 18, 7:54 AM
Unknown Object (File)
Tue, Dec 31, 10:33 PM
Unknown Object (File)
Dec 5 2024, 7:35 PM
Unknown Object (File)
Dec 5 2024, 6:32 AM
Unknown Object (File)
Nov 30 2024, 12:06 PM
Unknown Object (File)
Nov 25 2024, 1:00 AM
Unknown Object (File)
Nov 23 2024, 9:15 PM
Unknown Object (File)
Nov 23 2024, 11:41 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 Not Applicable
Unit
Tests Not Applicable