mbox series

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

Message ID 1571926105-74636-1-git-send-email-john.garry@huawei.com
Headers show
Series hisi_sas: Misc patches, mostly debugfs | expand

Message

John Garry Oct. 24, 2019, 2:08 p.m. UTC
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

Comments

Martin K. Petersen Oct. 25, 2019, 1:31 a.m. UTC | #1
John,

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


Applied to 5.5/scsi-queue, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering