From: John Garry <john.garry@huawei.com> To: <jejb@linux.vnet.ibm.com>, <martin.petersen@oracle.com> Cc: <linuxarm@huawei.com>, <linux-kernel@vger.kernel.org>, <linux-scsi@vger.kernel.org>, John Garry <john.garry@huawei.com> Subject: [PATCH 0/8] hisi_sas: debugfs support Date: Wed, 19 Dec 2018 23:56:38 +0800 [thread overview] Message-ID: <1545235006-151716-1-git-send-email-john.garry@huawei.com> (raw) 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
WARNING: multiple messages have this Message-ID (diff)
From: John Garry <john.garry@huawei.com> To: jejb@linux.vnet.ibm.com, martin.petersen@oracle.com Cc: linuxarm@huawei.com, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, John Garry <john.garry@huawei.com> Subject: [PATCH 0/8] hisi_sas: debugfs support Date: Wed, 19 Dec 2018 23:56:38 +0800 [thread overview] Message-ID: <1545235006-151716-1-git-send-email-john.garry@huawei.com> (raw) 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
next reply other threads:[~2018-12-19 15:55 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-12-19 15:56 John Garry [this message] 2018-12-19 15:56 ` [PATCH 0/8] hisi_sas: debugfs support John Garry 2018-12-19 15:56 ` [PATCH 1/8] scsi: hisi_sas: Create root and device debugfs directories John Garry 2018-12-19 15:56 ` John Garry 2018-12-19 15:56 ` [PATCH 2/8] scsi: hisi_sas: Alloc debugfs snapshot buffer memory for all registers John Garry 2018-12-19 15:56 ` John Garry 2018-12-19 15:56 ` [PATCH 3/8] scsi: hisi_sas: Take debugfs snapshot for all regs John Garry 2018-12-19 15:56 ` John Garry 2018-12-19 15:56 ` [PATCH 4/8] scsi: hisi_sas: Debugfs global register create file and add file operations John Garry 2018-12-19 15:56 ` John Garry 2018-12-19 15:56 ` [PATCH 5/8] scsi: hisi_sas: Add debugfs for port registers John Garry 2018-12-19 15:56 ` John Garry 2018-12-19 15:56 ` [PATCH 6/8] scsi: hisi_sas: Add debugfs CQ file and add file operations John Garry 2018-12-19 15:56 ` John Garry 2018-12-19 15:56 ` [PATCH 7/8] scsi: hisi_sas: Add debugfs DQ " John Garry 2018-12-19 15:56 ` John Garry 2018-12-19 15:56 ` [PATCH 8/8] scsi: hisi_sas: Add debugfs IOST " John Garry 2018-12-19 15:56 ` John Garry 2019-01-04 5:54 ` [PATCH 0/8] hisi_sas: debugfs support Martin K. Petersen 2019-01-04 5:54 ` Martin K. Petersen
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1545235006-151716-1-git-send-email-john.garry@huawei.com \ --to=john.garry@huawei.com \ --cc=jejb@linux.vnet.ibm.com \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-scsi@vger.kernel.org \ --cc=linuxarm@huawei.com \ --cc=martin.petersen@oracle.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.