1 What: /sys/kernel/debug/hisi_sec2/<b !! 1 What: /sys/kernel/debug/hisi_sec/<bdf>/sec_dfx 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: Dump the debug registers of SEC cores. >> 5 Only available for PF. >> 6 >> 7 What: /sys/kernel/debug/hisi_sec/<bdf>/clear_enable >> 8 Date: Oct 2019 >> 9 Contact: linux-crypto@vger.kernel.org >> 10 Description: Enabling/disabling of clear action after reading 5 the SEC debug registers. 11 the SEC debug registers. 6 0: disable, 1: enable. 12 0: disable, 1: enable. 7 Only available for PF, and tak 13 Only available for PF, and take no other effect on SEC. 8 14 9 What: /sys/kernel/debug/hisi_sec2/<b !! 15 What: /sys/kernel/debug/hisi_sec/<bdf>/current_qm 10 Date: Oct 2019 !! 16 Date: Oct 2019 11 Contact: linux-crypto@vger.kernel.org !! 17 Contact: linux-crypto@vger.kernel.org 12 Description: One SEC controller has one PF !! 18 Description: One SEC controller has one PF and multiple VFs, each function 13 has a QM. This file can be use 19 has a QM. This file can be used to select the QM which below 14 qm refers to. 20 qm refers to. 15 Only available for PF. 21 Only available for PF. 16 22 17 What: /sys/kernel/debug/hisi_sec2/<b !! 23 What: /sys/kernel/debug/hisi_sec/<bdf>/qm/qm_regs 18 Date: Jun 2021 !! 24 Date: Oct 2019 19 Contact: linux-crypto@vger.kernel.org !! 25 Contact: linux-crypto@vger.kernel.org 20 Description: The <bdf> is related the funct !! 26 Description: Dump of QM related debug registers. 21 SEC driver supports to configu << 22 supports to write <bdf> value << 23 "echo <bdf> value > alg_qos". << 24 1/1000~1000/1000 of total QoS. << 25 get related QoS in the host an << 26 << 27 What: /sys/kernel/debug/hisi_sec2/<b << 28 Date: Oct 2019 << 29 Contact: linux-crypto@vger.kernel.org << 30 Description: Dump of QM related debug regis << 31 Available for PF and VF in hos 27 Available for PF and VF in host. VF in guest currently only 32 has one debug register. 28 has one debug register. 33 29 34 What: /sys/kernel/debug/hisi_sec2/<b !! 30 What: /sys/kernel/debug/hisi_sec/<bdf>/qm/current_q 35 Date: Oct 2019 !! 31 Date: Oct 2019 36 Contact: linux-crypto@vger.kernel.org !! 32 Contact: linux-crypto@vger.kernel.org 37 Description: One QM of SEC may contain mult !! 33 Description: One QM of SEC may contain multiple queues. Select specific 38 queue to show its debug regist !! 34 queue to show its debug registers in above 'qm_regs'. 39 Only available for PF. 35 Only available for PF. 40 36 41 What: /sys/kernel/debug/hisi_sec2/<b !! 37 What: /sys/kernel/debug/hisi_sec/<bdf>/qm/clear_enable 42 Date: Oct 2019 !! 38 Date: Oct 2019 43 Contact: linux-crypto@vger.kernel.org !! 39 Contact: linux-crypto@vger.kernel.org 44 Description: Enabling/disabling of clear ac !! 40 Description: Enabling/disabling of clear action after reading 45 the SEC's QM debug registers. 41 the SEC's QM debug registers. 46 0: disable, 1: enable. 42 0: disable, 1: enable. 47 Only available for PF, and tak 43 Only available for PF, and take no other effect on SEC. 48 << 49 What: /sys/kernel/debug/hisi_sec2/<b << 50 Date: Apr 2020 << 51 Contact: linux-crypto@vger.kernel.org << 52 Description: Dump the number of invalid int << 53 QM task completion. << 54 Available for both PF and VF, << 55 << 56 What: /sys/kernel/debug/hisi_sec2/<b << 57 Date: Apr 2020 << 58 Contact: linux-crypto@vger.kernel.org << 59 Description: Dump the number of QM async ev << 60 Available for both PF and VF, << 61 << 62 What: /sys/kernel/debug/hisi_sec2/<b << 63 Date: Apr 2020 << 64 Contact: linux-crypto@vger.kernel.org << 65 Description: Dump the number of interrupts << 66 Available for both PF and VF, << 67 << 68 What: /sys/kernel/debug/hisi_sec2/<b << 69 Date: Apr 2020 << 70 Contact: linux-crypto@vger.kernel.org << 71 Description: Dump the number of queue alloc << 72 Available for both PF and VF, << 73 << 74 What: /sys/kernel/debug/hisi_sec2/<b << 75 Date: Apr 2020 << 76 Contact: linux-crypto@vger.kernel.org << 77 Description: Dump the number of failed QM m << 78 Available for both PF and VF, << 79 << 80 What: /sys/kernel/debug/hisi_sec2/<b << 81 Date: Apr 2020 << 82 Contact: linux-crypto@vger.kernel.org << 83 Description: Dump the status of the QM. << 84 Two states: work, stop. << 85 Available for both PF and VF, << 86 << 87 What: /sys/kernel/debug/hisi_sec2/<b << 88 Date: Mar 2022 << 89 Contact: linux-crypto@vger.kernel.org << 90 Description: QM debug registers(regs) read << 91 node is used to show the chang << 92 node can be help users to chec << 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 << 116 What: /sys/kernel/debug/hisi_sec2/<b << 117 Date: Mar 2022 << 118 Contact: linux-crypto@vger.kernel.org << 119 Description: SEC debug registers(regs) read << 120 node is used to show the chang << 121 node can be help users to chec << 122 << 123 What: /sys/kernel/debug/hisi_sec2/<b << 124 Date: Apr 2020 << 125 Contact: linux-crypto@vger.kernel.org << 126 Description: Dump the total number of sent << 127 Available for both PF and VF, << 128 << 129 What: /sys/kernel/debug/hisi_sec2/<b << 130 Date: Apr 2020 << 131 Contact: linux-crypto@vger.kernel.org << 132 Description: Dump the total number of recei << 133 Available for both PF and VF, << 134 << 135 What: /sys/kernel/debug/hisi_sec2/<b << 136 Date: Apr 2020 << 137 Contact: linux-crypto@vger.kernel.org << 138 Description: Dump the total number of reque << 139 Available for both PF and VF, << 140 << 141 What: /sys/kernel/debug/hisi_sec2/<b << 142 Date: Apr 2020 << 143 Contact: linux-crypto@vger.kernel.org << 144 Description: Dump the total number of BD ty << 145 to be received. << 146 Available for both PF and VF, << 147 << 148 What: /sys/kernel/debug/hisi_sec2/<b << 149 Date: Apr 2020 << 150 Contact: linux-crypto@vger.kernel.org << 151 Description: Dump the total number of inval << 152 Available for both PF and VF, << 153 << 154 What: /sys/kernel/debug/hisi_sec2/<b << 155 Date: Apr 2020 << 156 Contact: linux-crypto@vger.kernel.org << 157 Description: Dump the total number of compl << 158 to be received. << 159 Available for both PF and VF, <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.