]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
scsi: ufs: core: Add debug log for UIC command timeout
authorPeter Wang <peter.wang@mediatek.com>
Tue, 10 Feb 2026 06:41:43 +0000 (14:41 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 24 Feb 2026 18:40:01 +0000 (13:40 -0500)
commit01517654bc258efb2610e53e99fa4ef641d134b9
tree03d3373c93e785355fa82f53a5c9adaf7a8d7624
parent931c105de11c2e0e9675fbc061b16a9c5f134dcf
scsi: ufs: core: Add debug log for UIC command timeout

It is difficult to debug when a UIC command timeout occurs simultaneously
with a UIC command complete interrupt.  Currently, we only see the timeout
log without any debug information, making it unclear whether the UFS device
failed to respond or the host entered an incorrect state.  Add a one-line
log to cover this situation.

Signed-off-by: Peter Wang <peter.wang@mediatek.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Link: https://patch.msgid.link/20260210070837.1820710-2-peter.wang@mediatek.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c