Skip to content

Commit 988453f

Browse files
tsk-lieacuiherbertx
authored andcommitted
crypto: hisilicon/qm - change debugfs file name from qm_regs to regs
The debugfs qm_regs file is already in the qm directory, so no qm_ prefix is required. Signed-off-by: Shukun Tan <[email protected]> Reviewed-by: Zhou Wang <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent c31dc9f commit 988453f

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

Documentation/ABI/testing/debugfs-hisi-hpre

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Contact: [email protected]
3333
Description: Dump debug registers from the HPRE.
3434
Only available for PF.
3535

36-
What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/qm_regs
36+
What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/regs
3737
Date: Sep 2019
3838
3939
Description: Dump debug registers from the QM.
@@ -44,13 +44,13 @@ What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/current_q
4444
Date: Sep 2019
4545
4646
Description: One QM may contain multiple queues. Select specific queue to
47-
show its debug registers in above qm_regs.
47+
show its debug registers in above regs.
4848
Only available for PF.
4949

5050
What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/clear_enable
5151
Date: Sep 2019
5252
53-
Description: QM debug registers(qm_regs) read clear control. 1 means enable
53+
Description: QM debug registers(regs) read clear control. 1 means enable
5454
register read clear, otherwise 0.
5555
Writing to this file has no functional effect, only enable or
5656
disable counters clear after reading of these registers.

Documentation/ABI/testing/debugfs-hisi-sec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/current_q
2525
Date: Oct 2019
2626
2727
Description: One QM of SEC may contain multiple queues. Select specific
28-
queue to show its debug registers in above 'qm_regs'.
28+
queue to show its debug registers in above 'regs'.
2929
Only available for PF.
3030

3131
What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/clear_enable

Documentation/ABI/testing/debugfs-hisi-zip

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Description: One ZIP controller has one PF and multiple VFs, each function
2626
has a QM. Select the QM which below qm refers to.
2727
Only available for PF.
2828

29-
What: /sys/kernel/debug/hisi_zip/<bdf>/qm/qm_regs
29+
What: /sys/kernel/debug/hisi_zip/<bdf>/qm/regs
3030
Date: Nov 2018
3131
3232
Description: Dump of QM related debug registers.
@@ -37,13 +37,13 @@ What: /sys/kernel/debug/hisi_zip/<bdf>/qm/current_q
3737
Date: Nov 2018
3838
3939
Description: One QM may contain multiple queues. Select specific queue to
40-
show its debug registers in above qm_regs.
40+
show its debug registers in above regs.
4141
Only available for PF.
4242

4343
What: /sys/kernel/debug/hisi_zip/<bdf>/qm/clear_enable
4444
Date: Nov 2018
4545
46-
Description: QM debug registers(qm_regs) read clear control. 1 means enable
46+
Description: QM debug registers(regs) read clear control. 1 means enable
4747
register read clear, otherwise 0.
4848
Writing to this file has no functional effect, only enable or
4949
disable counters clear after reading of these registers.

drivers/crypto/hisilicon/qm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2775,7 +2775,7 @@ int hisi_qm_debug_init(struct hisi_qm *qm)
27752775
goto failed_to_create;
27762776
}
27772777

2778-
debugfs_create_file("qm_regs", 0444, qm->debug.qm_d, qm, &qm_regs_fops);
2778+
debugfs_create_file("regs", 0444, qm->debug.qm_d, qm, &qm_regs_fops);
27792779

27802780
debugfs_create_file("cmd", 0444, qm->debug.qm_d, qm, &qm_cmd_fops);
27812781

0 commit comments

Comments
 (0)