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)
Feb 7 2024, 12:59 PM
Unknown Object (File)
Jan 27 2024, 5:19 PM
Unknown Object (File)
Jan 24 2024, 7:25 PM
Unknown Object (File)
Dec 23 2023, 12:07 PM
Unknown Object (File)
Dec 17 2023, 9:56 AM
Unknown Object (File)
Dec 12 2023, 7:52 AM
Unknown Object (File)
Oct 6 2023, 4:54 AM
Unknown Object (File)
Oct 4 2023, 10:46 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