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>/qm/regs 30 Date: Jun 2021 !! 30 Date: Nov 2018 31 Contact: linux-crypto@vger.kernel.org !! 31 Contact: linux-crypto@vger.kernel.org 32 Description: The <bdf> is related the funct !! 32 Description: Dump of QM related debug registers. 33 ZIP driver supports to configu << 34 supports to write <bdf> value << 35 "echo <bdf> value > alg_qos". << 36 1/1000~1000/1000 of total QoS. << 37 get related QoS in the host an << 38 << 39 What: /sys/kernel/debug/hisi_zip/<bd << 40 Date: Nov 2018 << 41 Contact: linux-crypto@vger.kernel.org << 42 Description: Dump of QM related debug regis << 43 Available for PF and VF in hos 33 Available for PF and VF in host. VF in guest currently only 44 has one debug register. 34 has one debug register. 45 35 46 What: /sys/kernel/debug/hisi_zip/<bd !! 36 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/current_q 47 Date: Nov 2018 !! 37 Date: Nov 2018 48 Contact: linux-crypto@vger.kernel.org !! 38 Contact: linux-crypto@vger.kernel.org 49 Description: One QM may contain multiple qu !! 39 Description: One QM may contain multiple queues. Select specific queue to 50 show its debug registers in ab 40 show its debug registers in above regs. 51 Only available for PF. 41 Only available for PF. 52 42 53 What: /sys/kernel/debug/hisi_zip/<bd !! 43 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/clear_enable 54 Date: Nov 2018 !! 44 Date: Nov 2018 55 Contact: linux-crypto@vger.kernel.org !! 45 Contact: linux-crypto@vger.kernel.org 56 Description: QM debug registers(regs) read !! 46 Description: QM debug registers(regs) read clear control. 1 means enable 57 register read clear, otherwise 47 register read clear, otherwise 0. 58 Writing to this file has no fu 48 Writing to this file has no functional effect, only enable or 59 disable counters clear after r 49 disable counters clear after reading of these registers. 60 Only available for PF. 50 Only available for PF. 61 51 62 What: /sys/kernel/debug/hisi_zip/<bd !! 52 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/err_irq 63 Date: Apr 2020 !! 53 Date: Apr 2020 64 Contact: linux-crypto@vger.kernel.org !! 54 Contact: linux-crypto@vger.kernel.org 65 Description: Dump the number of invalid int !! 55 Description: Dump the number of invalid interrupts for 66 QM task completion. 56 QM task completion. 67 Available for both PF and VF, 57 Available for both PF and VF, and take no other effect on ZIP. 68 58 69 What: /sys/kernel/debug/hisi_zip/<bd !! 59 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/aeq_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 QM async ev !! 62 Description: Dump the number of QM async event queue interrupts. 73 Available for both PF and VF, !! 63 Available for both PF and VF, and take no other effect on ZIP. 74 !! 64 75 What: /sys/kernel/debug/hisi_zip/<bd !! 65 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/abnormal_irq 76 Date: Apr 2020 !! 66 Date: Apr 2020 77 Contact: linux-crypto@vger.kernel.org !! 67 Contact: linux-crypto@vger.kernel.org 78 Description: Dump the number of interrupts !! 68 Description: Dump the number of interrupts for QM abnormal event. 79 Available for both PF and VF, !! 69 Available for both PF and VF, and take no other effect on ZIP. 80 !! 70 81 What: /sys/kernel/debug/hisi_zip/<bd !! 71 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/create_qp_err 82 Date: Apr 2020 !! 72 Date: Apr 2020 83 Contact: linux-crypto@vger.kernel.org !! 73 Contact: linux-crypto@vger.kernel.org 84 Description: Dump the number of queue alloc !! 74 Description: Dump the number of queue allocation errors. 85 Available for both PF and VF, !! 75 Available for both PF and VF, and take no other effect on ZIP. 86 !! 76 87 What: /sys/kernel/debug/hisi_zip/<bd !! 77 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/mb_err 88 Date: Apr 2020 !! 78 Date: Apr 2020 89 Contact: linux-crypto@vger.kernel.org !! 79 Contact: linux-crypto@vger.kernel.org 90 Description: Dump the number of failed QM m !! 80 Description: Dump the number of failed QM mailbox commands. 91 Available for both PF and VF, !! 81 Available for both PF and VF, and take no other effect on ZIP. 92 !! 82 93 What: /sys/kernel/debug/hisi_zip/<bd !! 83 What: /sys/kernel/debug/hisi_zip/<bdf>/qm/status 94 Date: Apr 2020 !! 84 Date: Apr 2020 95 Contact: linux-crypto@vger.kernel.org !! 85 Contact: linux-crypto@vger.kernel.org 96 Description: Dump the status of the QM. !! 86 Description: Dump the status of the QM. 97 Two states: work, stop. !! 87 Four states: initiated, started, stopped and closed. 98 Available for both PF and VF, !! 88 Available for both PF and VF, and take no other effect on ZIP. 99 !! 89 100 What: /sys/kernel/debug/hisi_zip/<bd !! 90 What: /sys/kernel/debug/hisi_zip/<bdf>/zip_dfx/send_cnt 101 Date: Mar 2022 !! 91 Date: Apr 2020 102 Contact: linux-crypto@vger.kernel.org !! 92 Contact: linux-crypto@vger.kernel.org 103 Description: QM debug registers(regs) read !! 93 Description: Dump the total number of sent requests. 104 node is used to show the chang !! 94 Available for both PF and VF, and take no other effect on ZIP. 105 node can be help users to chec !! 95 106 !! 96 What: /sys/kernel/debug/hisi_zip/<bdf>/zip_dfx/recv_cnt 107 What: /sys/kernel/debug/hisi_zip/<bd !! 97 Date: Apr 2020 108 Date: Jan 2024 !! 98 Contact: linux-crypto@vger.kernel.org 109 Contact: linux-crypto@vger.kernel.org !! 99 Description: Dump the total number of received requests. 110 Description: Dump the state of the device. !! 100 Available for both PF and VF, and take no other effect on ZIP. 111 0: busy, 1: idle. !! 101 112 Only available for PF, and tak !! 102 What: /sys/kernel/debug/hisi_zip/<bdf>/zip_dfx/send_busy_cnt 113 !! 103 Date: Apr 2020 114 What: /sys/kernel/debug/hisi_zip/<bd !! 104 Contact: linux-crypto@vger.kernel.org 115 Date: Feb 2024 !! 105 Description: Dump the total number of requests received 116 Contact: linux-crypto@vger.kernel.org << 117 Description: Set the wait time when stop qu << 118 and VF, and take no other effe << 119 0: not wait(default), others v << 120 << 121 What: /sys/kernel/debug/hisi_zip/<bd << 122 Date: Feb 2024 << 123 Contact: linux-crypto@vger.kernel.org << 124 Description: Dump the stop queue status of << 125 if dev_timeout is set, when st << 126 will return non-zero value. Av << 127 and take no other effect on ZI << 128 << 129 What: /sys/kernel/debug/hisi_zip/<bd << 130 Date: Mar 2022 << 131 Contact: linux-crypto@vger.kernel.org << 132 Description: ZIP debug registers(regs) read << 133 node is used to show the chang << 134 node can be help users to chec << 135 << 136 What: /sys/kernel/debug/hisi_zip/<bd << 137 Date: Apr 2020 << 138 Contact: linux-crypto@vger.kernel.org << 139 Description: Dump the total number of sent << 140 Available for both PF and VF, << 141 << 142 What: /sys/kernel/debug/hisi_zip/<bd << 143 Date: Apr 2020 << 144 Contact: linux-crypto@vger.kernel.org << 145 Description: Dump the total number of recei << 146 Available for both PF and VF, << 147 << 148 What: /sys/kernel/debug/hisi_zip/<bd << 149 Date: Apr 2020 << 150 Contact: linux-crypto@vger.kernel.org << 151 Description: Dump the total number of reque << 152 with returning busy. 106 with returning busy. 153 Available for both PF and VF, 107 Available for both PF and VF, and take no other effect on ZIP. 154 108 155 What: /sys/kernel/debug/hisi_zip/<bd !! 109 What: /sys/kernel/debug/hisi_zip/<bdf>/zip_dfx/err_bd_cnt 156 Date: Apr 2020 !! 110 Date: Apr 2020 157 Contact: linux-crypto@vger.kernel.org !! 111 Contact: linux-crypto@vger.kernel.org 158 Description: Dump the total number of BD ty !! 112 Description: Dump the total number of BD type error requests 159 to be received. 113 to be received. 160 Available for both PF and VF, 114 Available for both PF and VF, and take no other effect on ZIP.
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.