[PATCH v2 00/18] hisi_sas: Misc patches, mostly debugfs

From: John Garry
Date: Thu Oct 24 2019 - 10:11:38 EST


This series introduces a couple of minor improvements in the main driver,
and mostly changes in the driver debugfs support.

The main change in the driver debugfs support is the ability to take
multiple memory dumps, which was not available previously. And the bulk
of the changes here is to create new structures for this purpose.

We also add a new debugfs feature to report PHY down events, which seem
to be useful to some people.

Difference from v1:
- fix compile error for 64b div on i386

Luo Jiaxing (14):
scsi: hisi_sas: Add timestamp for a debugfs dump
scsi: hisi_sas: Add debugfs file structure for CQ
scsi: hisi_sas: Add debugfs file structure for DQ
scsi: hisi_sas: Add debugfs file structure for registers
scsi: hisi_sas: Add debugfs file structure for port
scsi: hisi_sas: Add debugfs file structure for IOST
scsi: hisi_sas: Add debugfs file structure for ITCT
scsi: hisi_sas: Add debugfs file structure for IOST cache
scsi: hisi_sas: Add debugfs file structure for ITCT cache
scsi: hisi_sas: Allocate memory for multiple dumps of debugfs
scsi: hisi_sas: Add module parameter for debugfs dump count
scsi: hisi_sas: Add ability to have multiple debugfs dumps
scsi: hisi_sas: Delete the debugfs folder of hisi_sas when the probe
fails
scsi: hisi_sas: Record the phy down event in debugfs

Xiang Chen (4):
scsi: hisi_sas: Don't create debugfs dump folder twice
scsi: hisi_sas: Set the BIST init value before enabling BIST
scsi: hisi_sas: use wait_for_completion_timeout() when clearing ITCT
scsi: hisi_sas: Replace in_softirq() check in hisi_sas_task_exec()

drivers/scsi/hisi_sas/hisi_sas.h | 67 ++++-
drivers/scsi/hisi_sas/hisi_sas_main.c | 369 ++++++++++++++++---------
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c | 6 +-
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 13 +-
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 26 +-
5 files changed, 333 insertions(+), 148 deletions(-)

--
2.17.1