1 What: /sys/kernel/debug/hisi_sec/<bdf>/sec_dfx
3 Contact: linux-crypto@vger.kernel.org
4 Description: Dump the debug registers of SEC cores.
7 What: /sys/kernel/debug/hisi_sec/<bdf>/clear_enable
9 Contact: linux-crypto@vger.kernel.org
10 Description: Enabling/disabling of clear action after reading
11 the SEC debug registers.
12 0: disable, 1: enable.
13 Only available for PF, and take no other effect on SEC.
15 What: /sys/kernel/debug/hisi_sec/<bdf>/current_qm
17 Contact: linux-crypto@vger.kernel.org
18 Description: One SEC controller has one PF and multiple VFs, each function
19 has a QM. This file can be used to select the QM which below
21 Only available for PF.
23 What: /sys/kernel/debug/hisi_sec/<bdf>/qm/qm_regs
25 Contact: linux-crypto@vger.kernel.org
26 Description: Dump of QM related debug registers.
27 Available for PF and VF in host. VF in guest currently only
28 has one debug register.
30 What: /sys/kernel/debug/hisi_sec/<bdf>/qm/current_q
32 Contact: linux-crypto@vger.kernel.org
33 Description: One QM of SEC may contain multiple queues. Select specific
34 queue to show its debug registers in above 'qm_regs'.
35 Only available for PF.
37 What: /sys/kernel/debug/hisi_sec/<bdf>/qm/clear_enable
39 Contact: linux-crypto@vger.kernel.org
40 Description: Enabling/disabling of clear action after reading
41 the SEC's QM debug registers.
42 0: disable, 1: enable.
43 Only available for PF, and take no other effect on SEC.