summaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/debugfs-hisi-hpre
diff options
context:
space:
mode:
authorWeili Qian <qianweili@huawei.com>2024-01-12 18:25:45 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2024-01-26 16:39:32 +0800
commit8413fe3e7fdfb412baa9e31b3f1d2eaf6d21a373 (patch)
tree7b9d1e812943ada21a5f74f3737f8cde25e69411 /Documentation/ABI/testing/debugfs-hisi-hpre
parentcc342dba0d39f226f4a5e26194404c3785481470 (diff)
crypto: hisilicon/qm - support get device state
Support get device current state. The value 0 indicates that the device is busy, and the value 1 indicates that the device is idle. When the device is in suspended, 1 is returned. Signed-off-by: Weili Qian <qianweili@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Documentation/ABI/testing/debugfs-hisi-hpre')
-rw-r--r--Documentation/ABI/testing/debugfs-hisi-hpre7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/debugfs-hisi-hpre b/Documentation/ABI/testing/debugfs-hisi-hpre
index 8e8de49c5cc6..6ed9258605c7 100644
--- a/Documentation/ABI/testing/debugfs-hisi-hpre
+++ b/Documentation/ABI/testing/debugfs-hisi-hpre
@@ -111,6 +111,13 @@ Description: QM debug registers(regs) read hardware register value. This
node is used to show the change of the qm register values. This
node can be help users to check the change of register values.
+What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/qm_state
+Date: Jan 2024
+Contact: linux-crypto@vger.kernel.org
+Description: Dump the state of the device.
+ 0: busy, 1: idle.
+ Only available for PF, and take no other effect on HPRE.
+
What: /sys/kernel/debug/hisi_hpre/<bdf>/hpre_dfx/diff_regs
Date: Mar 2022
Contact: linux-crypto@vger.kernel.org