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: 10612531 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0F6FD112B for ; Mon, 24 Sep 2018 15:10:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0B3082A155 for ; Mon, 24 Sep 2018 15:10:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 094742A15C; Mon, 24 Sep 2018 15:10:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A67B22A088 for ; Mon, 24 Sep 2018 15:10:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730724AbeIXVMU (ORCPT ); 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-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-)