Page MenuHomeFreeBSD

ufshci: skip the reinit when the new link works
AcceptedPublic

Authored by jaeyoon on Tue, Sep 1, 6:08 AM.
Tags
None
Referenced Files
F169559711: D59299.diff
Tue, Sep 1, 10:21 PM
F169413173: D59299.diff
Tue, Sep 1, 11:47 AM
F169386307: D59299.id.diff
Tue, Sep 1, 9:35 AM
Subscribers
None

Details

Reviewers
imp
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