From patchwork Mon Oct 21 16:21:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 177113 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp3636046ill; Mon, 21 Oct 2019 09:26:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqxAatAAeMo4ZaNdeOzr0VWKADEGNLQOKDVp83IdT4iyLeVJPN9JFaMb3I8YRI1MamQSUvEe X-Received: by 2002:a50:875e:: with SMTP id 30mr7525202edv.45.1571675175699; Mon, 21 Oct 2019 09:26:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571675175; cv=none; d=google.com; s=arc-20160816; b=wqZGUtSAOAkQ2YrQD3bJHXUaNBXLxBzfu2cpyxRysEBWyPFsHsxJCx56C1LNb2OMRW JXT42GINUhz94kjH9ZLxsrgsYOdskm540CAZh/Di+2xbuWKHoEOtAZWGNaCDtJZcPKrI 1Dt7YiVIYBTrgylxq2jeq8rwUIkoVQTBYEAXRsxVaF+6Orm7hoaRUk/rwWjkwtVg1eke XXRl6ot5wcjRtq8YnYML1OzyNVqqzltGv6cBacbSVGiaHK4TDLwI31TR9vbynn3bJSTQ R+E8JqjtR1amuGa1Xf1l5qfoD+wdzcPaavIhrbPBOZriZMGyL2/Ig003Grlyjz+hJ61U fJnQ== 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=vJGpY4Wox8kkvzkdPFnERWg6falBFh/UUZhoqKV4mig=; b=VOvJwxxk+zADO8aKbc6E1aIihKHyQCUvIaboiwPoXgmZSttxK85N9TMuXnqgF+4u9K hHo3amS60CWrXgDIIJfaQmJO3LJfLfqCSkf1bt2eCbpom1Y7PZEp9yxL4a7A7lsZOrJz TfREHAXQm909qck+3u6bJ3a1qD8ZqN+mA9lygVEV1MHgL9W2Df8AWgDa9Z45d1H9e5ik APJvi0PbYrQjAvoF+9hmu63QN8M/iXbNkPN4WZFkjbdgSe4GHdZMPOfYAAtUGzWH6yI/ zo72UVxShjrzwCLN39E2hldeNE2TGAsS0+Xw5IXj2573mA9MOvG3vVC4R2W9+iWtAs6q GGXA== 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 b16si9058399ejb.165.2019.10.21.09.26.15; Mon, 21 Oct 2019 09:26:15 -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 S1729280AbfJUQZa (ORCPT + 26 others); Mon, 21 Oct 2019 12:25:30 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:33128 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728305AbfJUQZ2 (ORCPT ); Mon, 21 Oct 2019 12:25:28 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id E75D969206CA4E11755C; Tue, 22 Oct 2019 00:25:24 +0800 (CST) Received: from localhost.localdomain (10.69.192.58) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.439.0; Tue, 22 Oct 2019 00:25:16 +0800 From: John Garry To: , CC: , , , John Garry Subject: [PATCH 00/18] hisi_sas: Misc patches, mostly debugfs Date: Tue, 22 Oct 2019 00:21:57 +0800 Message-ID: <1571674935-108326-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-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series introduces a couple of minor improvements in the main driver, and mostly changes in the driver debugfs support. The main change in the driver debugfs support is the ability to take multiple memory dumps, which was not available previously. And the bulk of the changes here is to create new structures for this purpose. We also add a new debugfs feature to report PHY down events, which seem to be useful to some people. Luo Jiaxing (14): scsi: hisi_sas: Add timestamp for a debugfs dump scsi: hisi_sas: Add debugfs file structure for CQ scsi: hisi_sas: Add debugfs file structure for DQ scsi: hisi_sas: Add debugfs file structure for registers scsi: hisi_sas: Add debugfs file structure for port scsi: hisi_sas: Add debugfs file structure for IOST scsi: hisi_sas: Add debugfs file structure for ITCT scsi: hisi_sas: Add debugfs file structure for IOST cache scsi: hisi_sas: Add debugfs file structure for ITCT cache scsi: hisi_sas: Allocate memory for multiple dumps of debugfs scsi: hisi_sas: Add module parameter for debugfs dump count scsi: hisi_sas: Add ability to have multiple debugfs dumps scsi: hisi_sas: Delete the debugfs folder of hisi_sas when the probe fails scsi: hisi_sas: Record the phy down event in debugfs Xiang Chen (4): scsi: hisi_sas: Don't create debugfs dump folder twice scsi: hisi_sas: Set the BIST init value before enabling BIST scsi: hisi_sas: use wait_for_completion_timeout() when clearing ITCT scsi: hisi_sas: Replace in_softirq() check in hisi_sas_task_exec() drivers/scsi/hisi_sas/hisi_sas.h | 67 ++++- drivers/scsi/hisi_sas/hisi_sas_main.c | 367 ++++++++++++++++--------- drivers/scsi/hisi_sas/hisi_sas_v1_hw.c | 6 +- drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 13 +- drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 26 +- 5 files changed, 331 insertions(+), 148 deletions(-) -- 2.17.1