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)
Mon, Sep 23, 12:07 AM
Unknown Object (File)
Sun, Sep 22, 7:36 PM
Unknown Object (File)
Wed, Sep 18, 1:07 PM
Unknown Object (File)
Wed, Sep 18, 8:57 AM
Unknown Object (File)
Mon, Sep 16, 8:01 AM
Unknown Object (File)
Wed, Sep 11, 8:30 AM
Unknown Object (File)
Wed, Sep 11, 6:29 AM
Unknown Object (File)
Mon, Sep 9, 3:20 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