scsi: hisi_sas: add softreset function for SATA disk
authorXiang Chen <chenxiang66@hisilicon.com>
Wed, 22 Mar 2017 17:25:20 +0000 (01:25 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 23 Mar 2017 15:12:01 +0000 (11:12 -0400)
commit7c594f0407de5d3c76e281aaedfcb441b5a5c776
treee391f166a6ca72e8fd53734b38f50ecc8b5d29ce
parent396b80448feed4636cb2b5a5bf7d26eaf6e000a7
scsi: hisi_sas: add softreset function for SATA disk

Add softreset to clear IO after internal abort device for SATA disk.

The SATA error handling for the controller is based on device internal
abort and softreset function.

The controller does not support internal abort for single IO, so we need
to execute internal abort for device.

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>
drivers/scsi/hisi_sas/Kconfig
drivers/scsi/hisi_sas/hisi_sas_main.c
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c