]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
scsi: hisi_sas: Do not reset phy timer to wait for stray phy up
authorLuo Jiaxing <luojiaxing@huawei.com>
Fri, 15 May 2020 14:13:42 +0000 (22:13 +0800)
committerKhalid Elmously <khalid.elmously@canonical.com>
Sat, 8 Aug 2020 05:53:12 +0000 (01:53 -0400)
commit9a31f41a51ea959e9ee9711f915dc9d1992829e5
tree57651f4c50787f5fc911238b60469e17f1d5e892
parent86e7fc4345cc92b8bad2a8d65bd3ee5ca39da020
scsi: hisi_sas: Do not reset phy timer to wait for stray phy up

BugLink: https://bugs.launchpad.net/bugs/1885322
[ Upstream commit e16b9ed61e078d836a0f24a82080cf29d7539c7e ]

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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
drivers/scsi/hisi_sas/hisi_sas_main.c