linux/drivers/scsi/hisi_sas
Xiang Chen ffb1c820b8 scsi: hisi_sas: remove the check of sas_dev status in hisi_sas_I_T_nexus_reset()
When issing a hardreset to a SATA device when running IO, it is possible
that abnormal CQs of the device are returned. Then enter error handler, it
doesn't enter function hisi_sas_abort_task() as there is no timeout IO, and
it doesn't set device as HISI_SAS_DEV_EH. So when hardreset by libata
later, it actually doesn't issue hardreset as there is a check to judge
whether device is in error.

For this situation, actually need to hardreset the device to recover.
So remove the check of sas_dev status in hisi_sas_I_T_nexus_reset().

Before we add the check to avoid the endless loop of reset for
directly-attached SATA device at probe time, actually we flutter it for
it, so it is not necessary to add the check now.

Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-01-29 01:41:20 -05:00
..
hisi_sas_main.c scsi: hisi_sas: remove the check of sas_dev status in hisi_sas_I_T_nexus_reset() 2019-01-29 01:41:20 -05:00
hisi_sas_v1_hw.c scsi: hisi_sas: send primitive NOTIFY to SSP situation only 2019-01-29 01:41:20 -05:00
hisi_sas_v2_hw.c scsi: hisi_sas: remove the check of sas_dev status in hisi_sas_I_T_nexus_reset() 2019-01-29 01:41:20 -05:00
hisi_sas_v3_hw.c scsi: hisi_sas: shutdown axi bus to avoid exception CQ returned 2019-01-29 01:41:20 -05:00
hisi_sas.h scsi: hisi_sas: remove the check of sas_dev status in hisi_sas_I_T_nexus_reset() 2019-01-29 01:41:20 -05:00
Kconfig scsi: hisi_sas: Remove depends on HAS_DMA in case of platform dependency 2018-03-21 18:34:21 -04:00
Makefile scsi: hisi_sas: add skeleton v3 hw driver 2017-06-19 21:31:25 -04:00