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