[PATCH 0/3] hisi_sas: A device rescan and IT nexus reset fix

From: John Garry
Date: Thu May 12 2022 - 07:22:34 EST


Hi,

This series includes 2x fixes for the hisi_sas driver:
- In issuing an ATA softreset in the IT nexus handler the disk may become
lost as we may issue the softreset before the phy is back up.

So export functionality from sas_ata_hard_reset() to wait for phy up to
synchronize.

- For host rescan we issue a nexus reset to the disk which is unnecessary,
so drop it. In addition, usage of the device status flag needs to be
fixed.

Please consider for 5.19, thanks!

John Garry (3):
scsi: libsas: Refactor sas_ata_hard_reset()
scsi: hisi_sas: Use sas_ata_wait_after_reset() in IT nexus reset
scsi: hisi_sas: Fix rescan after deleting a disk

drivers/scsi/hisi_sas/hisi_sas_main.c | 66 ++++++++++++---------------
drivers/scsi/libsas/sas_ata.c | 41 +++++++++++------
include/scsi/sas_ata.h | 7 +++
3 files changed, 64 insertions(+), 50 deletions(-)

--
2.26.2