1What: /sys/kernel/debug/hisi_hpre/<bdf>/cluster[0-3]/regs 2Date: Sep 2019 3Contact: linux-crypto@vger.kernel.org 4Description: Dump debug registers from the HPRE cluster. 5 Only available for PF. 6 7What: /sys/kernel/debug/hisi_hpre/<bdf>/cluster[0-3]/cluster_ctrl 8Date: Sep 2019 9Contact: linux-crypto@vger.kernel.org 10Description: 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. 13 14What: /sys/kernel/debug/hisi_hpre/<bdf>/rdclr_en 15Date: Sep 2019 16Contact: linux-crypto@vger.kernel.org 17Description: 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. 22 23What: /sys/kernel/debug/hisi_hpre/<bdf>/current_qm 24Date: Sep 2019 25Contact: linux-crypto@vger.kernel.org 26Description: 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. 29 30What: /sys/kernel/debug/hisi_hpre/<bdf>/regs 31Date: Sep 2019 32Contact: linux-crypto@vger.kernel.org 33Description: Dump debug registers from the HPRE. 34 Only available for PF. 35 36What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/qm_regs 37Date: Sep 2019 38Contact: linux-crypto@vger.kernel.org 39Description: Dump debug registers from the QM. 40 Available for PF and VF in host. VF in guest currently only 41 has one debug register. 42 43What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/current_q 44Date: Sep 2019 45Contact: linux-crypto@vger.kernel.org 46Description: One QM may contain multiple queues. Select specific queue to 47 show its debug registers in above qm_regs. 48 Only available for PF. 49 50What: /sys/kernel/debug/hisi_hpre/<bdf>/qm/clear_enable 51Date: Sep 2019 52Contact: linux-crypto@vger.kernel.org 53Description: 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. 58