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
F173093262: D59299.id185537.diff
Wed, Sep 23, 1:11 PM
Unknown Object (File)
Wed, Sep 23, 2:59 AM
Unknown Object (File)
Tue, Sep 22, 10:10 PM
Unknown Object (File)
Sun, Sep 20, 2:10 PM
Unknown Object (File)
Sun, Sep 20, 8:50 AM
Unknown Object (File)
Fri, Sep 18, 3:30 AM
Unknown Object (File)
Thu, Sep 17, 12:31 PM
Unknown Object (File)
Tue, Sep 15, 2:38 AM
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 Not Applicable
Unit
Tests Not Applicable