projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db7aa99
)
hw/ufs: Fix legacy single doorbell support bit
author
Jeuk Kim
<jeuk20.kim@gmail.com>
Tue, 7 Jan 2025 07:26:42 +0000
(16:26 +0900)
committer
Jeuk Kim
<jeuk20.kim@samsung.com>
Mon, 17 Feb 2025 09:20:53 +0000
(18:20 +0900)
QEMU UFS has supported both legacy single doorbell and MCQ,
but the LSDBS value was incorrectly set. This change corrects
the LSDBS value to 0.
Signed-off-by: Jeuk Kim <jeuk20.kim@samsung.com>
hw/ufs/ufs.c
patch
|
blob
|
history
diff --git
a/hw/ufs/ufs.c
b/hw/ufs/ufs.c
index 428fe927ad083e0f7dba3baf8ab0755120b97b31..1ccd6f88b69bb45c7c0769457162a1697b9354e7 100644
(file)
--- a/
hw/ufs/ufs.c
+++ b/
hw/ufs/ufs.c
@@
-1635,7
+1635,7
@@
static void ufs_init_hc(UfsHc *u)
cap = FIELD_DP32(cap, CAP, OODDS, 0);
cap = FIELD_DP32(cap, CAP, UICDMETMS, 0);
cap = FIELD_DP32(cap, CAP, CS, 0);
- cap = FIELD_DP32(cap, CAP, LSDBS,
1
);
+ cap = FIELD_DP32(cap, CAP, LSDBS,
0
);
cap = FIELD_DP32(cap, CAP, MCQS, u->params.mcq);
u->reg.cap = cap;