1What: /sys/kernel/debug/hisi_sec/<bdf>/sec_dfx 2Date: Oct 2019 3Contact: linux-crypto@vger.kernel.org 4Description: Dump the debug registers of SEC cores. 5 Only available for PF. 6 7What: /sys/kernel/debug/hisi_sec/<bdf>/clear_enable 8Date: Oct 2019 9Contact: linux-crypto@vger.kernel.org 10Description: 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. 14 15What: /sys/kernel/debug/hisi_sec/<bdf>/current_qm 16Date: Oct 2019 17Contact: linux-crypto@vger.kernel.org 18Description: 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 20 qm refers to. 21 Only available for PF. 22 23What: /sys/kernel/debug/hisi_sec/<bdf>/qm/qm_regs 24Date: Oct 2019 25Contact: linux-crypto@vger.kernel.org 26Description: Dump of QM related debug registers. 27 Available for PF and VF in host. VF in guest currently only 28 has one debug register. 29 30What: /sys/kernel/debug/hisi_sec/<bdf>/qm/current_q 31Date: Oct 2019 32Contact: linux-crypto@vger.kernel.org 33Description: 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. 36 37What: /sys/kernel/debug/hisi_sec/<bdf>/qm/clear_enable 38Date: Oct 2019 39Contact: linux-crypto@vger.kernel.org 40Description: 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. 44