mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] hisi_sas: A device rescan and IT nexus reset fix
@ 2022-05-12 11:15 John Garry
  2022-05-12 11:15 ` [PATCH 1/3] scsi: libsas: Refactor sas_ata_hard_reset() John Garry
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: John Garry @ 2022-05-12 11:15 UTC (permalink / raw)
  To: jejb, martin.petersen; +Cc: linux-scsi, linux-kernel, linuxarm, John Garry

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-05-20  1:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-12 11:15 [PATCH 0/3] hisi_sas: A device rescan and IT nexus reset fix John Garry
2022-05-12 11:15 ` [PATCH 1/3] scsi: libsas: Refactor sas_ata_hard_reset() John Garry
2022-05-12 11:15 ` [PATCH 2/3] scsi: hisi_sas: Use sas_ata_wait_after_reset() in IT nexus reset John Garry
2022-05-12 11:15 ` [PATCH 3/3] scsi: hisi_sas: Fix rescan after deleting a disk John Garry
2022-05-17  1:51 ` [PATCH 0/3] hisi_sas: A device rescan and IT nexus reset fix Martin K. Petersen
2022-05-20  1:09 ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®