Thread (6 messages) 6 messages, 2 authors, 2022-01-04

[PATCH 2/3] Documentation: update debugfs doc for Hisilicon ZIP

flat view
STALE1761d SUPERSEDED

From: Kai Ye <hidden>
Date: 2021-12-25 06:32:27
Also in: lkml
Subsystem: hisilicon zip controller driver, the rest · Maintainers: Chenghai Huang, Zhou Wang, Linus Torvalds

Status: Superseded by v2 (posted 2022-01-04). [go to v2]

Revision v1 (2 revisions archived).

Revisions (2)
  1. v1 current
  2. v2 [diff against previous]
Update documentation describing DebugFS for function's QoS limiting.

Signed-off-by: Kai Ye <redacted>
---
 Documentation/ABI/testing/debugfs-hisi-zip | 10 ++++++++++
 1 file changed, 10 insertions(+)
diff --git a/Documentation/ABI/testing/debugfs-hisi-zip b/Documentation/ABI/testing/debugfs-hisi-zip
index 3034a2bf99ca..aff2edc24c94 100644
--- a/Documentation/ABI/testing/debugfs-hisi-zip
+++ b/Documentation/ABI/testing/debugfs-hisi-zip
@@ -26,6 +26,16 @@ 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/<bdf>/alg_qos
+Date:           Jun 2021
+Contact:        linux-crypto@vger.kernel.org
+Description:	The <bdf> is related the function for PF and VF.
+		ZIP driver supports to configure each function's QoS, the driver
+		supports to write <bdf> value to alg_qos in the host. Such as
+		"echo <bdf> value > alg_qos". The qos value is 1~1000, means
+		1/1000~1000/1000 of total QoS. The driver reading alg_qos to
+		get related QoS in the host and VM, Such as "cat alg_qos".
+
 What:           /sys/kernel/debug/hisi_zip/<bdf>/qm/regs
 Date:           Nov 2018
 Contact:        linux-crypto@vger.kernel.org
-- 
2.33.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help