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)
Sun, Apr 19, 11:45 AM
Unknown Object (File)
Sun, Apr 19, 10:49 AM
Unknown Object (File)
Wed, Apr 15, 7:43 AM
Unknown Object (File)
Mon, Apr 13, 1:26 AM
Unknown Object (File)
Thu, Apr 9, 11:51 PM
Unknown Object (File)
Tue, Apr 7, 8:01 PM
Unknown Object (File)
Tue, Apr 7, 2:16 AM
Unknown Object (File)
Thu, Apr 2, 7:18 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