scsi: hisi_sas: Don't send bcast events from HW during nexus HA reset
authorJohn Garry <john.garry@huawei.com>
Mon, 5 Sep 2022 11:48:49 +0000 (19:48 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 7 Sep 2022 02:28:11 +0000 (22:28 -0400)
commitf5f2a2716055ad8c0c4ff83e51d667646c6c5d8a
treeac192f56b28203c6025875992c95dfb5b484c888
parente9b6bada980957e0ada6613a749875e133a0327d
scsi: hisi_sas: Don't send bcast events from HW during nexus HA reset

Remote devices may go missing from the per-device nexus reset part of the
HA nexus, i.e after the controller reset. This is because libsas may find
the devices to be gone as the phy may be temporarily down when processing
the bcast event generated from the nexus reset. Filter out bcast events
during this time to stop the devices being lost.

Link: https://lore.kernel.org/r/1662378529-101489-6-git-send-email-john.garry@huawei.com
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_main.c