|
1 | | -What: /sys/kernel/debug/hisi_sec/<bdf>/sec_dfx |
2 | | -Date: Oct 2019 |
3 | | -Contact: linux-crypto@vger.kernel.org |
4 | | -Description: Dump the debug registers of SEC cores. |
5 | | - Only available for PF. |
6 | | - |
7 | | -What: /sys/kernel/debug/hisi_sec/<bdf>/clear_enable |
| 1 | +What: /sys/kernel/debug/hisi_sec2/<bdf>/clear_enable |
8 | 2 | Date: Oct 2019 |
9 | 3 | Contact: linux-crypto@vger.kernel.org |
10 | 4 | Description: Enabling/disabling of clear action after reading |
11 | 5 | the SEC debug registers. |
12 | 6 | 0: disable, 1: enable. |
13 | 7 | Only available for PF, and take no other effect on SEC. |
14 | 8 |
|
15 | | -What: /sys/kernel/debug/hisi_sec/<bdf>/current_qm |
| 9 | +What: /sys/kernel/debug/hisi_sec2/<bdf>/current_qm |
16 | 10 | Date: Oct 2019 |
17 | 11 | Contact: linux-crypto@vger.kernel.org |
18 | 12 | Description: One SEC controller has one PF and multiple VFs, each function |
19 | 13 | has a QM. This file can be used to select the QM which below |
20 | 14 | qm refers to. |
21 | 15 | Only available for PF. |
22 | 16 |
|
23 | | -What: /sys/kernel/debug/hisi_sec/<bdf>/qm/qm_regs |
| 17 | +What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/qm_regs |
24 | 18 | Date: Oct 2019 |
25 | 19 | Contact: linux-crypto@vger.kernel.org |
26 | 20 | Description: Dump of QM related debug registers. |
27 | 21 | Available for PF and VF in host. VF in guest currently only |
28 | 22 | has one debug register. |
29 | 23 |
|
30 | | -What: /sys/kernel/debug/hisi_sec/<bdf>/qm/current_q |
| 24 | +What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/current_q |
31 | 25 | Date: Oct 2019 |
32 | 26 | Contact: linux-crypto@vger.kernel.org |
33 | 27 | Description: One QM of SEC may contain multiple queues. Select specific |
34 | | - queue to show its debug registers in above 'qm_regs'. |
| 28 | + queue to show its debug registers in above 'regs'. |
35 | 29 | Only available for PF. |
36 | 30 |
|
37 | | -What: /sys/kernel/debug/hisi_sec/<bdf>/qm/clear_enable |
| 31 | +What: /sys/kernel/debug/hisi_sec2/<bdf>/qm/clear_enable |
38 | 32 | Date: Oct 2019 |
39 | 33 | Contact: linux-crypto@vger.kernel.org |
40 | 34 | Description: Enabling/disabling of clear action after reading |
41 | 35 | the SEC's QM debug registers. |
42 | 36 | 0: disable, 1: enable. |
43 | 37 | Only available for PF, and take no other effect on SEC. |
| 38 | + |
| 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. |
| 45 | + |
| 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. |
| 51 | + |
| 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. |
| 57 | + |
| 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. |
| 63 | + |
| 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. |
| 69 | + |
| 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. |
| 76 | + |
| 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. |
| 82 | + |
| 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. |
| 88 | + |
| 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. |
| 94 | + |
| 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. |
| 101 | + |
| 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. |
| 107 | + |
| 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. |
0 commit comments