Page MenuHomeFreeBSD

Add driver for Rockchip PCIe root complex found in RK3399 SOC.
ClosedPublic

Authored by mmel on Dec 7 2019, 5:02 PM.
Tags
None
Referenced Files
F150411371: D22724.id65659.diff
Wed, Apr 1, 12:16 AM
Unknown Object (File)
Tue, Mar 31, 6:15 PM
Unknown Object (File)
Tue, Mar 31, 7:21 AM
Unknown Object (File)
Mon, Mar 30, 12:09 PM
Unknown Object (File)
Tue, Mar 24, 11:18 PM
Unknown Object (File)
Tue, Mar 24, 5:55 AM
Unknown Object (File)
Fri, Mar 20, 3:15 AM
Unknown Object (File)
Thu, Mar 19, 2:11 PM

Details

Summary

Unfortunately, there are some limitations:

  • memory aperture of this controller is only 16MiB, so it is nearly unusable for graphic cards
  • every attempt to generate type 1 config cycle always causes trap. These config cycles are disabled now and we don't support cards with PCIe switch.
  • in some cases, attempt to do config cycle to (probably) not-yet ready card also causes trap. This cannot be detected at runtime, but it seems like very rare issue.

MFC after: 3 weeks

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable