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: 157607 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp6262284jaa; Wed, 6 Feb 2019 02:52:39 -0800 (PST) X-Google-Smtp-Source: AHgI3IbUi0bBh8y1t56uWnW+xgq8iF35Dl5lFZZfvisiA9pkhPA1zNSLvTwTEdOs5TFKZNOpjmb4 X-Received: by 2002:a17:902:9897:: with SMTP id s23mr9707961plp.69.1549450359696; Wed, 06 Feb 2019 02:52:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549450359; cv=none; d=google.com; s=arc-20160816; b=uZsqp96VOUlIFNGuZxE83/IezjrIElFX9Z9UwnE+nSUik9ICrmHmLCoGBeKO817/0l Tc4mwVKN6eaROCZqK7gePDQhCalGmGinbCssCeT8Lmj4F/5ala59esI2GFxeSY8nzIBZ ps+6/m4mrgyWSNOnk224TzFag1QNuG1zdfR7c/7WeZb0M2rFCH9J6Wz59mrg3hjUBqQ7 CuA+sZKHRyGi72vRcIE47YNUCcUwXCWfLoZpDYjTTtQa++Kgk8q8IMWWu3ZRdM8+Um70 wUzaGFWFe8pjCsw2ANTdY0M3JRgfGv9pj5sGZZBI7lMiOKrTdJKxC3do4+jOWhbtPExo t2Lw== 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=9CKr72mfHc1XGZ4uzJtfOSMzZ7KsgVW2YyEMD9b6U5w=; b=EwQmPD9aMS+gPdY0U8nRrVzoOdcmhMsscOvx48ZSm1rAOPkmas346NvW0eang0mt0a yti3DGO+DaokP/QZuV9ITahtklIYv11gByzNLqZjMZTHIDqhfWsmqZZkbTunZcVtw/cQ 4QT7CoRhn7w7ednEkj2oDWQ5mgWcKXFXBKXNr1+QbVaWmX0Yj1nyTtl44vz23wiLeEuW hWC3SFOqgwbVTalk55svkX6NQXenI4tq1fYLmmLrPTu7D6SOzeF1I/IZv6vuw3WhOH1Y J5zmKmE5j/69izhg9u4R6AyG9MPWySdLLijvNmQ3DPunzDyt0ANmOiKnRAqY0rqSQBst tzyQ== 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 y17si5565522pll.10.2019.02.06.02.52.39; Wed, 06 Feb 2019 02:52:39 -0800 (PST) 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 S1728915AbfBFKwh (ORCPT + 31 others); Wed, 6 Feb 2019 05:52:37 -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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.17.1