OpenCloudOS-Kernel/drivers/scsi/hisi_sas
Xiang Chen 2eab8da937 scsi: hisi_sas: Handle the NCQ error returned by D2H frame
[ Upstream commit 358e919a351f2ea4b412e7dac6b1c23ec10bd4f5 ]

We find that some disks use D2H frame instead of SDB frame to return NCQ
error. Currently, only the I/O corresponding to the D2H frame is processed
in this scenario, which does not meet the processing requirements of the
NCQ error scenario.  So we set dev_status to HISI_SAS_DEV_NCQ_ERR and abort
all I/Os of the disk in this scenario.

Co-developed-by: Xingui Yang <yangxingui@huawei.com>
Signed-off-by: Xingui Yang <yangxingui@huawei.com>
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Link: https://lore.kernel.org/r/20240402035513.2024241-2-chenxiang66@hisilicon.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-05-17 12:02:15 +02:00
..
Kconfig scsi: hisi_sas: Enable debugfs support by default 2021-01-26 23:02:11 -05:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
hisi_sas.h scsi: hisi_sas: Convert to platform remove callback returning void 2023-06-07 21:20:21 -04:00
hisi_sas_main.c scsi: hisi_sas: Modify the deadline for ata_wait_after_reset() 2024-04-17 11:19:27 +02:00
hisi_sas_v1_hw.c scsi: libsas: Delete sas_ssp_task.task_prio 2023-08-21 17:50:58 -04:00
hisi_sas_v2_hw.c Merge patch series "libsas: Some tidy-up" 2023-08-24 21:06:16 -04:00
hisi_sas_v3_hw.c scsi: hisi_sas: Handle the NCQ error returned by D2H frame 2024-05-17 12:02:15 +02:00