2021-12-25 06:32:17

by yekai (A)

[permalink] [raw]
Subject: [PATCH 0/3] Documentation: update debugfs doc for Hisilicon Accelerator

Update documentation describing DebugFS for function's QoS limiting.
Add the note that described how to use the function's QoS limiting.

Kai Ye (3):
Documentation: update debugfs doc for Hisilicon SEC
Documentation: update debugfs doc for Hisilicon ZIP
Documentation: update debugfs doc for Hisilicon HPRE

Documentation/ABI/testing/debugfs-hisi-hpre | 10 ++++++++++
Documentation/ABI/testing/debugfs-hisi-sec | 10 ++++++++++
Documentation/ABI/testing/debugfs-hisi-zip | 10 ++++++++++
3 files changed, 30 insertions(+)

--
2.33.0



2021-12-25 06:32:18

by yekai (A)

[permalink] [raw]
Subject: [PATCH 1/3] Documentation: update debugfs doc for Hisilicon SEC

Update documentation describing DebugFS for function's QoS limiting.

Signed-off-by: Kai Ye <[email protected]>
---
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 85feb4408e0f..9e50ceab94d2 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: [email protected]
+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: [email protected]
--
2.33.0


2021-12-26 10:46:01

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH 1/3] Documentation: update debugfs doc for Hisilicon SEC

On Sat, Dec 25, 2021 at 02:27:16PM +0800, Kai Ye wrote:
> Update documentation describing DebugFS for function's QoS limiting.
>
> Signed-off-by: Kai Ye <[email protected]>
> ---
> 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 85feb4408e0f..9e50ceab94d2 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: [email protected]

No tabs? Why not?

thanks,

greg k-h

2022-01-04 06:46:40

by yekai (A)

[permalink] [raw]
Subject: Re: [PATCH 1/3] Documentation: update debugfs doc for Hisilicon SEC



On 2021/12/26 18:45, Greg KH wrote:
> On Sat, Dec 25, 2021 at 02:27:16PM +0800, Kai Ye wrote:
>> Update documentation describing DebugFS for function's QoS limiting.
>>
>> Signed-off-by: Kai Ye <[email protected]>
>> ---
>> 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 85feb4408e0f..9e50ceab94d2 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: [email protected]
>
> No tabs? Why not?
>
> thanks,
>
> greg k-h
> .
>

I'm read the way it was written beforeļ¼Œ
i will use the tabs on all Hisilicon Accelerator documentation.

thanks
Kai.