Page MenuHomeFreeBSD

pci_dw: Detect number of outbound regions automatically
ClosedPublic

Authored by jrtc27 on Jul 5 2021, 12:10 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jul 27, 12:32 PM
Unknown Object (File)
Sat, Jul 19, 7:57 AM
Unknown Object (File)
Jun 30 2025, 11:55 PM
Unknown Object (File)
Jun 30 2025, 2:54 PM
Unknown Object (File)
Jun 29 2025, 5:45 PM
Unknown Object (File)
Jun 29 2025, 2:02 PM
Unknown Object (File)
Jun 29 2025, 4:39 AM
Unknown Object (File)
Jun 27 2025, 11:45 AM
Subscribers

Details

Summary

Currently we use the num-viewports property to decide how many outbound
regions there are we can use, defaulting to 2. However, Linux has
stopped using that and so it no longer appears in new device trees, such
as for the SiFive FU740. Instead, it's possible to just probe the
hardware directly.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I need day or two to test this on my boards, but it looks OK for me.

Tested on MACCHIATObin and HoneyComb LX2.

This revision is now accepted and ready to land.Jul 10 2021, 11:46 AM