linux-stable/drivers/scsi/hisi_sas
Luo Jiaxing 0e83fc61ee scsi: hisi_sas: Add softreset in hisi_sas_I_T_nexus_reset()
We found out that for v2 hw, a SATA disk can not be written to after the
system comes up.

In commit ffb1c820b8 ("scsi: hisi_sas: remove the check of sas_dev status
in hisi_sas_I_T_nexus_reset()"), we introduced a path where we may issue an
internal abort for a SATA device, but without following it with a
softreset.

We need to always follow an internal abort with a software reset, as per HW
programming flow, so add this.

Fixes: ffb1c820b8 ("scsi: hisi_sas: remove the check of sas_dev status in hisi_sas_I_T_nexus_reset()")
Signed-off-by: Luo Jiaxing <luojiaxing@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-03-20 14:24:04 -04:00
..
hisi_sas.h scsi: hisi_sas: Send HARD RESET to clear the previous affiliation of STP target port 2019-03-06 19:26:46 -05:00
hisi_sas_main.c scsi: hisi_sas: Add softreset in hisi_sas_I_T_nexus_reset() 2019-03-20 14:24:04 -04:00
hisi_sas_v1_hw.c scsi: hisi_sas: Issue internal abort on all relevant queues 2019-02-08 18:08:22 -05:00
hisi_sas_v2_hw.c scsi: hisi_sas: Send HARD RESET to clear the previous affiliation of STP target port 2019-03-06 19:26:46 -05:00
hisi_sas_v3_hw.c SCSI misc on 20190315 2019-03-16 12:51:50 -07: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