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, Mar 25, 8:11 AM
Unknown Object (File)
Sat, Mar 21, 4:51 AM
Unknown Object (File)
Wed, Mar 18, 1:22 PM
Unknown Object (File)
Mon, Mar 9, 6:38 PM
Unknown Object (File)
Sat, Mar 7, 10:00 PM
Unknown Object (File)
Sat, Mar 7, 10:00 PM
Unknown Object (File)
Tue, Mar 3, 4:55 PM
Unknown Object (File)
Tue, Mar 3, 5:21 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