From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D6AEBCA9EAF for ; Thu, 24 Oct 2019 14:13:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B452521A4A for ; Thu, 24 Oct 2019 14:13:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391069AbfJXOLg (ORCPT ); Thu, 24 Oct 2019 10:11:36 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:5156 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2390869AbfJXOLg (ORCPT ); Thu, 24 Oct 2019 10:11:36 -0400 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 4F47F56D21EF97D0B288; Thu, 24 Oct 2019 22:11:30 +0800 (CST) Received: from localhost.localdomain (10.69.192.58) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.439.0; Thu, 24 Oct 2019 22:11:23 +0800 From: John Garry To: , CC: , , , John Garry Subject: [PATCH v2 00/18] hisi_sas: Misc patches, mostly debugfs Date: Thu, 24 Oct 2019 22:08:07 +0800 Message-ID: <1571926105-74636-1-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.58] X-CFilter-Loop: Reflected Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@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. Difference from v1: - fix compile error for 64b div on i386 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 | 369 ++++++++++++++++--------- 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, 333 insertions(+), 148 deletions(-) -- 2.17.1