]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
scsi: ufs: core: Support dumping CQ entry in MCQ Mode
authorPeter Wang <peter.wang@mediatek.com>
Thu, 16 Oct 2025 02:32:32 +0000 (10:32 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 22 Oct 2025 01:16:04 +0000 (21:16 -0400)
commit8627f322cb7b6f1f9f7a78bd9c79b82534fbc9c9
treea43dcd9b2a0d047fdfbae85a518ef98d3a6212b6
parentbfe0d22f12559f44bf27ae88b9c4a9f8fdae65d0
scsi: ufs: core: Support dumping CQ entry in MCQ Mode

Enhance the ufshcd_print_tr() function to support dumping completion
queue (CQ) entries in MCQ mode when an error occurs.  This addition
provides more detailed debugging information by including the CQ entry
data in the error logs, aiding in the diagnosis of issues in MCQ mode.

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