[PATCH v2 2/4] Documentation: update debugfs doc for Hisilicon SEC

From: Kai Ye
Date: Tue Jan 04 2022 - 03:34:27 EST


Update documentation describing DebugFS for function's QoS limiting.

Signed-off-by: Kai Ye <yekai13@xxxxxxxxxx>
---
Documentation/ABI/testing/debugfs-hisi-sec | 10 ++++++++++
1 file changed, 10 insertions(+)

diff --git a/Documentation/ABI/testing/debugfs-hisi-sec b/Documentation/ABI/testing/debugfs-hisi-sec
index 58cfa354534c..2bf84ced484b 100644
--- a/Documentation/ABI/testing/debugfs-hisi-sec
+++ b/Documentation/ABI/testing/debugfs-hisi-sec
@@ -14,6 +14,16 @@ Description: One SEC controller has one PF and multiple VFs, each function
qm refers to.
Only available for PF.

+What: /sys/kernel/debug/hisi_sec2/<bdf>/alg_qos
+Date: Jun 2021
+Contact: linux-crypto@xxxxxxxxxxxxxxx
+Description: The <bdf> is related the function for PF and VF.
+ SEC 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_sec2/<bdf>/qm/qm_regs
Date: Oct 2019
Contact: linux-crypto@xxxxxxxxxxxxxxx
--
2.33.0