summaryrefslogtreecommitdiff
path: root/drivers/scsi/ufs/ufshci.h
diff options
context:
space:
mode:
authorDolev Raviv <draviv@codeaurora.org>2016-12-23 05:39:42 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2017-01-06 02:10:03 +0300
commit66cc820f9cbf12f1c6c84fb7392847b7fa5e76c4 (patch)
tree8a916ba4d454efaefc2b6d57bb26e630909f0bad /drivers/scsi/ufs/ufshci.h
parent364757e4682c0a046dc7da20d359a9a37dfff703 (diff)
downloadlinux-66cc820f9cbf12f1c6c84fb7392847b7fa5e76c4.tar.xz
scsi: ufs: dump debug info during failures
Inserts driver dumps for UFS Host Controller registers, Transfer Requests and Task Management Requests. The dumps will occur on driver initialization failure, ufshcd_abort() and on error handling path. Signed-off-by: Dolev Raviv <draviv@codeaurora.org> Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ufs/ufshci.h')
-rw-r--r--drivers/scsi/ufs/ufshci.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/ufs/ufshci.h b/drivers/scsi/ufs/ufshci.h
index 8c5190e2e1c9..d14e9b965d1e 100644
--- a/drivers/scsi/ufs/ufshci.h
+++ b/drivers/scsi/ufs/ufshci.h
@@ -72,6 +72,9 @@ enum {
REG_UIC_COMMAND_ARG_1 = 0x94,
REG_UIC_COMMAND_ARG_2 = 0x98,
REG_UIC_COMMAND_ARG_3 = 0x9C,
+
+ UFSHCI_REG_SPACE_SIZE = 0xA0,
+
REG_UFS_CCAP = 0x100,
REG_UFS_CRYPTOCAP = 0x104,