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
F168248261: D58946.diff
Thu, Aug 27, 4:12 AM
F168197058: D58946.id.diff
Wed, Aug 26, 8:17 PM
Unknown Object (File)
Wed, Aug 26, 4:36 AM
Unknown Object (File)
Wed, Aug 26, 2:05 AM
Unknown Object (File)
Wed, Aug 26, 2:01 AM
Unknown Object (File)
Tue, Aug 25, 1:26 PM
Unknown Object (File)
Tue, Aug 25, 8:29 AM
Unknown Object (File)
Tue, Aug 25, 12:34 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