Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / ABI / testing / debugfs-hisi-sec
blob85feb4408e0f63b1800fcce045183d2abfe00a2e
1 What:           /sys/kernel/debug/hisi_sec2/<bdf>/clear_enable
2 Date:           Oct 2019
3 Contact:        linux-crypto@vger.kernel.org
4 Description:    Enabling/disabling of clear action after reading
5                 the SEC debug registers.
6                 0: disable, 1: enable.
7                 Only available for PF, and take no other effect on SEC.
9 What:           /sys/kernel/debug/hisi_sec2/<bdf>/current_qm
10 Date:           Oct 2019
11 Contact:        linux-crypto@vger.kernel.org
12 Description:    One SEC controller has one PF and multiple VFs, each function
13                 has a QM. This file can be used to select the QM which below
14                 qm refers to.
15                 Only available for PF.
17 What:           /sys/kernel/debug/hisi_sec2/<bdf>/qm/qm_regs
18 Date:           Oct 2019
19 Contact:        linux-crypto@vger.kernel.org
20 Description:    Dump of QM related debug registers.
21                 Available for PF and VF in host. VF in guest currently only
22                 has one debug register.
24 What:           /sys/kernel/debug/hisi_sec2/<bdf>/qm/current_q
25 Date:           Oct 2019
26 Contact:        linux-crypto@vger.kernel.org
27 Description:    One QM of SEC may contain multiple queues. Select specific
28                 queue to show its debug registers in above 'regs'.
29                 Only available for PF.
31 What:           /sys/kernel/debug/hisi_sec2/<bdf>/qm/clear_enable
32 Date:           Oct 2019
33 Contact:        linux-crypto@vger.kernel.org
34 Description:    Enabling/disabling of clear action after reading
35                 the SEC's QM debug registers.
36                 0: disable, 1: enable.
37                 Only available for PF, and take no other effect on SEC.
39 What:           /sys/kernel/debug/hisi_sec2/<bdf>/qm/err_irq
40 Date:           Apr 2020
41 Contact:        linux-crypto@vger.kernel.org
42 Description:    Dump the number of invalid interrupts for
43                 QM task completion.
44                 Available for both PF and VF, and take no other effect on SEC.
46 What:           /sys/kernel/debug/hisi_sec2/<bdf>/qm/aeq_irq
47 Date:           Apr 2020
48 Contact:        linux-crypto@vger.kernel.org
49 Description:    Dump the number of QM async event queue interrupts.
50                 Available for both PF and VF, and take no other effect on SEC.
52 What:           /sys/kernel/debug/hisi_sec2/<bdf>/qm/abnormal_irq
53 Date:           Apr 2020
54 Contact:        linux-crypto@vger.kernel.org
55 Description:    Dump the number of interrupts for QM abnormal event.
56                 Available for both PF and VF, and take no other effect on SEC.
58 What:           /sys/kernel/debug/hisi_sec2/<bdf>/qm/create_qp_err
59 Date:           Apr 2020
60 Contact:        linux-crypto@vger.kernel.org
61 Description:    Dump the number of queue allocation errors.
62                 Available for both PF and VF, and take no other effect on SEC.
64 What:           /sys/kernel/debug/hisi_sec2/<bdf>/qm/mb_err
65 Date:           Apr 2020
66 Contact:        linux-crypto@vger.kernel.org
67 Description:    Dump the number of failed QM mailbox commands.
68                 Available for both PF and VF, and take no other effect on SEC.
70 What:           /sys/kernel/debug/hisi_sec2/<bdf>/qm/status
71 Date:           Apr 2020
72 Contact:        linux-crypto@vger.kernel.org
73 Description:    Dump the status of the QM.
74                 Four states: initiated, started, stopped and closed.
75                 Available for both PF and VF, and take no other effect on SEC.
77 What:           /sys/kernel/debug/hisi_sec2/<bdf>/sec_dfx/send_cnt
78 Date:           Apr 2020
79 Contact:        linux-crypto@vger.kernel.org
80 Description:    Dump the total number of sent requests.
81                 Available for both PF and VF, and take no other effect on SEC.
83 What:           /sys/kernel/debug/hisi_sec2/<bdf>/sec_dfx/recv_cnt
84 Date:           Apr 2020
85 Contact:        linux-crypto@vger.kernel.org
86 Description:    Dump the total number of received requests.
87                 Available for both PF and VF, and take no other effect on SEC.
89 What:           /sys/kernel/debug/hisi_sec2/<bdf>/sec_dfx/send_busy_cnt
90 Date:           Apr 2020
91 Contact:        linux-crypto@vger.kernel.org
92 Description:    Dump the total number of requests sent with returning busy.
93                 Available for both PF and VF, and take no other effect on SEC.
95 What:           /sys/kernel/debug/hisi_sec2/<bdf>/sec_dfx/err_bd_cnt
96 Date:           Apr 2020
97 Contact:        linux-crypto@vger.kernel.org
98 Description:    Dump the total number of BD type error requests
99                 to be received.
100                 Available for both PF and VF, and take no other effect on SEC.
102 What:           /sys/kernel/debug/hisi_sec2/<bdf>/sec_dfx/invalid_req_cnt
103 Date:           Apr 2020
104 Contact:        linux-crypto@vger.kernel.org
105 Description:    Dump the total number of invalid requests being received.
106                 Available for both PF and VF, and take no other effect on SEC.
108 What:           /sys/kernel/debug/hisi_sec2/<bdf>/sec_dfx/done_flag_cnt
109 Date:           Apr 2020
110 Contact:        linux-crypto@vger.kernel.org
111 Description:    Dump the total number of completed but marked error requests
112                 to be received.
113                 Available for both PF and VF, and take no other effect on SEC.