1
0
Fork 0
alistair23-linux/drivers/scsi/hisi_sas
Luo Jiaxing ba5192db96 scsi: hisi_sas: Do not reset phy timer to wait for stray phy up
[ Upstream commit e16b9ed61e ]

We found out that after phy up, the hardware reports another oob interrupt
but did not follow a phy up interrupt:

oob ready -> phy up -> DEV found -> oob read -> wait phy up -> timeout

We run link reset when wait phy up timeout, and it send a normal disk into
reset processing. So we made some circumvention action in the code, so that
this abnormal oob interrupt will not start the timer to wait for phy up.

Link: https://lore.kernel.org/r/1589552025-165012-2-git-send-email-john.garry@huawei.com
Signed-off-by: Luo Jiaxing <luojiaxing@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-06-24 17:50:15 +02:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
hisi_sas.h scsi: hisi_sas: Add BIST support for phy loopback 2019-09-10 22:28:57 -04:00
hisi_sas_main.c scsi: hisi_sas: Do not reset phy timer to wait for stray phy up 2020-06-24 17:50:15 +02:00
hisi_sas_v1_hw.c scsi: hisi_sas: Remove hisi_sas_hw.slot_complete 2019-09-10 22:28:56 -04:00
hisi_sas_v2_hw.c scsi: hisi_sas: Remove some unused function arguments 2019-09-10 22:28:56 -04:00
hisi_sas_v3_hw.c scsi: hisi_sas: Return directly if init hardware failed 2020-01-23 08:22:58 +01:00