scsi: hisi_sas: Take debugfs snapshot for all regs
authorLuo Jiaxing <luojiaxing@huawei.com>
Wed, 19 Dec 2018 15:56:41 +0000 (23:56 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 9 Jan 2019 02:58:37 +0000 (21:58 -0500)
commit49159a5e4175f9f7a5149e7e27f583de04e934c2
treed63dfc1467d800fcec3308150a278b86000eb4ef
parenteb1c2b72b7694c984d520300c901f5fc1fa8ea9e
scsi: hisi_sas: Take debugfs snapshot for all regs

This patch takes snapshot for global regs, port regs, CQ, DQ, IOST, ITCT.

Add code for snapshot trig and generate dump directory.

Signed-off-by: Luo Jiaxing <luojiaxing@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas.h
drivers/scsi/hisi_sas/hisi_sas_main.c
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c