From patchwork Wed Jan 23 13:08:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhou Wang X-Patchwork-Id: 156375 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp701567jaa; Wed, 23 Jan 2019 05:08:46 -0800 (PST) X-Google-Smtp-Source: ALg8bN5DykqPRRFLvZqfGlRcPYbfWgqOry44DykP6cu+v/mtHmoeaB4Dleaj3Mm1WMLwYYvbB2u/ X-Received: by 2002:a63:451a:: with SMTP id s26mr1954749pga.150.1548248926631; Wed, 23 Jan 2019 05:08:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548248926; cv=none; d=google.com; s=arc-20160816; b=pigrHz9GjSUmt5b87jlgW5RvWlnEaR6+u6NmqlWzDthwdCX8Ecdg2iN346pOcGwdhN KMEOuS9uFgoEDMWkIKpAQjPpnlEVpRbX8n571pHnMY++3Iqn4HVx6KcOUb886vfDD2Vc Vlo2fAwykIdz4xk1JBaRmqt+eLr2WCXotIIa8pzf+fqmIV8n8TiZ0roGjyo4M8z3eKZo fZthllvf2qKeKBWh+3z6ciTlJ11f7wktXJ/MQqK7fZ4uNhxzYaBNVYl4qVARbFgZEBtl YoExe8BIWu/yvyUc3eGiS9Fck9rxGnIGW6+m9a1rbvrlbzhkv+QtTcoOhSt0ZTtwlKkz CVew== 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=POnZ7qkO1kjDxxKbGNYQQewGpI/uTsJH1unDCzSQpps=; b=mHMNvKs8H0M5WIuIcc1JBll9HXt6Fy+r6R17CuX3Q/VZZ/2cbG956sFI3T/jLZZ9w7 6pSqWXTxfQN9QcXlV8qSeEsQUpcjeaowFs3zTRE+BTjcQ4NhTOh8FwU64HSsFp8rb7Is Dh0dg4bACtfLccTxxNq1NSGqUBHr84X+f9xSPaJiS8WoMNrQWR/YFfVO1g+ayfxpikkk wcM9KqgUSTXRft8hbi4hkG8kxfeGyHeGhix1mBh7yG9m005sWg90TSvbDMbykPZ5odzt C8twElu54FtyFy6+AjPFhsH8oXr9qJbcqaEMNtmgF+IVvzeZWGyCCZRue45NoqaWyxiN fUXA== 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 n187si2769663pfn.83.2019.01.23.05.08.45; Wed, 23 Jan 2019 05:08:46 -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 S1726370AbfAWNIo (ORCPT + 31 others); Wed, 23 Jan 2019 08:08:44 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:36366 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725995AbfAWNIn (ORCPT ); Wed, 23 Jan 2019 08:08:43 -0500 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 434D3FE847EE72DC2775; Wed, 23 Jan 2019 21:08:40 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.408.0; Wed, 23 Jan 2019 21:08:29 +0800 From: Zhou Wang To: Herbert Xu , "David S . Miller" , CC: , , Zhou Wang Subject: [PATCH v2 1/4] Documentation: Add debugfs doc for hisi_zip Date: Wed, 23 Jan 2019 21:08:50 +0800 Message-ID: <1548248933-149853-2-git-send-email-wangzhou1@hisilicon.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1548248933-149853-1-git-send-email-wangzhou1@hisilicon.com> References: <1548248933-149853-1-git-send-email-wangzhou1@hisilicon.com> 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 Add debugfs descriptions for HiSilicon ZIP and QM driver. Signed-off-by: Zhou Wang Reviewed-by: Jonathan Cameron --- Documentation/ABI/testing/debugfs-hisi-zip | 50 ++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/ABI/testing/debugfs-hisi-zip -- 2.8.1 diff --git a/Documentation/ABI/testing/debugfs-hisi-zip b/Documentation/ABI/testing/debugfs-hisi-zip new file mode 100644 index 0000000..a7c63e6 --- /dev/null +++ b/Documentation/ABI/testing/debugfs-hisi-zip @@ -0,0 +1,50 @@ +What: /sys/kernel/debug/hisi_zip//comp_core[01]/regs +Date: Nov 2018 +Contact: linux-crypto@vger.kernel.org +Description: Dump of compression cores related debug registers. + Only available for PF. + +What: /sys/kernel/debug/hisi_zip//decomp_core[0-5]/regs +Date: Nov 2018 +Contact: linux-crypto@vger.kernel.org +Description: Dump of decompression cores related debug registers. + Only available for PF. + +What: /sys/kernel/debug/hisi_zip//clear_enable +Date: Nov 2018 +Contact: linux-crypto@vger.kernel.org +Description: Compression/decompression core debug registers 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. + Only available for PF. + +What: /sys/kernel/debug/hisi_zip//current_qm +Date: Nov 2018 +Contact: linux-crypto@vger.kernel.org +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 +Date: Nov 2018 +Contact: linux-crypto@vger.kernel.org +Description: Dump of QM related debug registers. + Available for PF and VF in host. VF in guest currently only + has one debug register. + +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. + 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 + register read clear, otherwise 0. + Writing to this file has no functional effect, only enable or + disable counters clear after reading of these registers. + Only available for PF.