linux/drivers/ufs
Peter Wang 4861fb1b9c scsi: ufs: core: Fix MCQ mode dev command timeout
[ Upstream commit 2a26a11e9c ]

When a dev command times out in MCQ mode, a successfully cleared command
should cause a retry. However, because we currently return 0, the caller
considers the command a success which causes the following error to be
logged: "Invalid offset 0x0 in descriptor IDN 0x9, length 0x0".

Retry if clearing the command was successful.

Signed-off-by: Peter Wang <peter.wang@mediatek.com>
Link: https://lore.kernel.org/r/20240328111244.3599-1-peter.wang@mediatek.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-05-17 12:14:40 +02:00
..
core scsi: ufs: core: Fix MCQ mode dev command timeout 2024-05-17 12:14:40 +02:00
host scsi: ufs: qcom: Add missing interconnect bandwidth values for Gear 5 2024-04-27 17:12:49 +02:00
Kconfig
Makefile