Page MenuHomeFreeBSD

ufshci: skip the reinit when the new link works
ClosedPublic

Authored by jaeyoon on Tue, Sep 1, 6:08 AM.
Tags
None
Referenced Files
F171623763: D59299.diff
Sat, Sep 12, 6:28 AM
F171568431: D59299.id185608.diff
Fri, Sep 11, 7:39 PM
Unknown Object (File)
Thu, Sep 10, 12:03 PM
Unknown Object (File)
Thu, Sep 10, 12:35 AM
Unknown Object (File)
Wed, Sep 9, 11:48 PM
Unknown Object (File)
Wed, Sep 9, 4:11 AM
Unknown Object (File)
Wed, Sep 9, 3:24 AM
Unknown Object (File)
Tue, Sep 8, 3:54 PM
Subscribers
None

Details

Summary

UFSHCI_QUIRK_REINIT_AFTER_MAX_GEAR_SWITCH always rebuilt the
link after the gear switch. It threw away a working HS link and
ended up in PWM. The reinit is only needed for a dead link.
There the local side reports HS and the peer never answers. A
local readback cannot tell the two apart. Peer traffic can.

Probe the peer with DME_PEER_GET after the switch. Skip the
reinit when the probe succeeds. Log it when the probe fails.

Sponsored by: Samsung Electronics

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 76370
Build 73253: arc lint + arc unit