mbox series

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

Message ID 20241008021822.2617339-1-liyihang9@huawei.com
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!
Martin K. Petersen Oct. 26, 2024, 1:37 a.m. UTC | #2
On Tue, 08 Oct 2024 10:18:09 +0800, Yihang Li wrote:

> 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-queue, thanks!

[01/13] scsi: hisi_sas: Adjust priority of registering and exiting debugfs for security
        https://git.kernel.org/mkp/scsi/c/e6702e391932
[02/13] scsi: hisi_sas: Create trigger_dump at the end of the debugfs initialization
        https://git.kernel.org/mkp/scsi/c/436a97c5d288
[03/13] scsi: hisi_sas: Add firmware information check
        https://git.kernel.org/mkp/scsi/c/2c335fa7e69c
[04/13] scsi: hisi_sas: Enable all PHYs that are not disabled by user during controller reset
        https://git.kernel.org/mkp/scsi/c/08a07dc71d7f
[05/13] scsi: hisi_sas: Reset PHY again if phyup timeout
        https://git.kernel.org/mkp/scsi/c/64359afb7068
[06/13] scsi: hisi_sas: Check usage count only when the runtime PM status is RPM_SUSPENDING
        https://git.kernel.org/mkp/scsi/c/4ca4ce000610
[07/13] scsi: hisi_sas: Add cond_resched() for no forced preemption model
        https://git.kernel.org/mkp/scsi/c/2233c4a0b948
[08/13] scsi: hisi_sas: Default enable interrupt coalescing
        https://git.kernel.org/mkp/scsi/c/a220bffebabe
[09/13] scsi: hisi_sas: Update disk locked timeout to 7 seconds
        https://git.kernel.org/mkp/scsi/c/90b24856b311
[10/13] scsi: hisi_sas: Add time interval between two H2D FIS following soft reset spec
        https://git.kernel.org/mkp/scsi/c/3c62791322e4
[11/13] scsi: hisi_sas: Update v3 hw STP_LINK_TIMER setting
        https://git.kernel.org/mkp/scsi/c/90f17e3431d9
[12/13] scsi: hisi_sas: Create all dump files during debugfs initialization
        https://git.kernel.org/mkp/scsi/c/9f564f15f884
[13/13] scsi: hisi_sas: Add latest_dump for the debugfs dump
        https://git.kernel.org/mkp/scsi/c/cae668130c07