OSDN Git Service

scsi: hisi_sas: Modify v3 HW SATA completion error processing
authorXingui Yang <yangxingui@huawei.com>
Thu, 14 Jul 2022 18:23:21 +0000 (02:23 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 19 Jul 2022 03:04:12 +0000 (23:04 -0400)
commit7e15334f5d256367fb4c77f4ee0003e1e3d9bf9d
tree31feb99fd1fbd545f050413f8c5d19096ace5967
parentf0902095a773aa0c312c7e021406f2ef8b00db39
scsi: hisi_sas: Modify v3 HW SATA completion error processing

If the I/O completion response frame returned by the target device has been
written to the host memory and the err bit in the status field of the
received fis is 1, ts->stat should set to SAS_PROTO_RESPONSE, and this will
let EH analyze and further determine cause of failure.

Link: https://lore.kernel.org/r/1657823002-139010-5-git-send-email-john.garry@huawei.com
Signed-off-by: Xingui Yang <yangxingui@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_v3_hw.c