scsi: hisi_sas: Clear HISI_SAS_HW_FAULT_BIT earlier
authorJohn Garry <john.garry@huawei.com>
Mon, 5 Sep 2022 11:48:46 +0000 (19:48 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 7 Sep 2022 02:28:10 +0000 (22:28 -0400)
commitbc5551157a747d463247a54b611e5a8464677c6f
tree714577f4156b190ad9dd44201e3e30bdd2dc7844
parent245050af5d15a4f518c130e896cb597a263a070b
scsi: hisi_sas: Clear HISI_SAS_HW_FAULT_BIT earlier

Once the controller HW has been reset then we can unset flag
HISI_SAS_HW_FAULT_BIT. In clearing this flag earlier we can now
successfully execute commands in hisi_sas_controller_reset_done(), like
bcast processing.

Link: https://lore.kernel.org/r/1662378529-101489-3-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