From patchwork Wed Feb 6 10:52:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 10799051 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 68B7314E1 for ; Wed, 6 Feb 2019 10:53:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4FE992AEA3 for ; Wed, 6 Feb 2019 10:53:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 420922B2D0; Wed, 6 Feb 2019 10:53:01 +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 503F62AEA3 for ; Wed, 6 Feb 2019 10:52:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727956AbfBFKwd (ORCPT ); Wed, 6 Feb 2019 05:52:33 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:3271 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726708AbfBFKwc (ORCPT ); Wed, 6 Feb 2019 05:52:32 -0500 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id CDFC3132C20E48458067; Wed, 6 Feb 2019 18:52:30 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.408.0; Wed, 6 Feb 2019 18:52:23 +0800 From: John Garry To: , CC: , , , John Garry Subject: [PATCH 0/6] hisi_sas: DIX support, performance optimisation, and misc patches Date: Wed, 6 Feb 2019 18:52:50 +0800 Message-ID: <1549450376-114929-1-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 2.8.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 the following: - DIX support for v3 hw - Optimisation based on mapping CPUs to queues, much the same as other SCSI drivers do today, without exposing > 1 queue to upper layer. It is disabled by default and marked as experimental, due to ongoing discussion here: https://marc.info/?l=linux-scsi&m=154876335707751&w=2 In addition, hopefully we can eventually expose > 1 queue to upper layer and remove the reply_map, if performance issue discussed here has a positive outcome: https://marc.info/?l=linux-scsi&m=154874776701343&w=2 - And some other minor tidying and a driver debugfs feature This series is based on Martin's 5.1 queue + "scsi: hisi_sas: Set protection parameters prior to adding SCSI host" John Garry (2): scsi: hisi_sas: Issue internal abort on all relevant queues scsi: hisi_sas: Do some more tidy-up Luo Jiaxing (1): scsi: hisi_sas: Add manual trigger for debugfs dump Xiang Chen (3): scsi: hisi_sas: Add support for DIX feature for v3 hw scsi: hisi_sas: change queue depth from 512 to 4096 scsi: hisi_sas: Use pci_irq_get_affinity() for v3 hw as experimental drivers/scsi/hisi_sas/hisi_sas.h | 48 +++-- drivers/scsi/hisi_sas/hisi_sas_main.c | 237 +++++++++++++++++++++---- drivers/scsi/hisi_sas/hisi_sas_v1_hw.c | 2 + drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 3 + drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 157 +++++++++++++--- 5 files changed, 377 insertions(+), 70 deletions(-)