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)
Mon, Jun 3, 1:53 AM
Unknown Object (File)
Fri, May 31, 3:45 PM
Unknown Object (File)
Sun, May 26, 6:22 AM
Unknown Object (File)
Fri, May 24, 12:28 AM
Unknown Object (File)
Fri, May 24, 12:28 AM
Unknown Object (File)
Tue, May 21, 8:12 PM
Unknown Object (File)
Tue, May 21, 7:53 PM
Unknown Object (File)
Mon, May 20, 7:26 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 40277
Build 37166: arc lint + arc unit

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