162306a36Sopenharmony_ciWhat:		/sys/kernel/debug/hisi_zip/<bdf>/comp_core[01]/regs
262306a36Sopenharmony_ciDate:		Nov 2018
362306a36Sopenharmony_ciContact:	linux-crypto@vger.kernel.org
462306a36Sopenharmony_ciDescription:	Dump of compression cores related debug registers.
562306a36Sopenharmony_ci		Only available for PF.
662306a36Sopenharmony_ci
762306a36Sopenharmony_ciWhat:		/sys/kernel/debug/hisi_zip/<bdf>/decomp_core[0-5]/regs
862306a36Sopenharmony_ciDate:		Nov 2018
962306a36Sopenharmony_ciContact:	linux-crypto@vger.kernel.org
1062306a36Sopenharmony_ciDescription:	Dump of decompression cores related debug registers.
1162306a36Sopenharmony_ci		Only available for PF.
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ciWhat:		/sys/kernel/debug/hisi_zip/<bdf>/clear_enable
1462306a36Sopenharmony_ciDate:		Nov 2018
1562306a36Sopenharmony_ciContact:	linux-crypto@vger.kernel.org
1662306a36Sopenharmony_ciDescription:	Compression/decompression core debug registers read clear
1762306a36Sopenharmony_ci		control. 1 means enable register read clear, otherwise 0.
1862306a36Sopenharmony_ci		Writing to this file has no functional effect, only enable or
1962306a36Sopenharmony_ci		disable counters clear after reading of these registers.
2062306a36Sopenharmony_ci		Only available for PF.
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ciWhat:		/sys/kernel/debug/hisi_zip/<bdf>/current_qm
2362306a36Sopenharmony_ciDate:		Nov 2018
2462306a36Sopenharmony_ciContact:	linux-crypto@vger.kernel.org
2562306a36Sopenharmony_ciDescription:	One ZIP controller has one PF and multiple VFs, each function
2662306a36Sopenharmony_ci		has a QM. Select the QM which below qm refers to.
2762306a36Sopenharmony_ci		Only available for PF.
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ciWhat:		/sys/kernel/debug/hisi_zip/<bdf>/alg_qos
3062306a36Sopenharmony_ciDate:		Jun 2021
3162306a36Sopenharmony_ciContact:	linux-crypto@vger.kernel.org
3262306a36Sopenharmony_ciDescription:	The <bdf> is related the function for PF and VF.
3362306a36Sopenharmony_ci		ZIP driver supports to configure each function's QoS, the driver
3462306a36Sopenharmony_ci		supports to write <bdf> value to alg_qos in the host. Such as
3562306a36Sopenharmony_ci		"echo <bdf> value > alg_qos". The qos value is 1~1000, means
3662306a36Sopenharmony_ci		1/1000~1000/1000 of total QoS. The driver reading alg_qos to
3762306a36Sopenharmony_ci		get related QoS in the host and VM, Such as "cat alg_qos".
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ciWhat:		/sys/kernel/debug/hisi_zip/<bdf>/qm/regs
4062306a36Sopenharmony_ciDate:		Nov 2018
4162306a36Sopenharmony_ciContact:	linux-crypto@vger.kernel.org
4262306a36Sopenharmony_ciDescription:	Dump of QM related debug registers.
4362306a36Sopenharmony_ci		Available for PF and VF in host. VF in guest currently only
4462306a36Sopenharmony_ci		has one debug register.
4562306a36Sopenharmony_ci
4662306a36Sopenharmony_ciWhat:		/sys/kernel/debug/hisi_zip/<bdf>/qm/current_q
4762306a36Sopenharmony_ciDate:		Nov 2018
4862306a36Sopenharmony_ciContact:	linux-crypto@vger.kernel.org
4962306a36Sopenharmony_ciDescription:	One QM may contain multiple queues. Select specific queue to
5062306a36Sopenharmony_ci		show its debug registers in above regs.
5162306a36Sopenharmony_ci		Only available for PF.
5262306a36Sopenharmony_ci
5362306a36Sopenharmony_ciWhat:		/sys/kernel/debug/hisi_zip/<bdf>/qm/clear_enable
5462306a36Sopenharmony_ciDate:		Nov 2018
5562306a36Sopenharmony_ciContact:	linux-crypto@vger.kernel.org
5662306a36Sopenharmony_ciDescription:	QM debug registers(regs) read clear control. 1 means enable
5762306a36Sopenharmony_ci		register read clear, otherwise 0.
5862306a36Sopenharmony_ci		Writing to this file has no functional effect, only enable or
5962306a36Sopenharmony_ci		disable counters clear after reading of these registers.
6062306a36Sopenharmony_ci		Only available for PF.
6162306a36Sopenharmony_ci
6262306a36Sopenharmony_ciWhat:		/sys/kernel/debug/hisi_zip/<bdf>/qm/err_irq
6362306a36Sopenharmony_ciDate:		Apr 2020
6462306a36Sopenharmony_ciContact:	linux-crypto@vger.kernel.org
6562306a36Sopenharmony_ciDescription:	Dump the number of invalid interrupts for
6662306a36Sopenharmony_ci		QM task completion.
6762306a36Sopenharmony_ci		Available for both PF and VF, and take no other effect on ZIP.
6862306a36Sopenharmony_ci
6962306a36Sopenharmony_ciWhat:		/sys/kernel/debug/hisi_zip/<bdf>/qm/aeq_irq
7062306a36Sopenharmony_ciDate:		Apr 2020
7162306a36Sopenharmony_ciContact:	linux-crypto@vger.kernel.org
7262306a36Sopenharmony_ciDescription:	Dump the number of QM async event queue interrupts.
7362306a36Sopenharmony_ci		Available for both PF and VF, and take no other effect on ZIP.
7462306a36Sopenharmony_ci
7562306a36Sopenharmony_ciWhat:		/sys/kernel/debug/hisi_zip/<bdf>/qm/abnormal_irq
7662306a36Sopenharmony_ciDate:		Apr 2020
7762306a36Sopenharmony_ciContact:	linux-crypto@vger.kernel.org
7862306a36Sopenharmony_ciDescription:	Dump the number of interrupts for QM abnormal event.
7962306a36Sopenharmony_ci		Available for both PF and VF, and take no other effect on ZIP.
8062306a36Sopenharmony_ci
8162306a36Sopenharmony_ciWhat:		/sys/kernel/debug/hisi_zip/<bdf>/qm/create_qp_err
8262306a36Sopenharmony_ciDate:		Apr 2020
8362306a36Sopenharmony_ciContact:	linux-crypto@vger.kernel.org
8462306a36Sopenharmony_ciDescription:	Dump the number of queue allocation errors.
8562306a36Sopenharmony_ci		Available for both PF and VF, and take no other effect on ZIP.
8662306a36Sopenharmony_ci
8762306a36Sopenharmony_ciWhat:		/sys/kernel/debug/hisi_zip/<bdf>/qm/mb_err
8862306a36Sopenharmony_ciDate:		Apr 2020
8962306a36Sopenharmony_ciContact:	linux-crypto@vger.kernel.org
9062306a36Sopenharmony_ciDescription:	Dump the number of failed QM mailbox commands.
9162306a36Sopenharmony_ci		Available for both PF and VF, and take no other effect on ZIP.
9262306a36Sopenharmony_ci
9362306a36Sopenharmony_ciWhat:		/sys/kernel/debug/hisi_zip/<bdf>/qm/status
9462306a36Sopenharmony_ciDate:		Apr 2020
9562306a36Sopenharmony_ciContact:	linux-crypto@vger.kernel.org
9662306a36Sopenharmony_ciDescription:	Dump the status of the QM.
9762306a36Sopenharmony_ci		Four states: initiated, started, stopped and closed.
9862306a36Sopenharmony_ci		Available for both PF and VF, and take no other effect on ZIP.
9962306a36Sopenharmony_ci
10062306a36Sopenharmony_ciWhat:		/sys/kernel/debug/hisi_zip/<bdf>/qm/diff_regs
10162306a36Sopenharmony_ciDate:		Mar 2022
10262306a36Sopenharmony_ciContact:	linux-crypto@vger.kernel.org
10362306a36Sopenharmony_ciDescription:	QM debug registers(regs) read hardware register value. This
10462306a36Sopenharmony_ci		node is used to show the change of the qm registers value. This
10562306a36Sopenharmony_ci		node can be help users to check the change of register values.
10662306a36Sopenharmony_ci
10762306a36Sopenharmony_ciWhat:		/sys/kernel/debug/hisi_zip/<bdf>/zip_dfx/diff_regs
10862306a36Sopenharmony_ciDate:		Mar 2022
10962306a36Sopenharmony_ciContact:	linux-crypto@vger.kernel.org
11062306a36Sopenharmony_ciDescription:	ZIP debug registers(regs) read hardware register value. This
11162306a36Sopenharmony_ci		node is used to show the change of the registers value. this
11262306a36Sopenharmony_ci		node can be help users to check the change of register values.
11362306a36Sopenharmony_ci
11462306a36Sopenharmony_ciWhat:		/sys/kernel/debug/hisi_zip/<bdf>/zip_dfx/send_cnt
11562306a36Sopenharmony_ciDate:		Apr 2020
11662306a36Sopenharmony_ciContact:	linux-crypto@vger.kernel.org
11762306a36Sopenharmony_ciDescription:	Dump the total number of sent requests.
11862306a36Sopenharmony_ci		Available for both PF and VF, and take no other effect on ZIP.
11962306a36Sopenharmony_ci
12062306a36Sopenharmony_ciWhat:		/sys/kernel/debug/hisi_zip/<bdf>/zip_dfx/recv_cnt
12162306a36Sopenharmony_ciDate:		Apr 2020
12262306a36Sopenharmony_ciContact:	linux-crypto@vger.kernel.org
12362306a36Sopenharmony_ciDescription:	Dump the total number of received requests.
12462306a36Sopenharmony_ci		Available for both PF and VF, and take no other effect on ZIP.
12562306a36Sopenharmony_ci
12662306a36Sopenharmony_ciWhat:		/sys/kernel/debug/hisi_zip/<bdf>/zip_dfx/send_busy_cnt
12762306a36Sopenharmony_ciDate:		Apr 2020
12862306a36Sopenharmony_ciContact:	linux-crypto@vger.kernel.org
12962306a36Sopenharmony_ciDescription:	Dump the total number of requests received
13062306a36Sopenharmony_ci		with returning busy.
13162306a36Sopenharmony_ci		Available for both PF and VF, and take no other effect on ZIP.
13262306a36Sopenharmony_ci
13362306a36Sopenharmony_ciWhat:		/sys/kernel/debug/hisi_zip/<bdf>/zip_dfx/err_bd_cnt
13462306a36Sopenharmony_ciDate:		Apr 2020
13562306a36Sopenharmony_ciContact:	linux-crypto@vger.kernel.org
13662306a36Sopenharmony_ciDescription:	Dump the total number of BD type error requests
13762306a36Sopenharmony_ci		to be received.
13862306a36Sopenharmony_ci		Available for both PF and VF, and take no other effect on ZIP.
139