Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp3327108ybx; Fri, 8 Nov 2019 18:06:21 -0800 (PST) X-Google-Smtp-Source: APXvYqyH+TZtMmnH/s6zer0yD7i3iirtToXai46T1NAsjIZukNoZhUMGW1iFPzqEIDm7iOt3YBdL X-Received: by 2002:a17:906:c801:: with SMTP id cx1mr12121956ejb.266.1573265181807; Fri, 08 Nov 2019 18:06:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573265181; cv=none; d=google.com; s=arc-20160816; b=oaJC9y7BSYo0Vnr+Fez1/c8lyUQ+xim2RlxkCxzNrOrjJrZSBOEC9RoZxBzoiOJZri ovuTlu55P4DrFLmVLz8GlJd0Xqex2x30ecnGMQh2Rd6iyiMimB8hMKx2uRlrtnl5RD5P hlGOFgtXaCCR6bVBiyisJ+E0/p2lAtif/llcN+2vnpeODRGBLEHIm4DnlxOK0qIlwxr6 f4GBM8D4M3SAI/pdxFdhNZJVw/tJH+J4zcTf5PNgrVd6rZlDrp0SHt6m9UNechDFB4EB IYTsZZ0b71X522lbPbz8NpAGN9dAOVQXNVhHx0lP4WmVOlZXO7sXQKZXIQEUDEbeUPG2 RL+w== 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=l0/XjNJD4tXemmBdNXhBuhMqi6dIECj7EIDEmnCdYxU6do3uizXXyF+p9HimYTY8hi pGFq6DJSCVB0Fk8ccLUmOwZ4THGqDgjOfR6tZqB6ubcQGoQs4UEZZh08xsLK+GlNvPG7 TEkqaEQqc/nFteJNaeCTYEupQHZ9xzGvzB1cRn7yqOZLL6CiE5F3kP8LmT8ky7UPRlQS rxRMmqQ48xhEVJK6YwKtcIhEvqEk4sv6Uvak7L0k3Vl8AWqljRrXw/kpOMzQ5tE/ABFc AhbIDSdXCOBhbeagPHCXETJy4Nc5wlZ5YBx6EhozFS3Py3X98vg2VNZGSmiJLHMIb2ai eeaQ== 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 y10si5085369ejg.325.2019.11.08.18.05.52; Fri, 08 Nov 2019 18:06:21 -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 S1726112AbfKICFq (ORCPT + 99 others); Fri, 8 Nov 2019 21:05:46 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:55328 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726240AbfKICFq (ORCPT ); Fri, 8 Nov 2019 21:05:46 -0500 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 0EDC82149F462255D9C7; Sat, 9 Nov 2019 10:05:44 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.439.0; Sat, 9 Nov 2019 10:05:33 +0800 From: Zaibo Xu To: , CC: , , , , , , , Subject: [PATCH v2 3/5] Documentation: add DebugFS doc for HiSilicon SEC Date: Sat, 9 Nov 2019 10:01:55 +0800 Message-ID: <1573264917-14588-4-git-send-email-xuzaibo@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1573264917-14588-1-git-send-email-xuzaibo@huawei.com> References: <1573264917-14588-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