[PATCH 0/8] hisi_sas: debugfs support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patchset adds debugfs support for capturing driver state for
particular times when the HW has malfunctioned (and we must reset the HW).

Every controller HW version has had bugs. These bugs have been very
painful to debug. One useful tool to debug these is being able to capture
and export HW registers and driver control structures at point of failure.

This feature has been maintained out-of-tree for some time, so add it now.

Luo Jiaxing (8):
  scsi: hisi_sas: Create root and device debugfs directories
  scsi: hisi_sas: Alloc debugfs snapshot buffer memory for all registers
  scsi: hisi_sas: Take debugfs snapshot for all regs
  scsi: hisi_sas: Debugfs global register create file and add file
    operations
  scsi: hisi_sas: Add debugfs for port registers
  scsi: hisi_sas: Add debugfs CQ file and add file operations
  scsi: hisi_sas: Add debugfs DQ file and add file operations
  scsi: hisi_sas: Add debugfs IOST file and add file operations

 drivers/scsi/hisi_sas/hisi_sas.h       |  47 ++-
 drivers/scsi/hisi_sas/hisi_sas_main.c  | 508 +++++++++++++++++++++++++++++++++
 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c |   9 +-
 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 174 ++++++++++-
 4 files changed, 732 insertions(+), 6 deletions(-)

-- 
1.9.1




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux