linux-stable/drivers/scsi/hisi_sas
Xiang Chen 8a18216457 scsi: hisi_sas: Modify the deadline for ata_wait_after_reset()
[ Upstream commit 0098c55e08 ]

We found that the second parameter of function ata_wait_after_reset() is
incorrectly used. We call smp_ata_check_ready_type() to poll the device
type until the 30s timeout, so the correct deadline should be (jiffies +
30000).

Fixes: 3c2673a09c ("scsi: hisi_sas: Fix SATA devices missing issue during I_T nexus reset")
Co-developed-by: xiabing <xiabing12@h-partners.com>
Signed-off-by: xiabing <xiabing12@h-partners.com>
Co-developed-by: Yihang Li <liyihang9@huawei.com>
Signed-off-by: Yihang Li <liyihang9@huawei.com>
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Link: https://lore.kernel.org/r/20240402035513.2024241-3-chenxiang66@hisilicon.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-04-17 11:19:27 +02:00
..
Kconfig scsi: hisi_sas: Enable debugfs support by default 2021-01-26 23:02:11 -05:00
Makefile
hisi_sas.h scsi: hisi_sas: Convert to platform remove callback returning void 2023-06-07 21:20:21 -04:00
hisi_sas_main.c scsi: hisi_sas: Modify the deadline for ata_wait_after_reset() 2024-04-17 11:19:27 +02: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: Set .phy_attached before notifing phyup event HISI_PHYE_PHY_UP_PM 2024-02-05 20:14:23 +00:00