hw/ufs: minor bug fixes related to ufs-test

Minor bugs and errors related to ufs-test are resolved. Some
permissions and code implementations that are not synchronized
with the ufs spec are edited.

Signed-off-by: Yoochan Jeong <yc01.jeong@samsung.com>
Reviewed-by: Jeuk Kim <jeuk20.kim@samsung.com>
Signed-off-by: Jeuk Kim <jeuk20.kim@samsung.com>
This commit is contained in:
Yoochan Jeong
2024-09-06 18:04:16 +09:00
committed by Jeuk Kim
parent de2cc40782
commit 7c85332a2b
3 changed files with 27 additions and 9 deletions
+6
View File
@@ -763,6 +763,12 @@ typedef struct QEMU_PACKED UtpTaskReqDesc {
*/
#define UFS_WB_EXCEED_LIFETIME 0x0B
/*
* The range of valid value of Active ICC attritbute
* is from 0x00 to 0x0F.
*/
#define UFS_QUERY_ATTR_ACTIVE_ICC_MAXVALUE 0x0F
/*
* In UFS Spec, the Extra Header Segment (EHS) starts from byte 32 in UPIU
* request/response packet