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

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

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-hpre (Version linux-6.12-rc7) and /Documentation/ABI/testing/debugfs-hisi-hpre (Version linux-5.10.229)


  1 What:           /sys/kernel/debug/hisi_hpre/<b !!   1 What:           /sys/kernel/debug/hisi_hpre/<bdf>/cluster[0-3]/regs
  2 Date:           Sep 2019                       !!   2 Date:           Sep 2019
  3 Contact:        linux-crypto@vger.kernel.org   !!   3 Contact:        linux-crypto@vger.kernel.org
  4 Description:    Dump debug registers from the  !!   4 Description:    Dump debug registers from the HPRE cluster.
  5                 Only available for PF.              5                 Only available for PF.
  6                                                     6 
  7 What:           /sys/kernel/debug/hisi_hpre/<b !!   7 What:           /sys/kernel/debug/hisi_hpre/<bdf>/cluster[0-3]/cluster_ctrl
  8 Date:           Sep 2019                       !!   8 Date:           Sep 2019
  9 Contact:        linux-crypto@vger.kernel.org   !!   9 Contact:        linux-crypto@vger.kernel.org
 10 Description:    Write the HPRE core selection  !!  10 Description:    Write the HPRE core selection in the cluster into this file,
 11                 and then we can read the debug     11                 and then we can read the debug information of the core.
 12                 Only available for PF.             12                 Only available for PF.
 13                                                    13 
 14 What:           /sys/kernel/debug/hisi_hpre/<b !!  14 What:           /sys/kernel/debug/hisi_hpre/<bdf>/rdclr_en
 15 Date:           Sep 2019                       !!  15 Date:           Sep 2019
 16 Contact:        linux-crypto@vger.kernel.org   !!  16 Contact:        linux-crypto@vger.kernel.org
 17 Description:    HPRE cores debug registers rea !!  17 Description:    HPRE cores debug registers read clear control. 1 means enable
 18                 register read clear, otherwise     18                 register read clear, otherwise 0. Writing to this file has no
 19                 functional effect, only enable     19                 functional effect, only enable or disable counters clear after
 20                 reading of these registers.        20                 reading of these registers.
 21                 Only available for PF.             21                 Only available for PF.
 22                                                    22 
 23 What:           /sys/kernel/debug/hisi_hpre/<b !!  23 What:           /sys/kernel/debug/hisi_hpre/<bdf>/current_qm
 24 Date:           Sep 2019                       !!  24 Date:           Sep 2019
 25 Contact:        linux-crypto@vger.kernel.org   !!  25 Contact:        linux-crypto@vger.kernel.org
 26 Description:    One HPRE controller has one PF !!  26 Description:    One HPRE controller has one PF and multiple VFs, each function
 27                 has a QM. Select the QM which      27                 has a QM. Select the QM which below qm refers to.
 28                 Only available for PF.             28                 Only available for PF.
 29                                                    29 
 30 What:           /sys/kernel/debug/hisi_hpre/<b !!  30 What:           /sys/kernel/debug/hisi_hpre/<bdf>/regs
 31 Date:           Jun 2021                       !!  31 Date:           Sep 2019
 32 Contact:        linux-crypto@vger.kernel.org   !!  32 Contact:        linux-crypto@vger.kernel.org
 33 Description:    The <bdf> is related the funct !!  33 Description:    Dump debug registers from the HPRE.
 34                 HPRE driver supports to config !!  34                 Only available for PF.
 35                 supports to write <bdf> value  !!  35 
 36                 "echo <bdf> value > alg_qos".  !!  36 What:           /sys/kernel/debug/hisi_hpre/<bdf>/qm/regs
 37                 1/1000~1000/1000 of total QoS. !!  37 Date:           Sep 2019
 38                 get related QoS in the host an !!  38 Contact:        linux-crypto@vger.kernel.org
 39                                                !!  39 Description:    Dump debug registers from the QM.
 40 What:           /sys/kernel/debug/hisi_hpre/<b << 
 41 Date:           Sep 2019                       << 
 42 Contact:        linux-crypto@vger.kernel.org   << 
 43 Description:    Dump debug registers from the  << 
 44                 Only available for PF.         << 
 45                                                << 
 46 What:           /sys/kernel/debug/hisi_hpre/<b << 
 47 Date:           Sep 2019                       << 
 48 Contact:        linux-crypto@vger.kernel.org   << 
 49 Description:    Dump debug registers from the  << 
 50                 Available for PF and VF in hos     40                 Available for PF and VF in host. VF in guest currently only
 51                 has one debug register.            41                 has one debug register.
 52                                                    42 
 53 What:           /sys/kernel/debug/hisi_hpre/<b !!  43 What:           /sys/kernel/debug/hisi_hpre/<bdf>/qm/current_q
 54 Date:           Sep 2019                       !!  44 Date:           Sep 2019
 55 Contact:        linux-crypto@vger.kernel.org   !!  45 Contact:        linux-crypto@vger.kernel.org
 56 Description:    One QM may contain multiple qu !!  46 Description:    One QM may contain multiple queues. Select specific queue to
 57                 show its debug registers in ab     47                 show its debug registers in above regs.
 58                 Only available for PF.             48                 Only available for PF.
 59                                                    49 
 60 What:           /sys/kernel/debug/hisi_hpre/<b !!  50 What:           /sys/kernel/debug/hisi_hpre/<bdf>/qm/clear_enable
 61 Date:           Sep 2019                       !!  51 Date:           Sep 2019
 62 Contact:        linux-crypto@vger.kernel.org   !!  52 Contact:        linux-crypto@vger.kernel.org
 63 Description:    QM debug registers(regs) read  !!  53 Description:    QM debug registers(regs) read clear control. 1 means enable
 64                 register read clear, otherwise     54                 register read clear, otherwise 0.
 65                 Writing to this file has no fu     55                 Writing to this file has no functional effect, only enable or
 66                 disable counters clear after r     56                 disable counters clear after reading of these registers.
 67                 Only available for PF.             57                 Only available for PF.
 68                                                    58 
 69 What:           /sys/kernel/debug/hisi_hpre/<b !!  59 What:           /sys/kernel/debug/hisi_hpre/<bdf>/qm/err_irq
 70 Date:           Apr 2020                       !!  60 Date:           Apr 2020
 71 Contact:        linux-crypto@vger.kernel.org   !!  61 Contact:        linux-crypto@vger.kernel.org
 72 Description:    Dump the number of invalid int !!  62 Description:    Dump the number of invalid interrupts for
 73                 QM task completion.                63                 QM task completion.
 74                 Available for both PF and VF,      64                 Available for both PF and VF, and take no other effect on HPRE.
 75                                                    65 
 76 What:           /sys/kernel/debug/hisi_hpre/<b !!  66 What:           /sys/kernel/debug/hisi_hpre/<bdf>/qm/aeq_irq
 77 Date:           Apr 2020                       !!  67 Date:           Apr 2020
 78 Contact:        linux-crypto@vger.kernel.org   !!  68 Contact:        linux-crypto@vger.kernel.org
 79 Description:    Dump the number of QM async ev !!  69 Description:    Dump the number of QM async event queue interrupts.
 80                 Available for both PF and VF,  !!  70                 Available for both PF and VF, and take no other effect on HPRE.
 81                                                !!  71 
 82 What:           /sys/kernel/debug/hisi_hpre/<b !!  72 What:           /sys/kernel/debug/hisi_hpre/<bdf>/qm/abnormal_irq
 83 Date:           Apr 2020                       !!  73 Date:           Apr 2020
 84 Contact:        linux-crypto@vger.kernel.org   !!  74 Contact:        linux-crypto@vger.kernel.org
 85 Description:    Dump the number of interrupts  !!  75 Description:    Dump the number of interrupts for QM abnormal event.
 86                 Available for both PF and VF,  !!  76                 Available for both PF and VF, and take no other effect on HPRE.
 87                                                !!  77 
 88 What:           /sys/kernel/debug/hisi_hpre/<b !!  78 What:           /sys/kernel/debug/hisi_hpre/<bdf>/qm/create_qp_err
 89 Date:           Apr 2020                       !!  79 Date:           Apr 2020
 90 Contact:        linux-crypto@vger.kernel.org   !!  80 Contact:        linux-crypto@vger.kernel.org
 91 Description:    Dump the number of queue alloc !!  81 Description:    Dump the number of queue allocation errors.
 92                 Available for both PF and VF,  !!  82                 Available for both PF and VF, and take no other effect on HPRE.
 93                                                !!  83 
 94 What:           /sys/kernel/debug/hisi_hpre/<b !!  84 What:           /sys/kernel/debug/hisi_hpre/<bdf>/qm/mb_err
 95 Date:           Apr 2020                       !!  85 Date:           Apr 2020
 96 Contact:        linux-crypto@vger.kernel.org   !!  86 Contact:        linux-crypto@vger.kernel.org
 97 Description:    Dump the number of failed QM m !!  87 Description:    Dump the number of failed QM mailbox commands.
 98                 Available for both PF and VF,  !!  88                 Available for both PF and VF, and take no other effect on HPRE.
 99                                                !!  89 
100 What:           /sys/kernel/debug/hisi_hpre/<b !!  90 What:           /sys/kernel/debug/hisi_hpre/<bdf>/qm/status
101 Date:           Apr 2020                       !!  91 Date:           Apr 2020
102 Contact:        linux-crypto@vger.kernel.org   !!  92 Contact:        linux-crypto@vger.kernel.org
103 Description:    Dump the status of the QM.     !!  93 Description:    Dump the status of the QM.
104                 Two states: work, stop.        !!  94                 Four states: initiated, started, stopped and closed.
105                 Available for both PF and VF,  !!  95                 Available for both PF and VF, and take no other effect on HPRE.
106                                                !!  96 
107 What:           /sys/kernel/debug/hisi_hpre/<b !!  97 What:           /sys/kernel/debug/hisi_hpre/<bdf>/hpre_dfx/send_cnt
108 Date:           Mar 2022                       !!  98 Date:           Apr 2020
109 Contact:        linux-crypto@vger.kernel.org   !!  99 Contact:        linux-crypto@vger.kernel.org
110 Description:    QM debug registers(regs) read  !! 100 Description:    Dump the total number of sent requests.
111                 node is used to show the chang !! 101                 Available for both PF and VF, and take no other effect on HPRE.
112                 node can be help users to chec !! 102 
113                                                !! 103 What:           /sys/kernel/debug/hisi_hpre/<bdf>/hpre_dfx/recv_cnt
114 What:           /sys/kernel/debug/hisi_hpre/<b !! 104 Date:           Apr 2020
115 Date:           Jan 2024                       !! 105 Contact:        linux-crypto@vger.kernel.org
116 Contact:        linux-crypto@vger.kernel.org   !! 106 Description:    Dump the total number of received requests.
117 Description:    Dump the state of the device.  !! 107                 Available for both PF and VF, and take no other effect on HPRE.
118                 0: busy, 1: idle.              !! 108 
119                 Only available for PF, and tak !! 109 What:           /sys/kernel/debug/hisi_hpre/<bdf>/hpre_dfx/send_busy_cnt
120                                                !! 110 Date:           Apr 2020
121 What:           /sys/kernel/debug/hisi_hpre/<b !! 111 Contact:        linux-crypto@vger.kernel.org
122 Date:           Feb 2024                       !! 112 Description:    Dump the total number of requests sent
123 Contact:        linux-crypto@vger.kernel.org   << 
124 Description:    Set the wait time when stop qu << 
125                 and VF, and take no other effe << 
126                 0: not wait(default), others v << 
127                                                << 
128 What:           /sys/kernel/debug/hisi_hpre/<b << 
129 Date:           Feb 2024                       << 
130 Contact:        linux-crypto@vger.kernel.org   << 
131 Description:    Dump the stop queue status of  << 
132                 if dev_timeout is set, when st << 
133                 will return non-zero value. Av << 
134                 and take no other effect on HP << 
135                                                << 
136 What:           /sys/kernel/debug/hisi_hpre/<b << 
137 Date:           Mar 2022                       << 
138 Contact:        linux-crypto@vger.kernel.org   << 
139 Description:    HPRE debug registers(regs) rea << 
140                 node is used to show the chang << 
141                 node can be help users to chec << 
142                                                << 
143 What:           /sys/kernel/debug/hisi_hpre/<b << 
144 Date:           Apr 2020                       << 
145 Contact:        linux-crypto@vger.kernel.org   << 
146 Description:    Dump the total number of sent  << 
147                 Available for both PF and VF,  << 
148                                                << 
149 What:           /sys/kernel/debug/hisi_hpre/<b << 
150 Date:           Apr 2020                       << 
151 Contact:        linux-crypto@vger.kernel.org   << 
152 Description:    Dump the total number of recei << 
153                 Available for both PF and VF,  << 
154                                                << 
155 What:           /sys/kernel/debug/hisi_hpre/<b << 
156 Date:           Apr 2020                       << 
157 Contact:        linux-crypto@vger.kernel.org   << 
158 Description:    Dump the total number of reque << 
159                 with returning busy.              113                 with returning busy.
160                 Available for both PF and VF,     114                 Available for both PF and VF, and take no other effect on HPRE.
161                                                   115 
162 What:           /sys/kernel/debug/hisi_hpre/<b !! 116 What:           /sys/kernel/debug/hisi_hpre/<bdf>/hpre_dfx/send_fail_cnt
163 Date:           Apr 2020                       !! 117 Date:           Apr 2020
164 Contact:        linux-crypto@vger.kernel.org   !! 118 Contact:        linux-crypto@vger.kernel.org
165 Description:    Dump the total number of compl !! 119 Description:    Dump the total number of completed but error requests.
166                 Available for both PF and VF,  !! 120                 Available for both PF and VF, and take no other effect on HPRE.
167                                                !! 121 
168 What:           /sys/kernel/debug/hisi_hpre/<b !! 122 What:           /sys/kernel/debug/hisi_hpre/<bdf>/hpre_dfx/invalid_req_cnt
169 Date:           Apr 2020                       !! 123 Date:           Apr 2020
170 Contact:        linux-crypto@vger.kernel.org   !! 124 Contact:        linux-crypto@vger.kernel.org
171 Description:    Dump the total number of inval !! 125 Description:    Dump the total number of invalid requests being received.
172                 Available for both PF and VF,  !! 126                 Available for both PF and VF, and take no other effect on HPRE.
173                                                !! 127 
174 What:           /sys/kernel/debug/hisi_hpre/<b !! 128 What:           /sys/kernel/debug/hisi_hpre/<bdf>/hpre_dfx/overtime_thrhld
175 Date:           Apr 2020                       !! 129 Date:           Apr 2020
176 Contact:        linux-crypto@vger.kernel.org   !! 130 Contact:        linux-crypto@vger.kernel.org
177 Description:    Set the threshold time for cou !! 131 Description:    Set the threshold time for counting the request which is
178                 processed longer than the thre    132                 processed longer than the threshold.
179                 0: disable(default), 1: 1 micr    133                 0: disable(default), 1: 1 microsecond.
180                 Available for both PF and VF,     134                 Available for both PF and VF, and take no other effect on HPRE.
181                                                   135 
182 What:           /sys/kernel/debug/hisi_hpre/<b !! 136 What:           /sys/kernel/debug/hisi_hpre/<bdf>/hpre_dfx/over_thrhld_cnt
183 Date:           Apr 2020                       !! 137 Date:           Apr 2020
184 Contact:        linux-crypto@vger.kernel.org   !! 138 Contact:        linux-crypto@vger.kernel.org
185 Description:    Dump the total number of time  !! 139 Description:    Dump the total number of time out requests.
186                 Available for both PF and VF,     140                 Available for both PF and VF, and take no other effect on HPRE.
                                                      

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