]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/ufs: fix CQE endianness and UPIU length
authorJeuk Kim <jeuk20.kim@samsung.com>
Tue, 27 Jan 2026 05:02:50 +0000 (14:02 +0900)
committerJeuk Kim <jeuk20.kim@samsung.com>
Mon, 2 Feb 2026 05:33:46 +0000 (14:33 +0900)
commited621cc8e2a6dab2663ffb02e875f896f521bee2
treef331de472e86fca8564eecc698cee3b167493db3
parent289e6a3edf5041a9f96c3fb792845b94b5b3c666
hw/ufs: fix CQE endianness and UPIU length

Round-trip UTRD fields through cpu_to_le/ le_to_cpu when building MCQ CQEs to
keep BE hosts correct. Also avoid double BE conversion of response
data_segment_length and document the LE round-trip.

Signed-off-by: Jeuk Kim <jeuk20.kim@samsung.com>
hw/ufs/lu.c
hw/ufs/ufs.c
include/block/ufs.h