Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp347822ybk; Fri, 15 May 2020 02:16:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyriAM8SKTVQPIlbGl3EM0Vd2ASHqWf3TD3gJushX1bVxCbajOov0m8ViYrJP0TcObr7mQe X-Received: by 2002:a17:906:8cf:: with SMTP id o15mr1841836eje.351.1589534166102; Fri, 15 May 2020 02:16:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589534166; cv=none; d=google.com; s=arc-20160816; b=hAq5WJCSzWu721KwJEWdVr/VBvkBhUFih5jobQrPDEclUKtDeB3L9tZlkN8I3CBJ6T a9V1CYduYaLsTsWhfZetimYkzIpd2cB9HJx4kKCrPH2cqt+EjCWFl/zEcU1/WMy8uVJz +ZxwGtdv6FRGhqXUkj+wTT+JaGQNwdILjqAlc/t0C+6uVkRCxmF9MFysHsF9qL5+usPO CxizKM86/TE7CIpSCmHPYXhrlBUG+x1A7mRkXB3UbtRwMk0+fIQLMixHhiI32GYBUD/w Wgta08VD3yYCtDdvZ6+lr8YuZ7Q7ucZ7X3Pv2cnY0jAJgVVD74ZNBFott3pnKosd0c4o fb7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=KRuNch2s7BghNAbNP5SNA8mq3FJqmnBZUmun1/IR0J0=; b=UgGAoDISnuqqHrJy570rIGS4f6yde6kMsrw1k1E8MApCxeJZ/TdoE6VXgHCUCfp/kn MeRxzftQDkYMhxfGrziPfV9MWh8aJOu328/IfgzwXp/OUTn0PMGIJZqSI1GMRMe97t3d P5rvSliX1uuK3XsWJUeGGegwNRtACg/PJV7GQ/0m64bE1lXPYZMpzE/XoVheXW5pqaX5 cdsZJh80sHUseHZbD+373XQPUFjwYCb9b0ifHUHSBY0xFXorUZW5AAtlFWwkMh9S1qOv 6SCDe0M6Utd5ij7edoHpeOYfImYf0oLTWPuvP/fg82OBVk4EWySV9gnWps7Le9x3Emh6 bSHQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id se23si834566ejb.247.2020.05.15.02.15.42; Fri, 15 May 2020 02:16:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727882AbgEOJPX (ORCPT + 99 others); Fri, 15 May 2020 05:15:23 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:58098 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727837AbgEOJPX (ORCPT ); Fri, 15 May 2020 05:15:23 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id BDE2870292547AE91ECD; Fri, 15 May 2020 17:15:18 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.487.0; Fri, 15 May 2020 17:15:10 +0800 From: Shukun Tan To: , CC: , , Subject: [PATCH 7/7] crypto: hisilicon/qm - change debugfs file name from qm_regs to regs Date: Fri, 15 May 2020 17:14:00 +0800 Message-ID: <1589534040-50725-8-git-send-email-tanshukun1@huawei.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1589534040-50725-1-git-send-email-tanshukun1@huawei.com> References: <1589534040-50725-1-git-send-email-tanshukun1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org The debugfs qm_regs file is already in the qm directory, so no qm_ prefix is required. Signed-off-by: Shukun Tan Reviewed-by: Zhou Wang --- Documentation/ABI/testing/debugfs-hisi-hpre | 6 +++--- Documentation/ABI/testing/debugfs-hisi-sec | 2 +- Documentation/ABI/testing/debugfs-hisi-zip | 6 +++--- drivers/crypto/hisilicon/qm.c | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Documentation/ABI/testing/debugfs-hisi-hpre b/Documentation/ABI/testing/debugfs-hisi-hpre index 1fe3eae..b4be5f1 100644 --- a/Documentation/ABI/testing/debugfs-hisi-hpre +++ b/Documentation/ABI/testing/debugfs-hisi-hpre @@ -33,7 +33,7 @@ Contact: linux-crypto@vger.kernel.org Description: Dump debug registers from the HPRE. Only available for PF. -What: /sys/kernel/debug/hisi_hpre//qm/qm_regs +What: /sys/kernel/debug/hisi_hpre//qm/regs Date: Sep 2019 Contact: linux-crypto@vger.kernel.org Description: Dump debug registers from the QM. @@ -44,13 +44,13 @@ What: /sys/kernel/debug/hisi_hpre//qm/current_q Date: Sep 2019 Contact: linux-crypto@vger.kernel.org Description: One QM may contain multiple queues. Select specific queue to - show its debug registers in above qm_regs. + show its debug registers in above regs. Only available for PF. What: /sys/kernel/debug/hisi_hpre//qm/clear_enable Date: Sep 2019 Contact: linux-crypto@vger.kernel.org -Description: QM debug registers(qm_regs) read clear control. 1 means enable +Description: QM debug registers(regs) read clear control. 1 means enable register read clear, otherwise 0. Writing to this file has no functional effect, only enable or disable counters clear after reading of these registers. diff --git a/Documentation/ABI/testing/debugfs-hisi-sec b/Documentation/ABI/testing/debugfs-hisi-sec index 725c780..85feb44 100644 --- a/Documentation/ABI/testing/debugfs-hisi-sec +++ b/Documentation/ABI/testing/debugfs-hisi-sec @@ -25,7 +25,7 @@ What: /sys/kernel/debug/hisi_sec2//qm/current_q Date: Oct 2019 Contact: linux-crypto@vger.kernel.org Description: One QM of SEC may contain multiple queues. Select specific - queue to show its debug registers in above 'qm_regs'. + queue to show its debug registers in above 'regs'. Only available for PF. What: /sys/kernel/debug/hisi_sec2//qm/clear_enable diff --git a/Documentation/ABI/testing/debugfs-hisi-zip b/Documentation/ABI/testing/debugfs-hisi-zip index 4832ba0..3034a2b 100644 --- a/Documentation/ABI/testing/debugfs-hisi-zip +++ b/Documentation/ABI/testing/debugfs-hisi-zip @@ -26,7 +26,7 @@ Description: One ZIP controller has one PF and multiple VFs, each function has a QM. Select the QM which below qm refers to. Only available for PF. -What: /sys/kernel/debug/hisi_zip//qm/qm_regs +What: /sys/kernel/debug/hisi_zip//qm/regs Date: Nov 2018 Contact: linux-crypto@vger.kernel.org Description: Dump of QM related debug registers. @@ -37,13 +37,13 @@ What: /sys/kernel/debug/hisi_zip//qm/current_q Date: Nov 2018 Contact: linux-crypto@vger.kernel.org Description: One QM may contain multiple queues. Select specific queue to - show its debug registers in above qm_regs. + show its debug registers in above regs. Only available for PF. What: /sys/kernel/debug/hisi_zip//qm/clear_enable Date: Nov 2018 Contact: linux-crypto@vger.kernel.org -Description: QM debug registers(qm_regs) read clear control. 1 means enable +Description: QM debug registers(regs) read clear control. 1 means enable register read clear, otherwise 0. Writing to this file has no functional effect, only enable or disable counters clear after reading of these registers. diff --git a/drivers/crypto/hisilicon/qm.c b/drivers/crypto/hisilicon/qm.c index 57ad131..a781c02 100644 --- a/drivers/crypto/hisilicon/qm.c +++ b/drivers/crypto/hisilicon/qm.c @@ -2775,7 +2775,7 @@ int hisi_qm_debug_init(struct hisi_qm *qm) goto failed_to_create; } - debugfs_create_file("qm_regs", 0444, qm->debug.qm_d, qm, &qm_regs_fops); + debugfs_create_file("regs", 0444, qm->debug.qm_d, qm, &qm_regs_fops); debugfs_create_file("cmd", 0444, qm->debug.qm_d, qm, &qm_cmd_fops); -- 2.7.4