linux/drivers/scsi/hisi_sas
John Garry 0844a3ff00 scsi: hisi_sas: add v2 hw internal abort timeout workaround
This patch is a workaround for a SoC bug where an internal abort command
may timeout. In v2 hw, the channel should become idle in order to finish
abort process. If the target side has been sending HOLD, host side
channel failed to complete the frame to send, and can not enter the idle
state. Then internal abort command will timeout.

As this issue is only in v2 hw, we deal with it in the hw layer.  Our
workaround solution is: If abort is not finished within a certain period
of time, we will check HOLD status. If HOLD has been sending, we will
send break command.

Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-04-11 22:01:04 -04:00
..
hisi_sas_main.c scsi: hisi_sas: add v2 hw internal abort timeout workaround 2017-04-11 22:01:04 -04:00
hisi_sas_v1_hw.c scsi: hisi_sas: fix some sas_task.task_state_lock locking 2017-03-23 11:12:02 -04:00
hisi_sas_v2_hw.c scsi: hisi_sas: add v2 hw internal abort timeout workaround 2017-04-11 22:01:04 -04:00
hisi_sas.h scsi: hisi_sas: add v2 hw internal abort timeout workaround 2017-04-11 22:01:04 -04:00
Kconfig scsi: hisi_sas: fix SATA dependency 2017-03-29 22:44:53 -04:00
Makefile hisi_sas: add bare v2 hw driver 2016-02-23 21:27:02 -05:00