linux/drivers/scsi/hisi_sas
Xingui Yang 62413199cd scsi: hisi_sas: Modify v3 HW SSP underflow error processing
In case of SSP underflow allow the response frame IU to be examined for
setting the response stat value rather than always setting
SAS_DATA_UNDERRUN.

This will mean that we call sas_ssp_task_response() in those scenarios and
may send sense data to upper layer.

Such a condition would be for bad blocks were we just reporting an
underflow error to upper layer, but now the sense data will tell
immediately that the media is faulty.

Link: https://lore.kernel.org/r/1645703489-87194-7-git-send-email-john.garry@huawei.com
Signed-off-by: Xingui Yang <yangxingui@huawei.com>
Signed-off-by: Qi Liu <liuqi115@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2022-02-27 21:46:41 -05:00
..
hisi_sas_main.c scsi: hisi_sas: Change hisi_sas_control_phy() phyup timeout 2022-02-27 21:46:40 -05:00
hisi_sas_v1_hw.c scsi: hisi_sas: Remove unnecessary print function dev_err() 2022-02-22 21:11:08 -05:00
hisi_sas_v2_hw.c scsi: libsas: Add sas_execute_ata_cmd() 2022-02-22 21:11:02 -05:00
hisi_sas_v3_hw.c scsi: hisi_sas: Modify v3 HW SSP underflow error processing 2022-02-27 21:46:41 -05:00
hisi_sas.h scsi: hisi_sas: Change hisi_sas_control_phy() phyup timeout 2022-02-27 21:46:40 -05:00
Kconfig scsi: hisi_sas: Enable debugfs support by default 2021-01-26 23:02:11 -05:00
Makefile