scsi: ufs: dump debug info during failures
authorDolev Raviv <draviv@codeaurora.org>
Fri, 23 Dec 2016 02:39:42 +0000 (18:39 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 5 Jan 2017 23:10:03 +0000 (18:10 -0500)
commit66cc820f9cbf12f1c6c84fb7392847b7fa5e76c4
tree8a916ba4d454efaefc2b6d57bb26e630909f0bad
parent364757e4682c0a046dc7da20d359a9a37dfff703
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>
drivers/scsi/ufs/ufshcd.c
drivers/scsi/ufs/ufshci.h