1 What: /sys/kernel/debug/hisi_hpre/<bdf>/cluster[0-3]/regs
3 Contact: linux-crypto@vger.kernel.org
4 Description: Dump debug registers from the HPRE cluster.
7 What: /sys/kernel/debug/hisi_hpre/<bdf>/cluster[0-3]/cluster_ctrl
9 Contact: linux-crypto@vger.kernel.org
10 Description: Write the HPRE core selection in the cluster into this file,
11 and then we can read the debug information of the core.
12 Only available for PF.
14 What: /sys/kernel/debug/hisi_hpre/<bdf>/rdclr_en
16 Contact: linux-crypto@vger.kernel.org
17 Description: HPRE cores debug registers read clear control. 1 means enable
18 register read clear, otherwise 0. Writing to this file has no
19 functional effect, only enable or disable counters clear after
20 reading of these registers.
21 Only available for PF.
23 What: /sys/kernel/debug/hisi_hpre/<bdf>/current_qm
25 Contact: linux-crypto@vger.kernel.org
26 Description: One HPRE controller has one PF and multiple VFs, each function
27 has a QM. Select the QM which below qm refers to.
28 Only available for PF.
30 What: /sys/kernel/debug/hisi_hpre/<bdf>/regs
32 Contact: linux-crypto@vger.kernel.org
33 Description: Dump debug registers from the HPRE.
34 Only available for PF.
36 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/qm_regs
38 Contact: linux-crypto@vger.kernel.org
39 Description: Dump debug registers from the QM.
40 Available for PF and VF in host. VF in guest currently only
41 has one debug register.
43 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/current_q
45 Contact: linux-crypto@vger.kernel.org
46 Description: One QM may contain multiple queues. Select specific queue to
47 show its debug registers in above qm_regs.
48 Only available for PF.
50 What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/clear_enable
52 Contact: linux-crypto@vger.kernel.org
53 Description: QM debug registers(qm_regs) read clear control. 1 means enable
54 register read clear, otherwise 0.
55 Writing to this file has no functional effect, only enable or
56 disable counters clear after reading of these registers.
57 Only available for PF.