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)
Feb 7 2024, 4:33 AM
Unknown Object (File)
Dec 25 2023, 2:29 AM
Unknown Object (File)
Dec 22 2023, 10:43 PM
Unknown Object (File)
Dec 17 2023, 12:58 AM
Unknown Object (File)
Dec 10 2023, 6:43 PM
Unknown Object (File)
Oct 26 2023, 10:58 AM
Unknown Object (File)
Oct 26 2023, 10:57 AM
Unknown Object (File)
Oct 26 2023, 10:55 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