This series of patches is used to solve the problem that after the SATA device port ID is changed, IO may be sent to the incorrect disk. Changes from v2: - Use asynchronous scheduling Changes from v1: - Fix "BUG: Atomic scheduling in clear_itct_v3_hw()" Xingui Yang (3): scsi: hisi_sas: Enable force phy when SATA disk directly connected scsi: libsas: Move sas_put_device() to libsas.h scsi: hisi_sas: Fixed IO error caused by port id not updated drivers/scsi/hisi_sas/hisi_sas_main.c | 51 ++++++++++++++++++++++++++ drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 9 ++++- drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 14 ++++++- drivers/scsi/libsas/sas_discover.c | 1 + drivers/scsi/libsas/sas_internal.h | 6 --- include/scsi/libsas.h | 6 +++ 6 files changed, 77 insertions(+), 10 deletions(-) -- 2.33.0