Page MenuHomeFreeBSD

pci_dw.c: Set IO ATU window correctly
ClosedPublic

Authored by mindal_semihalf.com on Mar 31 2021, 4:19 PM.

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
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

mindal_semihalf.com created this revision.
This revision is now accepted and ready to land.Mar 31 2021, 4:20 PM
This revision was automatically updated to reflect the committed changes.