xref: /linux/Documentation/ABI/testing/debugfs-hisi-zip (revision 8502652542c6684dd142f74c1bd1772730f653bd)
18201fdf4SZhou WangWhat:           /sys/kernel/debug/hisi_zip/<bdf>/comp_core[01]/regs
28201fdf4SZhou WangDate:           Nov 2018
38201fdf4SZhou WangContact:        linux-crypto@vger.kernel.org
48201fdf4SZhou WangDescription:    Dump of compression cores related debug registers.
58201fdf4SZhou Wang		Only available for PF.
68201fdf4SZhou Wang
78201fdf4SZhou WangWhat:           /sys/kernel/debug/hisi_zip/<bdf>/decomp_core[0-5]/regs
88201fdf4SZhou WangDate:           Nov 2018
98201fdf4SZhou WangContact:        linux-crypto@vger.kernel.org
108201fdf4SZhou WangDescription:    Dump of decompression cores related debug registers.
118201fdf4SZhou Wang		Only available for PF.
128201fdf4SZhou Wang
138201fdf4SZhou WangWhat:           /sys/kernel/debug/hisi_zip/<bdf>/clear_enable
148201fdf4SZhou WangDate:           Nov 2018
158201fdf4SZhou WangContact:        linux-crypto@vger.kernel.org
168201fdf4SZhou WangDescription:    Compression/decompression core debug registers read clear
178201fdf4SZhou Wang		control. 1 means enable register read clear, otherwise 0.
188201fdf4SZhou Wang		Writing to this file has no functional effect, only enable or
198201fdf4SZhou Wang		disable counters clear after reading of these registers.
208201fdf4SZhou Wang		Only available for PF.
218201fdf4SZhou Wang
228201fdf4SZhou WangWhat:           /sys/kernel/debug/hisi_zip/<bdf>/current_qm
238201fdf4SZhou WangDate:           Nov 2018
248201fdf4SZhou WangContact:        linux-crypto@vger.kernel.org
258201fdf4SZhou WangDescription:    One ZIP controller has one PF and multiple VFs, each function
268201fdf4SZhou Wang		has a QM. Select the QM which below qm refers to.
278201fdf4SZhou Wang		Only available for PF.
288201fdf4SZhou Wang
298201fdf4SZhou WangWhat:           /sys/kernel/debug/hisi_zip/<bdf>/qm/qm_regs
308201fdf4SZhou WangDate:           Nov 2018
318201fdf4SZhou WangContact:        linux-crypto@vger.kernel.org
328201fdf4SZhou WangDescription:    Dump of QM related debug registers.
338201fdf4SZhou Wang		Available for PF and VF in host. VF in guest currently only
348201fdf4SZhou Wang		has one debug register.
358201fdf4SZhou Wang
368201fdf4SZhou WangWhat:           /sys/kernel/debug/hisi_zip/<bdf>/qm/current_q
378201fdf4SZhou WangDate:           Nov 2018
388201fdf4SZhou WangContact:        linux-crypto@vger.kernel.org
398201fdf4SZhou WangDescription:    One QM may contain multiple queues. Select specific queue to
408201fdf4SZhou Wang		show its debug registers in above qm_regs.
418201fdf4SZhou Wang		Only available for PF.
428201fdf4SZhou Wang
438201fdf4SZhou WangWhat:           /sys/kernel/debug/hisi_zip/<bdf>/qm/clear_enable
448201fdf4SZhou WangDate:           Nov 2018
458201fdf4SZhou WangContact:        linux-crypto@vger.kernel.org
468201fdf4SZhou WangDescription:    QM debug registers(qm_regs) read clear control. 1 means enable
478201fdf4SZhou Wang		register read clear, otherwise 0.
488201fdf4SZhou Wang		Writing to this file has no functional effect, only enable or
498201fdf4SZhou Wang		disable counters clear after reading of these registers.
508201fdf4SZhou Wang		Only available for PF.
51*85026525SLongfang Liu
52*85026525SLongfang LiuWhat:           /sys/kernel/debug/hisi_zip/<bdf>/qm/err_irq
53*85026525SLongfang LiuDate:           Apr 2020
54*85026525SLongfang LiuContact:        linux-crypto@vger.kernel.org
55*85026525SLongfang LiuDescription:    Dump the number of invalid interrupts for
56*85026525SLongfang Liu		QM task completion.
57*85026525SLongfang Liu		Available for both PF and VF, and take no other effect on ZIP.
58*85026525SLongfang Liu
59*85026525SLongfang LiuWhat:           /sys/kernel/debug/hisi_zip/<bdf>/qm/aeq_irq
60*85026525SLongfang LiuDate:           Apr 2020
61*85026525SLongfang LiuContact:        linux-crypto@vger.kernel.org
62*85026525SLongfang LiuDescription:    Dump the number of QM async event queue interrupts.
63*85026525SLongfang Liu		Available for both PF and VF, and take no other effect on ZIP.
64*85026525SLongfang Liu
65*85026525SLongfang LiuWhat:           /sys/kernel/debug/hisi_zip/<bdf>/qm/abnormal_irq
66*85026525SLongfang LiuDate:           Apr 2020
67*85026525SLongfang LiuContact:        linux-crypto@vger.kernel.org
68*85026525SLongfang LiuDescription:    Dump the number of interrupts for QM abnormal event.
69*85026525SLongfang Liu		Available for both PF and VF, and take no other effect on ZIP.
70*85026525SLongfang Liu
71*85026525SLongfang LiuWhat:           /sys/kernel/debug/hisi_zip/<bdf>/qm/create_qp_err
72*85026525SLongfang LiuDate:           Apr 2020
73*85026525SLongfang LiuContact:        linux-crypto@vger.kernel.org
74*85026525SLongfang LiuDescription:    Dump the number of queue allocation errors.
75*85026525SLongfang Liu		Available for both PF and VF, and take no other effect on ZIP.
76*85026525SLongfang Liu
77*85026525SLongfang LiuWhat:           /sys/kernel/debug/hisi_zip/<bdf>/qm/mb_err
78*85026525SLongfang LiuDate:           Apr 2020
79*85026525SLongfang LiuContact:        linux-crypto@vger.kernel.org
80*85026525SLongfang LiuDescription:    Dump the number of failed QM mailbox commands.
81*85026525SLongfang Liu		Available for both PF and VF, and take no other effect on ZIP.
82