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
F137912032: D31509.id94407.diff
Thu, Nov 27, 3:55 AM
Unknown Object (File)
Thu, Nov 20, 7:35 PM
Unknown Object (File)
Thu, Nov 20, 7:26 PM
Unknown Object (File)
Thu, Nov 20, 7:25 PM
Unknown Object (File)
Thu, Nov 20, 7:13 PM
Unknown Object (File)
Thu, Oct 30, 12:44 PM
Unknown Object (File)
Oct 26 2025, 10:40 PM
Unknown Object (File)
Oct 18 2025, 8:58 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