* [PATCH 0/2] hw/ufs: Complete UFSHCI 4.1 link bring-up and MCQ tagging
@ 2026-06-29 1:19 Jeuk Kim
0 siblings, 0 replies; only message in thread
From: Jeuk Kim @ 2026-06-29 1:19 UTC (permalink / raw)
To: qemu-devel
Cc: jeuk20.kim, kwolf, hreitz, qemu-block, j-young.choi, jaemyung.lee
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(-)
--
2.43.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-29 1:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-29 1:19 [PATCH 0/2] hw/ufs: Complete UFSHCI 4.1 link bring-up and MCQ tagging Jeuk Kim
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.