From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755255AbcBPMIA (ORCPT ); Tue, 16 Feb 2016 07:08:00 -0500 Received: from szxga03-in.huawei.com ([119.145.14.66]:24121 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755010AbcBPMGG (ORCPT ); Tue, 16 Feb 2016 07:06:06 -0500 From: John Garry To: , CC: , , , , , , John Garry Subject: [PATCH 0/6] hisi_sas: add abort and retry feature Date: Tue, 16 Feb 2016 20:22:25 +0800 Message-ID: <1455625351-165881-1-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.212.75] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020202.56C310A9.023D,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 8749c06e3730e1e0994bd501cbe5a75e Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 active, 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. John Garry (6): hisi_sas: add TMF_RESP_FUNC_SUCC 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 | 3 +- drivers/scsi/hisi_sas/hisi_sas_main.c | 66 ++++++++++++++++++++++++++++++++-- drivers/scsi/hisi_sas/hisi_sas_v1_hw.c | 22 +++++++++--- drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 19 ++++++++-- 4 files changed, 101 insertions(+), 9 deletions(-) -- 1.9.1