mbox series

[v2,00/13] scsi: hisi_sas: Some fixes for hisi_sas

Message ID 20241008021822.2617339-1-liyihang9@huawei.com (mailing list archive)
Headers show
Series scsi: hisi_sas: Some fixes for hisi_sas | expand

Message

Yihang Li Oct. 8, 2024, 2:18 a.m. UTC
This series contains some fixes including:
- Adjust priority of registering and exiting debugfs for security;
- Create trigger_dump at the end of the debugfs initialization;
- Add firmware information check;
- Enable all PHYs that are not disabled by user during controller reset;
- Reset PHY again if phyup timeout;
- Check usage count only when the runtime PM status is RPM_SUSPENDING;
- Add cond_resched() for no forced preemption model;
- Default enable interrupt coalescing;
- Update disk locked timeout to 7 seconds;
- Add time interval between two H2D FIS following soft reset spec;
- Update v3 hw STP_LINK_TIMER setting;
- Create all dump files during debugfs initialization;
- Add latest_dump for the debugfs dump;

Changes since v1:
- Use goto instead of return to fix the build error in patch 3.

Xingui Yang (3):
  scsi: hisi_sas: Update disk locked timeout to 7 seconds
  scsi: hisi_sas: Add time interval between two H2D FIS following soft
    reset spec
  scsi: hisi_sas: Update v3 hw STP_LINK_TIMER setting

Yihang Li (10):
  scsi: hisi_sas: Adjust priority of registering and exiting debugfs for
    security
  scsi: hisi_sas: Create trigger_dump at the end of the debugfs
    initialization
  scsi: hisi_sas: Add firmware information check
  scsi: hisi_sas: Enable all PHYs that are not disabled by user during
    controller reset
  scsi: hisi_sas: Reset PHY again if phyup timeout
  scsi: hisi_sas: Check usage count only when the runtime PM status is
    RPM_SUSPENDING
  scsi: hisi_sas: Add cond_resched() for no forced preemption model
  scsi: hisi_sas: Default enable interrupt coalescing
  scsi: hisi_sas: Create all dump files during debugfs initialization
  scsi: hisi_sas: Add latest_dump for the debugfs dump

 drivers/scsi/hisi_sas/hisi_sas.h       |   1 +
 drivers/scsi/hisi_sas/hisi_sas_main.c  |  31 +++-
 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c |  18 +++
 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c |  18 +++
 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 187 ++++++++++++++++++-------
 5 files changed, 204 insertions(+), 51 deletions(-)

Comments

Martin K. Petersen Oct. 16, 2024, 2:34 a.m. UTC | #1
Yihang,

> This series contains some fixes including:
> - Adjust priority of registering and exiting debugfs for security;
> - Create trigger_dump at the end of the debugfs initialization;
> - Add firmware information check;
> - Enable all PHYs that are not disabled by user during controller reset;
> - Reset PHY again if phyup timeout;
> - Check usage count only when the runtime PM status is RPM_SUSPENDING;
> - Add cond_resched() for no forced preemption model;
> - Default enable interrupt coalescing;
> - Update disk locked timeout to 7 seconds;
> - Add time interval between two H2D FIS following soft reset spec;
> - Update v3 hw STP_LINK_TIMER setting;
> - Create all dump files during debugfs initialization;
> - Add latest_dump for the debugfs dump;

Applied to 6.13/scsi-staging, thanks!