linux/drivers/scsi/hisi_sas
Xiang Chen 52347d7ff6 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:23:28 +02:00
..
hisi_sas_main.c scsi: hisi_sas: Modify the deadline for ata_wait_after_reset() 2024-04-17 11:23:28 +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: Correct the number of global debugfs registers 2023-12-13 23:24:55 -05:00
hisi_sas.h scsi: hisi_sas: Allocate DFX memory during dump trigger 2023-09-21 22:01:28 -04: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