Page MenuHomeFreeBSD

ufshci: build valid fake responses for manual completion
ClosedPublic

Authored by jaeyoon on Aug 19 2026, 5:33 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 6, 6:49 PM
Unknown Object (File)
Tue, Oct 6, 7:28 AM
Unknown Object (File)
Mon, Oct 5, 9:01 AM
Unknown Object (File)
Sat, Oct 3, 8:53 PM
Unknown Object (File)
Fri, Oct 2, 6:54 PM
Unknown Object (File)
Wed, Sep 30, 2:50 AM
Unknown Object (File)
Sat, Sep 26, 7:29 AM
Unknown Object (File)
Fri, Sep 18, 8:16 AM
Subscribers
None

Details

Summary

The manual completion wrote the fake response to the wrong
descriptor for task management slots. It also left the task tag
at zero, which tripped the task tag check under INVARIANTS.

Write the fake response where the completion path reads it.
Copy the task tag from the request.

Sponsored by: Samsung Electronics

Diff Detail

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