From patchwork Fri Aug 2 07:57:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhou Wang X-Patchwork-Id: 170413 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp489964ile; Fri, 2 Aug 2019 01:16:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqz0CxsZTuSU+x0J6twqhxprqLb02sDOFcwati1Ri1EhH1C9TPgwtqxTTOWWuQ7CosJuvTKO X-Received: by 2002:a17:902:41:: with SMTP id 59mr36366095pla.195.1564733818943; Fri, 02 Aug 2019 01:16:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564733818; cv=none; d=google.com; s=arc-20160816; b=s0L6imPjOYohUogWNGFh9r/8NstQItgvgB3ZE7el9YJuy+tZjJHNCJT9E9NxqKaRMy 20snyEAmZLXBrB9/VrGdrreEdqQNeRJjfDSf6ue3KeA233cyPPf5YP/qUdVc8SCOkhMb G/cQw2EH/LunV0GI/MNXFLW9WCmQ/lh0+uKS2+FMgTQKXpMXsqC2+SXwiRe75QbeMV8c bgCDbc3DsXpx4bc6QZ7dFkGceMTn4xHmiOO0TB4Rl7xdDG/Wpu4CDP/E+WWeZyByqeMV HIJY+lRRQSPtuPx7z+yoX7rQE+bPbVe4gjAu6+eSjiL09T36+MwRL4XnndnwuBWxwrzI G60Q== 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=VmjU2TSAsxALF4MeEXbuPlL0sa/dChMVKzHgVv8h/if3pYBDbygrxV7DoyiCiZ87go uJP3s8kWZLhDFwWciv1vTj8xd++4dD0bjZRg8u+7CIh/GIQ/PoPepe5AAo+P2xtmSYVo 7pLEufB1h8A4u2eyf2kC0IMQGdH72TVvIv3xT76WNjSqVKcnE2uc+X/Dj+T6ewetMBTX t1BeRKq3j/BjJNjETDQAttLJygsj6D7BAy+qgvQAUuHKAE1dH0U2cFCxs2CajdhDYv6y tonm5yyxLWwlK+Wcaa4T7tqND77JDnCTD9hFxIfAjOrrMLzIq6MhIb2IwYXbZLJ9WUOv 4VGA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 31si35666957plk.342.2019.08.02.01.16.58; Fri, 02 Aug 2019 01:16:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-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-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403982AbfHBIQ5 (ORCPT + 3 others); Fri, 2 Aug 2019 04:16:57 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:50092 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2403974AbfHBIQ5 (ORCPT ); Fri, 2 Aug 2019 04:16:57 -0400 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id B701C3A14E74F41B24A7; Fri, 2 Aug 2019 16:16:55 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.439.0; Fri, 2 Aug 2019 16:16:45 +0800 From: Zhou Wang To: , , CC: , , Zhou Wang Subject: [PATCH v3 5/7] Documentation: Add debugfs doc for hisi_zip Date: Fri, 2 Aug 2019 15:57:54 +0800 Message-ID: <1564732676-35987-6-git-send-email-wangzhou1@hisilicon.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1564732676-35987-1-git-send-email-wangzhou1@hisilicon.com> References: <1564732676-35987-1-git-send-email-wangzhou1@hisilicon.com> MIME-Version: 1.0 X-Originating-IP: [10.67.212.75] X-CFilter-Loop: Reflected Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@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.