[PATCH v2 0/6] hisi_sas: add abort and retry feature

From: John Garry
Date: Thu Feb 25 2016 - 04:30:50 EST


This patchset introduces support to abort
certain commands which have failed and retry.
Certain errors require that the command be
retried, like TRANS_TX_CREDIT_TIMEOUT_ERR in
v1 hw.
However, when these errors occur the IO may
still be in the device, so the IO must first
be aborted, and then retried. The HiSilicon
SAS controller has no FW to do this work, so
it needs to be done manually.

Differences to v1:
- check for tmf success result removed
- remove query for task prior to abort
- add flag to slot structure for task abort
- add removal of superflous debug statement

John Garry (6):
hisi_sas: change tmf func complete check
hisi_sas: add hisi_sas_slot_abort()
hisi_sas: use slot abort in v1 hw
hisi_sas: use slot abort in v2 hw
hisi_sas: add hisi_sas_slave_configure()
hisi_sas: update driver version to 1.3

drivers/scsi/hisi_sas/hisi_sas.h | 4 ++-
drivers/scsi/hisi_sas/hisi_sas_main.c | 59 ++++++++++++++++++++++++++++++++--
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c | 13 ++++++++
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 15 +++++++--
4 files changed, 85 insertions(+), 6 deletions(-)

--
1.9.1