linux-stable/drivers/scsi/hisi_sas
Xiang Chen f9242f1667 scsi: hisi_sas: Remove hisi_hba->timer for v3 hw
hisi_hba->timer is not used for v3 hw but there are two places that some
operations related to hisi_hba->timer are called by v3 hw:

 - Deleting the timer in function hisi_sas_v3_hw() which is only for v3 hw;

 - Deleting the timer in function hisi_sas_controller_reset_prepare() which
   is common for v1/v2/v3 hw.

We can remove the timer in the first case, but for the second scenario we
need to remove it only for v3 hw, so check hw->sht which is NULL only for
v3 hw before deleting hisi_hba->timer.

Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Link: https://lore.kernel.org/r/1705904747-62186-5-git-send-email-chenxiang66@hisilicon.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2024-01-24 21:11:54 -05:00
..
hisi_sas.h scsi: hisi_sas: Allocate DFX memory during dump trigger 2023-09-21 22:01:28 -04:00
hisi_sas_main.c scsi: hisi_sas: Remove hisi_hba->timer for v3 hw 2024-01-24 21:11:54 -05:00
hisi_sas_v1_hw.c scsi: libsas: Delete sas_ssp_task.task_prio 2023-08-21 17:50:58 -04:00
hisi_sas_v2_hw.c Merge patch series "libsas: Some tidy-up" 2023-08-24 21:06:16 -04:00
hisi_sas_v3_hw.c scsi: hisi_sas: Remove hisi_hba->timer for v3 hw 2024-01-24 21:11:54 -05:00
Kconfig scsi: hisi_sas: Enable debugfs support by default 2021-01-26 23:02:11 -05:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00