public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] hisi_sas: add abort and retry feature
@ 2016-02-25  9:42 John Garry
  2016-02-25  9:42 ` [PATCH v2 1/6] hisi_sas: change tmf func complete check John Garry
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: John Garry @ 2016-02-25  9:42 UTC (permalink / raw)
  To: JBottomley, martin.petersen
  Cc: linuxarm, john.garry2, linux-scsi, linux-kernel, John Garry

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-03-01  2:01 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-25  9:42 [PATCH v2 0/6] hisi_sas: add abort and retry feature John Garry
2016-02-25  9:42 ` [PATCH v2 1/6] hisi_sas: change tmf func complete check John Garry
2016-02-27 11:56   ` Hannes Reinecke
2016-02-25  9:42 ` [PATCH v2 2/6] hisi_sas: add hisi_sas_slot_abort() John Garry
2016-02-27 11:57   ` Hannes Reinecke
2016-02-25  9:42 ` [PATCH v2 3/6] hisi_sas: use slot abort in v1 hw John Garry
2016-02-27 11:58   ` Hannes Reinecke
2016-02-25  9:42 ` [PATCH v2 4/6] hisi_sas: use slot abort in v2 hw John Garry
2016-02-27 11:59   ` Hannes Reinecke
2016-02-25  9:42 ` [PATCH v2 5/6] hisi_sas: add hisi_sas_slave_configure() John Garry
2016-02-27 11:59   ` Hannes Reinecke
2016-02-25  9:42 ` [PATCH v2 6/6] hisi_sas: update driver version to 1.3 John Garry
2016-02-27 12:00   ` Hannes Reinecke
2016-03-01  2:00 ` [PATCH v2 0/6] hisi_sas: add abort and retry feature Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox