mbox series

[v4,0/2] scsi: hisi_sas: Fix IO errors caused by hardware port ID changes

Message ID 20250312095135.3048379-1-yangxingui@huawei.com (mailing list archive)
Headers show
Series scsi: hisi_sas: Fix IO errors caused by hardware port ID changes | expand

Message

Xingui Yang March 12, 2025, 9:51 a.m. UTC
This series of patches is used to solve the problem that IO may be sent to
the incorrect disk after the HW port ID of the directly connected device
is changed.

Changes from v3:
- Lose and find the disk when hw port id changes based on John's suggestion

Changes from v2:
- Use asynchronous scheduling

Changes from v1:
- Fix "BUG: Atomic scheduling in clear_itct_v3_hw()"

Xingui Yang (2):
  scsi: hisi_sas: Enable force phy when SATA disk directly connected
  scsi: hisi_sas: Fix IO errors caused by hardware port ID changes

 drivers/scsi/hisi_sas/hisi_sas_main.c  | 20 ++++++++++++++++++++
 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c |  9 +++++++--
 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 14 ++++++++++++--
 3 files changed, 39 insertions(+), 4 deletions(-)