Page MenuHomeFreeBSD

ufshci: build valid fake responses for manual completion
ClosedPublic

Authored by jaeyoon on Wed, Aug 19, 5:33 AM.
Tags
None
Referenced Files
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
Unknown Object (File)
Tue, Sep 8, 8:15 PM
Unknown Object (File)
Tue, Sep 8, 4:24 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