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)
Thu, Oct 31, 2:46 PM
Unknown Object (File)
Thu, Oct 17, 1:57 PM
Unknown Object (File)
Thu, Oct 17, 1:57 PM
Unknown Object (File)
Thu, Oct 17, 1:57 PM
Unknown Object (File)
Thu, Oct 17, 1:35 PM
Unknown Object (File)
Oct 3 2024, 12:42 PM
Unknown Object (File)
Sep 30 2024, 12:18 PM
Unknown Object (File)
Sep 30 2024, 10:26 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

Lint
Lint Skipped
Unit
Tests Skipped