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)
Fri, Sep 18, 8:16 AM
Unknown Object (File)
Thu, Sep 17, 9:43 AM
Unknown Object (File)
Mon, Sep 14, 4:32 AM
Unknown Object (File)
Fri, Sep 11, 6:34 PM
Unknown Object (File)
Thu, Sep 10, 6:47 AM
Unknown Object (File)
Wed, Sep 9, 5:32 AM
Unknown Object (File)
Wed, Sep 9, 12:22 AM
Unknown Object (File)
Tue, Sep 8, 8:45 PM
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