]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: hisi_sas: Snapshot HW cache of IOST and ITCT at debugfs
authorLuo Jiaxing <luojiaxing@huawei.com>
Mon, 5 Aug 2019 13:48:01 +0000 (21:48 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 8 Aug 2019 02:13:14 +0000 (22:13 -0400)
commitebdb04f4a69a790d8a3b815e52636af7ecd04110
tree7d8bacc8270fc99e25e91af17504695f1fe5b511
parent011cc81f0ff3f740a2dcdc4631f2ea0aaa38d789
scsi: hisi_sas: Snapshot HW cache of IOST and ITCT at debugfs

The value of IOST/ITCT is updated to cache first, and then synchronize to
DDR periodically. So the value in IOST/ITCT cache is the latest data and
it's important for debugging.

So, the HW cache of IOST and ITCT should be snapshot at debugfs.

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_v3_hw.c