Page MenuHomeFreeBSD

qoriq_dw_pci: Fix typo in link status checking code
ClosedPublic

Authored by bag_semihalf.com on Aug 11 2021, 3:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Aug 12, 9:06 PM
Unknown Object (File)
Wed, Aug 12, 2:24 PM
Unknown Object (File)
Mon, Aug 10, 8:19 AM
Unknown Object (File)
Mon, Aug 10, 3:29 AM
Unknown Object (File)
Sun, Aug 9, 1:12 PM
Unknown Object (File)
Sat, Aug 8, 4:34 AM
Unknown Object (File)
Sat, Aug 8, 12:39 AM
Unknown Object (File)
Fri, Jul 24, 6:08 PM

Details

Summary

On some DesignWare PCIe controllers accessing config registers of slots
whose link is down triggers a SError. Because of that we need to check the
link status before any acceses config space.
Due to a typo link was always reported up.
This fixes a SError that occured during boot on LS1028A-RDB.

Diff Detail

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