]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: core: Exclude UECxx from SFR dump list
authorKiwoong Kim <kwmad.kim@samsung.com>
Thu, 31 Mar 2022 01:24:05 +0000 (10:24 +0900)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 26 Apr 2022 12:29:54 +0000 (08:29 -0400)
commitd5dc204a6abba1ea4e3b2250f9a9716430918155
treedf8c8cb69c6bce99b8572a7b3fb7d32abcd72877
parent9db9aa4c76d1df6aebaf886c328347af6aa763d2
scsi: ufs: core: Exclude UECxx from SFR dump list

Some devices may return invalid or zeroed data during an UIC error
condition. In addition, reading these SFRs will clear them. This means the
subsequent error handling will not be able to see them and therefore no
error handling will be scheduled.

Skip reading these SFRs in ufshcd_dump_regs().

Link: https://lore.kernel.org/r/1648689845-33521-1-git-send-email-kwmad.kim@samsung.com
Fixes: 8619d5afccc8 ("scsi: ufs: Use explicit access size in ufshcd_dump_regs")
Signed-off-by: Kiwoong Kim <kwmad.kim@samsung.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c