~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/debugfs-hisi-sec

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/ABI/testing/debugfs-hisi-sec (Version linux-6.12-rc7) and /Documentation/ABI/testing/debugfs-hisi-sec (Version linux-6.6.60)


  1 What:           /sys/kernel/debug/hisi_sec2/<b      1 What:           /sys/kernel/debug/hisi_sec2/<bdf>/clear_enable
  2 Date:           Oct 2019                            2 Date:           Oct 2019
  3 Contact:        linux-crypto@vger.kernel.org        3 Contact:        linux-crypto@vger.kernel.org
  4 Description:    Enabling/disabling of clear ac      4 Description:    Enabling/disabling of clear action after reading
  5                 the SEC debug registers.            5                 the SEC debug registers.
  6                 0: disable, 1: enable.              6                 0: disable, 1: enable.
  7                 Only available for PF, and tak      7                 Only available for PF, and take no other effect on SEC.
  8                                                     8 
  9 What:           /sys/kernel/debug/hisi_sec2/<b      9 What:           /sys/kernel/debug/hisi_sec2/<bdf>/current_qm
 10 Date:           Oct 2019                           10 Date:           Oct 2019
 11 Contact:        linux-crypto@vger.kernel.org       11 Contact:        linux-crypto@vger.kernel.org
 12 Description:    One SEC controller has one PF      12 Description:    One SEC controller has one PF and multiple VFs, each function
 13                 has a QM. This file can be use     13                 has a QM. This file can be used to select the QM which below
 14                 qm refers to.                      14                 qm refers to.
 15                 Only available for PF.             15                 Only available for PF.
 16                                                    16 
 17 What:           /sys/kernel/debug/hisi_sec2/<b     17 What:           /sys/kernel/debug/hisi_sec2/<bdf>/alg_qos
 18 Date:           Jun 2021                           18 Date:           Jun 2021
 19 Contact:        linux-crypto@vger.kernel.org       19 Contact:        linux-crypto@vger.kernel.org
 20 Description:    The <bdf> is related the funct     20 Description:    The <bdf> is related the function for PF and VF.
 21                 SEC driver supports to configu     21                 SEC driver supports to configure each function's QoS, the driver
 22                 supports to write <bdf> value      22                 supports to write <bdf> value to alg_qos in the host. Such as
 23                 "echo <bdf> value > alg_qos".      23                 "echo <bdf> value > alg_qos". The qos value is 1~1000, means
 24                 1/1000~1000/1000 of total QoS.     24                 1/1000~1000/1000 of total QoS. The driver reading alg_qos to
 25                 get related QoS in the host an     25                 get related QoS in the host and VM, Such as "cat alg_qos".
 26                                                    26 
 27 What:           /sys/kernel/debug/hisi_sec2/<b     27 What:           /sys/kernel/debug/hisi_sec2/<bdf>/qm/qm_regs
 28 Date:           Oct 2019                           28 Date:           Oct 2019
 29 Contact:        linux-crypto@vger.kernel.org       29 Contact:        linux-crypto@vger.kernel.org
 30 Description:    Dump of QM related debug regis     30 Description:    Dump of QM related debug registers.
 31                 Available for PF and VF in hos     31                 Available for PF and VF in host. VF in guest currently only
 32                 has one debug register.            32                 has one debug register.
 33                                                    33 
 34 What:           /sys/kernel/debug/hisi_sec2/<b     34 What:           /sys/kernel/debug/hisi_sec2/<bdf>/qm/current_q
 35 Date:           Oct 2019                           35 Date:           Oct 2019
 36 Contact:        linux-crypto@vger.kernel.org       36 Contact:        linux-crypto@vger.kernel.org
 37 Description:    One QM of SEC may contain mult     37 Description:    One QM of SEC may contain multiple queues. Select specific
 38                 queue to show its debug regist     38                 queue to show its debug registers in above 'regs'.
 39                 Only available for PF.             39                 Only available for PF.
 40                                                    40 
 41 What:           /sys/kernel/debug/hisi_sec2/<b     41 What:           /sys/kernel/debug/hisi_sec2/<bdf>/qm/clear_enable
 42 Date:           Oct 2019                           42 Date:           Oct 2019
 43 Contact:        linux-crypto@vger.kernel.org       43 Contact:        linux-crypto@vger.kernel.org
 44 Description:    Enabling/disabling of clear ac     44 Description:    Enabling/disabling of clear action after reading
 45                 the SEC's QM debug registers.      45                 the SEC's QM debug registers.
 46                 0: disable, 1: enable.             46                 0: disable, 1: enable.
 47                 Only available for PF, and tak     47                 Only available for PF, and take no other effect on SEC.
 48                                                    48 
 49 What:           /sys/kernel/debug/hisi_sec2/<b     49 What:           /sys/kernel/debug/hisi_sec2/<bdf>/qm/err_irq
 50 Date:           Apr 2020                           50 Date:           Apr 2020
 51 Contact:        linux-crypto@vger.kernel.org       51 Contact:        linux-crypto@vger.kernel.org
 52 Description:    Dump the number of invalid int     52 Description:    Dump the number of invalid interrupts for
 53                 QM task completion.                53                 QM task completion.
 54                 Available for both PF and VF,      54                 Available for both PF and VF, and take no other effect on SEC.
 55                                                    55 
 56 What:           /sys/kernel/debug/hisi_sec2/<b     56 What:           /sys/kernel/debug/hisi_sec2/<bdf>/qm/aeq_irq
 57 Date:           Apr 2020                           57 Date:           Apr 2020
 58 Contact:        linux-crypto@vger.kernel.org       58 Contact:        linux-crypto@vger.kernel.org
 59 Description:    Dump the number of QM async ev     59 Description:    Dump the number of QM async event queue interrupts.
 60                 Available for both PF and VF,      60                 Available for both PF and VF, and take no other effect on SEC.
 61                                                    61 
 62 What:           /sys/kernel/debug/hisi_sec2/<b     62 What:           /sys/kernel/debug/hisi_sec2/<bdf>/qm/abnormal_irq
 63 Date:           Apr 2020                           63 Date:           Apr 2020
 64 Contact:        linux-crypto@vger.kernel.org       64 Contact:        linux-crypto@vger.kernel.org
 65 Description:    Dump the number of interrupts      65 Description:    Dump the number of interrupts for QM abnormal event.
 66                 Available for both PF and VF,      66                 Available for both PF and VF, and take no other effect on SEC.
 67                                                    67 
 68 What:           /sys/kernel/debug/hisi_sec2/<b     68 What:           /sys/kernel/debug/hisi_sec2/<bdf>/qm/create_qp_err
 69 Date:           Apr 2020                           69 Date:           Apr 2020
 70 Contact:        linux-crypto@vger.kernel.org       70 Contact:        linux-crypto@vger.kernel.org
 71 Description:    Dump the number of queue alloc     71 Description:    Dump the number of queue allocation errors.
 72                 Available for both PF and VF,      72                 Available for both PF and VF, and take no other effect on SEC.
 73                                                    73 
 74 What:           /sys/kernel/debug/hisi_sec2/<b     74 What:           /sys/kernel/debug/hisi_sec2/<bdf>/qm/mb_err
 75 Date:           Apr 2020                           75 Date:           Apr 2020
 76 Contact:        linux-crypto@vger.kernel.org       76 Contact:        linux-crypto@vger.kernel.org
 77 Description:    Dump the number of failed QM m     77 Description:    Dump the number of failed QM mailbox commands.
 78                 Available for both PF and VF,      78                 Available for both PF and VF, and take no other effect on SEC.
 79                                                    79 
 80 What:           /sys/kernel/debug/hisi_sec2/<b     80 What:           /sys/kernel/debug/hisi_sec2/<bdf>/qm/status
 81 Date:           Apr 2020                           81 Date:           Apr 2020
 82 Contact:        linux-crypto@vger.kernel.org       82 Contact:        linux-crypto@vger.kernel.org
 83 Description:    Dump the status of the QM.         83 Description:    Dump the status of the QM.
 84                 Two states: work, stop.        !!  84                 Four states: initiated, started, stopped and closed.
 85                 Available for both PF and VF,      85                 Available for both PF and VF, and take no other effect on SEC.
 86                                                    86 
 87 What:           /sys/kernel/debug/hisi_sec2/<b     87 What:           /sys/kernel/debug/hisi_sec2/<bdf>/qm/diff_regs
 88 Date:           Mar 2022                           88 Date:           Mar 2022
 89 Contact:        linux-crypto@vger.kernel.org       89 Contact:        linux-crypto@vger.kernel.org
 90 Description:    QM debug registers(regs) read      90 Description:    QM debug registers(regs) read hardware register value. This
 91                 node is used to show the chang     91                 node is used to show the change of the qm register values. This
 92                 node can be help users to chec     92                 node can be help users to check the change of register values.
 93                                                << 
 94 What:           /sys/kernel/debug/hisi_sec2/<b << 
 95 Date:           Jan 2024                       << 
 96 Contact:        linux-crypto@vger.kernel.org   << 
 97 Description:    Dump the state of the device.  << 
 98                 0: busy, 1: idle.              << 
 99                 Only available for PF, and tak << 
100                                                << 
101 What:           /sys/kernel/debug/hisi_sec2/<b << 
102 Date:           Feb 2024                       << 
103 Contact:        linux-crypto@vger.kernel.org   << 
104 Description:    Set the wait time when stop qu << 
105                 and VF, and take no other effe << 
106                 0: not wait(default), others v << 
107                                                << 
108 What:           /sys/kernel/debug/hisi_sec2/<b << 
109 Date:           Feb 2024                       << 
110 Contact:        linux-crypto@vger.kernel.org   << 
111 Description:    Dump the stop queue status of  << 
112                 if dev_timeout is set, when st << 
113                 will return non-zero value. Av << 
114                 and take no other effect on SE << 
115                                                    93 
116 What:           /sys/kernel/debug/hisi_sec2/<b     94 What:           /sys/kernel/debug/hisi_sec2/<bdf>/sec_dfx/diff_regs
117 Date:           Mar 2022                           95 Date:           Mar 2022
118 Contact:        linux-crypto@vger.kernel.org       96 Contact:        linux-crypto@vger.kernel.org
119 Description:    SEC debug registers(regs) read     97 Description:    SEC debug registers(regs) read hardware register value. This
120                 node is used to show the chang     98                 node is used to show the change of the register values. This
121                 node can be help users to chec     99                 node can be help users to check the change of register values.
122                                                   100 
123 What:           /sys/kernel/debug/hisi_sec2/<b    101 What:           /sys/kernel/debug/hisi_sec2/<bdf>/sec_dfx/send_cnt
124 Date:           Apr 2020                          102 Date:           Apr 2020
125 Contact:        linux-crypto@vger.kernel.org      103 Contact:        linux-crypto@vger.kernel.org
126 Description:    Dump the total number of sent     104 Description:    Dump the total number of sent requests.
127                 Available for both PF and VF,     105                 Available for both PF and VF, and take no other effect on SEC.
128                                                   106 
129 What:           /sys/kernel/debug/hisi_sec2/<b    107 What:           /sys/kernel/debug/hisi_sec2/<bdf>/sec_dfx/recv_cnt
130 Date:           Apr 2020                          108 Date:           Apr 2020
131 Contact:        linux-crypto@vger.kernel.org      109 Contact:        linux-crypto@vger.kernel.org
132 Description:    Dump the total number of recei    110 Description:    Dump the total number of received requests.
133                 Available for both PF and VF,     111                 Available for both PF and VF, and take no other effect on SEC.
134                                                   112 
135 What:           /sys/kernel/debug/hisi_sec2/<b    113 What:           /sys/kernel/debug/hisi_sec2/<bdf>/sec_dfx/send_busy_cnt
136 Date:           Apr 2020                          114 Date:           Apr 2020
137 Contact:        linux-crypto@vger.kernel.org      115 Contact:        linux-crypto@vger.kernel.org
138 Description:    Dump the total number of reque    116 Description:    Dump the total number of requests sent with returning busy.
139                 Available for both PF and VF,     117                 Available for both PF and VF, and take no other effect on SEC.
140                                                   118 
141 What:           /sys/kernel/debug/hisi_sec2/<b    119 What:           /sys/kernel/debug/hisi_sec2/<bdf>/sec_dfx/err_bd_cnt
142 Date:           Apr 2020                          120 Date:           Apr 2020
143 Contact:        linux-crypto@vger.kernel.org      121 Contact:        linux-crypto@vger.kernel.org
144 Description:    Dump the total number of BD ty    122 Description:    Dump the total number of BD type error requests
145                 to be received.                   123                 to be received.
146                 Available for both PF and VF,     124                 Available for both PF and VF, and take no other effect on SEC.
147                                                   125 
148 What:           /sys/kernel/debug/hisi_sec2/<b    126 What:           /sys/kernel/debug/hisi_sec2/<bdf>/sec_dfx/invalid_req_cnt
149 Date:           Apr 2020                          127 Date:           Apr 2020
150 Contact:        linux-crypto@vger.kernel.org      128 Contact:        linux-crypto@vger.kernel.org
151 Description:    Dump the total number of inval    129 Description:    Dump the total number of invalid requests being received.
152                 Available for both PF and VF,     130                 Available for both PF and VF, and take no other effect on SEC.
153                                                   131 
154 What:           /sys/kernel/debug/hisi_sec2/<b    132 What:           /sys/kernel/debug/hisi_sec2/<bdf>/sec_dfx/done_flag_cnt
155 Date:           Apr 2020                          133 Date:           Apr 2020
156 Contact:        linux-crypto@vger.kernel.org      134 Contact:        linux-crypto@vger.kernel.org
157 Description:    Dump the total number of compl    135 Description:    Dump the total number of completed but marked error requests
158                 to be received.                   136                 to be received.
159                 Available for both PF and VF,     137                 Available for both PF and VF, and take no other effect on SEC.
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php