Page MenuHomeFreeBSD

ufshci: handle a recovery reset before the SIM attach
ClosedPublic

Authored by jaeyoon on Wed, Aug 19, 5:43 AM.
Tags
None
Referenced Files
F168255240: D58947.diff
Thu, Aug 27, 5:15 AM
F168103615: D58947.id184310.diff
Wed, Aug 26, 10:00 AM
Unknown Object (File)
Tue, Aug 25, 8:28 PM
Unknown Object (File)
Tue, Aug 25, 5:15 AM
Unknown Object (File)
Sun, Aug 23, 3:58 AM
Unknown Object (File)
Sat, Aug 22, 8:55 AM
Unknown Object (File)
Fri, Aug 21, 12:48 PM
Unknown Object (File)
Fri, Aug 21, 7:47 AM
Subscribers
None

Details

Summary

When the first start attempt fails early, the recovery reset
runs the start sequence again without a SIM. That pass still
looked up the WLUN, so it dereferenced a NULL SIM and panicked.

Attach the SIM whenever it does not exist yet. Also make the
WLUN lookup return NULL when there is no SIM.

Sponsored by: Samsung Electronics

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable