Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1716903ybc; Wed, 13 Nov 2019 03:16:40 -0800 (PST) X-Google-Smtp-Source: APXvYqxW6xnAwE+ml9BHmAXJwg7HSQW0w17e4xpmeR94+pP1efrUK1uUJdzcMJOGzmAnSsgzJ/kI X-Received: by 2002:a05:6402:886:: with SMTP id e6mr2910212edy.46.1573643800005; Wed, 13 Nov 2019 03:16:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573643799; cv=none; d=google.com; s=arc-20160816; b=mzfUH4rSOXqr53xVvvVbWlUdxkUiwA27YLwjr/WRLanZESrm6cVZgxk1fyxVEJjh2b vR+JgseJPQZDnh/gxAxltloEwY8+QchLOrCmf42BLsSl5+WbY7mrAg/nTOzfbpXKx7nC ot2HiQnVqZFRgvFZNwKnN60KTUCzY4VGV1OjLsrADfZVjM/4AinrYpOosjYvMj6Ry+Ru EURwLeTuPeLNV6qg12B+mFGKC23QSf7kv5UJ6vcLxH4qehDpPlDatCs/MgRF6DjPWiT+ tqceaVyCTH0FsAFt0qdCyT6+EXwFrRsmmonPesyXV86KNabN9IfZgV5xzzvdfFlbmHW0 6EBg== 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=N2VZyQ/CjMg2W2dPSiJyvKelP1Mj4px+2B8jVNb73Ls=; b=S7MjBzUupBsnlWfGSeFLVISSdlbodRFQIcDYutdKComT6TlAHNEmSHEaIC7k5XDlRk WHsW03XYLnslMvKMBhWmNaLeCmdR1qjXsOa4CSha7JZS8bJXqOHc3Glox16se+CQf1Y8 9cNXgMBHs6iboUVBsSRExZ1lKSCmuDuw9/WlmtJb0NiBSN3oxaUtjFTgjIIdEVE063of nqBX/ea2tDrd4hVu5hLBNZ19S641sWvc6uhdkhTVlTpW/0SfEVsFhLzL3tFyWrgn/fFI bu0ioempIHQ54JpKW2dnS2ZjKZDKCXswSjaTB6MyRocmjH3mLwv0t+X3TA/IJXU+4GUB zn+A== 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 n15si866572ejj.68.2019.11.13.03.16.14; Wed, 13 Nov 2019 03:16:39 -0800 (PST) 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 S1727641AbfKMLOf (ORCPT + 99 others); Wed, 13 Nov 2019 06:14:35 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:57086 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727421AbfKMLOf (ORCPT ); Wed, 13 Nov 2019 06:14:35 -0500 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id ED89B68DB1B718C5C6D9; Wed, 13 Nov 2019 19:14:33 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.439.0; Wed, 13 Nov 2019 19:14:27 +0800 From: Zaibo Xu To: , CC: , , , , , , , Subject: [PATCH v3 3/5] Documentation: add DebugFS doc for HiSilicon SEC Date: Wed, 13 Nov 2019 19:11:06 +0800 Message-ID: <1573643468-1812-4-git-send-email-xuzaibo@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1573643468-1812-1-git-send-email-xuzaibo@huawei.com> References: <1573643468-1812-1-git-send-email-xuzaibo@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-CFilter-Loop: Reflected Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Longfang Liu This Documentation is for HiSilicon SEC DebugFS. Signed-off-by: Longfang Liu Signed-off-by: Kai Ye Reviewed-by: Zaibo Xu --- Documentation/ABI/testing/debugfs-hisi-sec | 43 ++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/ABI/testing/debugfs-hisi-sec diff --git a/Documentation/ABI/testing/debugfs-hisi-sec b/Documentation/ABI/testing/debugfs-hisi-sec new file mode 100644 index 0000000..06adb89 --- /dev/null +++ b/Documentation/ABI/testing/debugfs-hisi-sec @@ -0,0 +1,43 @@ +What: /sys/kernel/debug/hisi_sec//sec_dfx +Date: Oct 2019 +Contact: linux-crypto@vger.kernel.org +Description: Dump the debug registers of SEC cores. + Only available for PF. + +What: /sys/kernel/debug/hisi_sec//clear_enable +Date: Oct 2019 +Contact: linux-crypto@vger.kernel.org +Description: Enabling/disabling of clear action after reading + the SEC debug registers. + 0: disable, 1: enable. + Only available for PF, and take no other effect on SEC. + +What: /sys/kernel/debug/hisi_sec//current_qm +Date: Oct 2019 +Contact: linux-crypto@vger.kernel.org +Description: One SEC controller has one PF and multiple VFs, each function + has a QM. This file can be used to select the QM which below + qm refers to. + Only available for PF. + +What: /sys/kernel/debug/hisi_sec//qm/qm_regs +Date: Oct 2019 +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_sec//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'. + Only available for PF. + +What: /sys/kernel/debug/hisi_sec//qm/clear_enable +Date: Oct 2019 +Contact: linux-crypto@vger.kernel.org +Description: Enabling/disabling of clear action after reading + the SEC's QM debug registers. + 0: disable, 1: enable. + Only available for PF, and take no other effect on SEC. -- 2.8.1