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)
Tue, Aug 18, 10:32 PM
Unknown Object (File)
Aug 12 2026, 9:06 PM
Unknown Object (File)
Aug 12 2026, 2:24 PM
Unknown Object (File)
Aug 10 2026, 8:19 AM
Unknown Object (File)
Aug 10 2026, 3:29 AM
Unknown Object (File)
Aug 9 2026, 1:12 PM
Unknown Object (File)
Aug 8 2026, 4:34 AM
Unknown Object (File)
Aug 8 2026, 12:39 AM

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