BACKPORT: FROMGIT: scsi: ufs: Add some debug information to ufshcd_print_host_state()
Information about the last interrupt status and timestamp is helpful when debugging system stability issues (IRQ starvation, for instance). Add this information to ufshcd_print_host_state() output. In addition, UFS device information such as model name and firmware version also comes in handy during debugging. This is printed as well. Link: https://lore.kernel.org/r/1596975355-39813-5-git-send-email-cang@codeaurora.org Reviewed-by:Avri Altman <avri.altman@wdc.com> Reviewed-by:
Hongwu Su <hongwus@codeaurora.org> Reviewed-by:
Asutosh Das <asutoshd@codeaurora.org> Reviewed-by:
Stanley Chu <stanley.chu@mediatek.com> Reviewed-by:
Bean Huo <beanhuo@micron.com> Signed-off-by:
Can Guo <cang@codeaurora.org> Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com> Bug: 165343119 (cherry picked from commit 3f8af6044713fab0aeb884e1be6bcc2cb276725e https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git 5.10/scsi-queue) Change-Id: I6b8ec998a0563252786f1baf2e6bc962659118a8 [can: Resolved minor conflict in ufshcd.c] Signed-off-by:
Can Guo <cang@codeaurora.org>
Loading
Please register or sign in to comment