]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: Revert "scsi: hisi_sas: Filter out new PHY up events during suspend"
authorJohn Garry <john.garry@huawei.com>
Mon, 20 Dec 2021 11:21:25 +0000 (19:21 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 23 Dec 2021 04:38:29 +0000 (23:38 -0500)
commit88b301ba38f67ed03eccf8d3c93aaa4ef9e63c71
tree85122b9612824780663519b86a126c53f3315a30
parente95d6c71e0f614086d04d90aa1748cb65710335b
scsi: Revert "scsi: hisi_sas: Filter out new PHY up events during suspend"

This reverts commit 71e69538c4395eff4dae1d9bcc56968df43c4663.

In that commit, we had to filter out phy-up events during suspend, as it
work cause a deadlock between processing the phyup event and the resume HA
function try to drain the HA event workqueue to complete the resume
process.

Now that we no longer try to drain the HA event queue during the HA resume
processor, the deadlock would not occur, so remove the special handling for
it.

Link: https://lore.kernel.org/r/1639999298-244569-3-git-send-email-chenxiang66@hisilicon.com
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_main.c