scsi: ufs: dump hw regs on link failures
authorVenkat Gopalakrishnan <venkatg@codeaurora.org>
Sat, 4 Feb 2017 00:58:24 +0000 (16:58 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 7 Feb 2017 23:04:12 +0000 (18:04 -0500)
commit7942f7b568d7cda28c3aea9c81d48490769c853c
tree438bf79a2eb545223c3dbbf7fca60ef9c5ae9378
parent9c46b8676271857e7580f120cb6f8eefa7239ff4
scsi: ufs: dump hw regs on link failures

Dump host state, power info and host/vendor specific registers
on link failures. This provides useful info to debug the failures.

Signed-off-by: Venkat Gopalakrishnan <venkatg@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