From patchwork Mon Jun 7 09:29:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 455269 Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp2589701jae; Mon, 7 Jun 2021 02:34:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyq2DnTwOSY7aX4/I7A3n/FtZipuqLb5f8RtXzFM3yh3rJaj4/tfNTp4LG3jtn6KQ4BPbWM X-Received: by 2002:aa7:da94:: with SMTP id q20mr19111520eds.310.1623058454920; Mon, 07 Jun 2021 02:34:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623058454; cv=none; d=google.com; s=arc-20160816; b=UNOMW5X9sSBD2S4kJoBgzymjR9wk1McVLigglfTpNpD4KXY2GTrtejdPQ51B2WzFsA CxeupynU38GugRk5YqVMWaXySBNlDv0nH8RUePc+SaMNXb+mGZ03d/I8rZg6ylJJxb5j afxOEKoCZwzOxgb/PHls0MpoyhGtx59Rfmt+JxGLebnCGTW3LZ7aP6sEg8GvIlYGRjK8 zIEnUCZQ2BImO/KtfimgyxtsIyBI+ANf+aK14uGfhBY280chd5J1q31S0LuSYIDKvN4Z URDMi6iW3dD3gqY+17I+1qhWgYJ1CDkaE7BwHGNrG46eV9x+cF0ICHQ0zAFchCDx7e70 zaSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=eO2He3QgLYCEhmPrQuQSuHvqA1bmcI2POQ8gn7EDfyo=; b=rwOP2sh0y6C1u17tFwJcgQZXPFeQ9/qz+8K+pbkWvf06s9V9Yx6BuDxn/dVuQQuyZU FoaRMIVncg09d2lZa+0n+WyCKqXMrSq761nI42oQD228+6hmEv9HIgQsy+FRDuVZuQIf s0LO4dGaHnsFVHoEPlxNZkE5DbOvlYjWbPtrovt+0gC5UTAOse2GK/U9Ijdy6BXhFhld /u6ExIZoJt2Hk4G+T0VS1v8KOeVGJQMktOu7gztvAfXNnUI+Qmu6G8ExDmrtgUaof/sw h9pG+et8vosRdTiki7vz6g1vIL2howbKtKtksCFdBTIIR9tXFhH9EZIKeWmOb5xgb0j8 65mQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b19si12114672ejl.537.2021.06.07.02.34.14 for ; Mon, 07 Jun 2021 02:34:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230288AbhFGJgE (ORCPT ); Mon, 7 Jun 2021 05:36:04 -0400 Received: from frasgout.his.huawei.com ([185.176.79.56]:3157 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230241AbhFGJgE (ORCPT ); Mon, 7 Jun 2021 05:36:04 -0400 Received: from fraeml735-chm.china.huawei.com (unknown [172.18.147.206]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Fz7Ls5pSfz6G7Kr; Mon, 7 Jun 2021 17:27:33 +0800 (CST) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by fraeml735-chm.china.huawei.com (10.206.15.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 7 Jun 2021 11:34:11 +0200 Received: from localhost.localdomain (10.69.192.58) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Mon, 7 Jun 2021 10:34:09 +0100 From: John Garry To: , CC: , , , John Garry Subject: [PATCH 0/5] hisi_sas: Some error handling improvements Date: Mon, 7 Jun 2021 17:29:34 +0800 Message-ID: <1623058179-80434-1-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 X-Originating-IP: [10.69.192.58] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org This series contains a few error handling improvements, generally speed-ups: - Put a limit on link resets retries - Always reset controller for internal abort - it was only occurring as part of final host adapter reset in error handling process - Speed up error handling when internal abort occurs Luo Jiaxing (5): scsi: hisi_sas: Put a limit of link reset retries scsi: hisi_sas: Run I_T nexus resets in parallel for clear nexus reset scsi: hisi_sas: Include HZ in timer macros scsi: hisi_sas: Reset controller for internal abort timeout scsi: hisi_sas: Speed up error handling when internal abort timeout occurs drivers/scsi/hisi_sas/hisi_sas.h | 7 +- drivers/scsi/hisi_sas/hisi_sas_main.c | 99 ++++++++++++++++++-------- drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 2 +- drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 2 +- 4 files changed, 78 insertions(+), 32 deletions(-) -- 2.26.2