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