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

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

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-zip (Architecture mips) and /Documentation/ABI/testing/debugfs-hisi-zip (Architecture m68k)


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

~ [ 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