mbox series

[0/3] Some fixes and optimizations for hisi_sas debugfs

Message ID 1694571327-78697-1-git-send-email-chenxiang66@hisilicon.com (mailing list archive)
Headers show
Series Some fixes and optimizations for hisi_sas debugfs | expand

Message

chenxiang Sept. 13, 2023, 2:15 a.m. UTC
From: Xiang Chen <chenxiang66@hisilicon.com>

The patchset includes:
- Fix NULL pointer issue when removing debugfs;
- Directly calling register snapshot instead of workqueue;
- Allocate debugfs memory during triggering debugfs dump;

Yihang Li (3):
  scsi: hisi_sas: Set debugfs_dir pointer to NULL after debugfs remove
  scsi: hisi_sas: Directly calling register snapshot instead of
    workqueue
  scsi: hisi_sas: Allocate DFX memory during dump trigger

 drivers/scsi/hisi_sas/hisi_sas.h       |   3 +-
 drivers/scsi/hisi_sas/hisi_sas_main.c  |   7 +-
 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 116 +++++++++++++++------------------
 3 files changed, 59 insertions(+), 67 deletions(-)

Comments

Martin K. Petersen Sept. 22, 2023, 2:03 a.m. UTC | #1
chenxiang,

> The patchset includes:
> - Fix NULL pointer issue when removing debugfs;
> - Directly calling register snapshot instead of workqueue;
> - Allocate debugfs memory during triggering debugfs dump;

Applied to 6.7/scsi-staging, thanks!
Martin K. Petersen Sept. 27, 2023, 7:34 p.m. UTC | #2
On Wed, 13 Sep 2023 10:15:24 +0800, chenxiang wrote:

> The patchset includes:
> - Fix NULL pointer issue when removing debugfs;
> - Directly calling register snapshot instead of workqueue;
> - Allocate debugfs memory during triggering debugfs dump;
> 
> Yihang Li (3):
>   scsi: hisi_sas: Set debugfs_dir pointer to NULL after debugfs remove
>   scsi: hisi_sas: Directly calling register snapshot instead of
>     workqueue
>   scsi: hisi_sas: Allocate DFX memory during dump trigger
> 
> [...]

Applied to 6.7/scsi-queue, thanks!

[1/3] scsi: hisi_sas: Set debugfs_dir pointer to NULL after removing debugfs
      https://git.kernel.org/mkp/scsi/c/6de426f9276c
[2/3] scsi: hisi_sas: Directly calling register snapshot instead of workqueue
      https://git.kernel.org/mkp/scsi/c/2ff07b5c6fe9
[3/3] scsi: hisi_sas: Allocate DFX memory during dump trigger
      https://git.kernel.org/mkp/scsi/c/63f0733d07ce