From patchwork Mon Sep 24 15:06:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 147362 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp836429lji; Mon, 24 Sep 2018 08:09:46 -0700 (PDT) X-Google-Smtp-Source: ACcGV60C3oqrd1DC/j5LHGAMFMZIOEGkR5m17czHtIVXegQZ9LDjg/7qtw9kq+4f66WaKwjVH/72 X-Received: by 2002:a17:902:158b:: with SMTP id m11-v6mr11178390pla.102.1537801786052; Mon, 24 Sep 2018 08:09:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537801786; cv=none; d=google.com; s=arc-20160816; b=IEEiAEEvNZaODVehYuLMt7MehSi7VJsh139INyJqWZM1nKORltMzQWqVulCEFzJIzv nTUR/RrBLNmYOf9TUNFrk9/FblTwLpruKMA022X9tp2Xmnds6xtzgE9mCeQxc5/KbDP0 pQDtiDH1A0EiR8zVVlfr5Jv8bVzST/upcUXDDSprEFeQK/c6b0JC0v/Ao8cZlaXD92gE 0HzdizbhVG4n5E/4qempR10xcLEZ3wGo09fcx7YvSRqElC5kLtpJBo0xxHbqoyNP1kY1 m9+9F5K8Xth9Z+GGV1Iwx8aDwte1+URJ6ZpG6ZOV6kTOkU3Zi0EMed5dWDW5sFkpZkP0 5ybw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=4NV6qxRvkLqjek53PA8BWOrdxFNrTw5ouiXXtlPbbvc=; b=M2Yu2sJOAktwS9B2X23pC2/EKrS8qmyUcRsWO3jPWVJQrWc7TQchfb1OKMl64W2Ghh z0gOLvMIuN6YEj3hf/fTEBiszkzYvC1daENNE57yHxBF+tmvXZm9o1d2nO7MfTFf6i+S SZGU8EG8wNNYjnxO94cA+LUQjBVZqhQohA4eaPYRMgNVF6KyhHlEfgIiyIbjAOL5a7EL oTCt0pnpEfnpKN1EmTmsML/L3sLjsBnfnXbU3ixLbc33xjG90vDtiK9SovgvZdMzgKp3 cmV+vIeBfcKgaZCEhp0kX26QQpzESBLd/2jWXI57ZxL5Wh6KTSTzxg7HqXr5x4ylezcu WTGA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b3-v6si2062831plx.106.2018.09.24.08.09.45; Mon, 24 Sep 2018 08:09:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732671AbeIXVMU (ORCPT + 32 others); Mon, 24 Sep 2018 17:12:20 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:40827 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728816AbeIXVMU (ORCPT ); Mon, 24 Sep 2018 17:12:20 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 3467646EAA2F5; Mon, 24 Sep 2018 23:09:40 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.399.0; Mon, 24 Sep 2018 23:09:31 +0800 From: John Garry To: , CC: , , , John Garry Subject: [PATCH 0/7] hisi_sas: Misc bugfixes and an optimisation patch Date: Mon, 24 Sep 2018 23:06:27 +0800 Message-ID: <1537801594-207139-1-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [10.67.212.75] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset introduces mostly more minor/obscure bugfixes for the driver. Also included is an optimisation to use the block layer tag for the IPTT indexing. This quite a nice optimisation as it means we don't have to evaluate this in the driver - it was a bit of a bottle-neck. However it does block us in future from enabling SCSI MQ in the driver. This is because the IPTT index must be a unique value per HBA. However, if we switched to SCSI MQ, the block layer tag becomes unique per queue, and not per HBA. Having said this, testing has shown that performance is better by using this block layer tag instead of enabling SCSI MQ in the driver. Luo Jiaxing (2): scsi: hisi_sas: Feed back linkrate(max/min) when re-attached scsi: hisi_sas: Move evaluation of hisi_hba in hisi_sas_task_prep() Xiang Chen (5): scsi: hisi_sas: Fix the race between IO completion and timeout for SMP/internal IO scsi: hisi_sas: Free slot later in slot_complete_vx_hw() scsi: hisi_sas: unmask interrupts ent72 and ent74 scsi: hisi_sas: Use block layer tag instead for IPTT scsi: hisi_sas: Update v3 hw AIP_LIMIT and CFG_AGING_TIME register values drivers/scsi/hisi_sas/hisi_sas.h | 3 +- drivers/scsi/hisi_sas/hisi_sas_main.c | 154 ++++++++++++++++++++++++--------- drivers/scsi/hisi_sas/hisi_sas_v1_hw.c | 1 - drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 11 +-- drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 15 ++-- 5 files changed, 130 insertions(+), 54 deletions(-) -- 1.9.1