hw/ufs: Complete UFSHCI 4.1 link bring-up and MCQ tagging
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 2 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] hw/ufs: Complete UFSHCI 4.1 link bring-up and MCQ tagging
This series fixes two gaps that prevent a UFSHCI 4.1 host from bringing the emulated device up and using it over MCQ.
Patch 1 adds minimal DME_GET/SET handling for the PA layer attributes that a host reads and writes when negotiating the link power mode after DME_LINK_STARTUP. Previously every DME command other than LINK_STARTUP and HIBER_{ENTER,EXIT} returned FAILURE, so the power-mode change could not complete.
Patch 2 populates cqe.task_tag (and lun) in the MCQ completion path. The device reports version 4.1, for which the request tag is conveyed in the CQE task_tag field instead of being derived from the command descriptor base address, so completions were all decoded as tag 0.
Jeuk Kim (2):
hw/ufs: Emulate DME_GET/SET for PA layer attributes hw/ufs: Populate cqe.task_tag for UFSHCI 4.1 tag decoding
hw/ufs/ufs.c | 46 +++++++++++++++++++++++++++++++++++++++++++++ include/block/ufs.h | 18 +++++++++++++++++- 2 files changed, 63 insertions(+), 1 deletion(-)
Signature · 1 line
2.43.0