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)
Jan 18 2024, 3:30 AM
Unknown Object (File)
Jan 2 2024, 11:52 AM
Unknown Object (File)
Dec 22 2023, 10:51 PM
Unknown Object (File)
Dec 18 2023, 3:51 AM
Unknown Object (File)
Dec 13 2023, 6:18 AM
Unknown Object (File)
Oct 15 2023, 10:22 AM
Unknown Object (File)
Sep 18 2023, 9:27 PM
Unknown Object (File)
Aug 26 2023, 10:45 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