From: Jeuk Kim Date: Tue, 7 Jan 2025 07:26:42 +0000 (+0900) Subject: hw/ufs: Fix legacy single doorbell support bit X-Git-Tag: v10.0.0-rc0~47^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f8af22afec5092ce641fb5e5305f2bb9b232f206;p=thirdparty%2Fqemu.git hw/ufs: Fix legacy single doorbell support bit 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 --- diff --git a/hw/ufs/ufs.c b/hw/ufs/ufs.c index 428fe927ad..1ccd6f88b6 100644 --- 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;