Commit 2ea352d5 authored by Arnaldo Carvalho de Melo's avatar Arnaldo Carvalho de Melo
Browse files

Merge remote-tracking branch 'torvalds/master' into perf/core



To pick up BPF changes we'll need.

Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parents ceb9e773 be2eca94
Loading
Loading
Loading
Loading
+57 −0
Original line number Diff line number Diff line
What:           /sys/kernel/debug/hisi_hpre/<bdf>/cluster[0-3]/regs
Date:           Sep 2019
Contact:        linux-crypto@vger.kernel.org
Description:    Dump debug registers from the HPRE cluster.
		Only available for PF.

What:           /sys/kernel/debug/hisi_hpre/<bdf>/cluster[0-3]/cluster_ctrl
Date:           Sep 2019
Contact:        linux-crypto@vger.kernel.org
Description:    Write the HPRE core selection in the cluster into this file,
		and then we can read the debug information of the core.
		Only available for PF.

What:           /sys/kernel/debug/hisi_hpre/<bdf>/rdclr_en
Date:           Sep 2019
Contact:        linux-crypto@vger.kernel.org
Description:    HPRE cores debug registers read clear control. 1 means enable
		register read clear, otherwise 0. Writing to this file has no
		functional effect, only enable or disable counters clear after
		reading of these registers.
		Only available for PF.

What:           /sys/kernel/debug/hisi_hpre/<bdf>/current_qm
Date:           Sep 2019
Contact:        linux-crypto@vger.kernel.org
Description:    One HPRE controller has one PF and multiple VFs, each function
		has a QM. Select the QM which below qm refers to.
		Only available for PF.

What:           /sys/kernel/debug/hisi_hpre/<bdf>/regs
Date:           Sep 2019
Contact:        linux-crypto@vger.kernel.org
Description:    Dump debug registers from the HPRE.
		Only available for PF.

What:           /sys/kernel/debug/hisi_hpre/<bdf>/qm/qm_regs
Date:           Sep 2019
Contact:        linux-crypto@vger.kernel.org
Description:    Dump debug registers from the QM.
		Available for PF and VF in host. VF in guest currently only
		has one debug register.

What:           /sys/kernel/debug/hisi_hpre/<bdf>/qm/current_q
Date:           Sep 2019
Contact:        linux-crypto@vger.kernel.org
Description:    One QM may contain multiple queues. Select specific queue to
		show its debug registers in above qm_regs.
		Only available for PF.

What:           /sys/kernel/debug/hisi_hpre/<bdf>/qm/clear_enable
Date:           Sep 2019
Contact:        linux-crypto@vger.kernel.org
Description:    QM debug registers(qm_regs) read clear control. 1 means enable
		register read clear, otherwise 0.
		Writing to this file has no functional effect, only enable or
		disable counters clear after reading of these registers.
		Only available for PF.
+43 −0
Original line number Diff line number Diff line
What:           /sys/kernel/debug/hisi_sec/<bdf>/sec_dfx
Date:           Oct 2019
Contact:        linux-crypto@vger.kernel.org
Description:    Dump the debug registers of SEC cores.
		Only available for PF.

What:           /sys/kernel/debug/hisi_sec/<bdf>/clear_enable
Date:           Oct 2019
Contact:        linux-crypto@vger.kernel.org
Description:    Enabling/disabling of clear action after reading
		the SEC debug registers.
		0: disable, 1: enable.
		Only available for PF, and take no other effect on SEC.

What:           /sys/kernel/debug/hisi_sec/<bdf>/current_qm
Date:           Oct 2019
Contact:        linux-crypto@vger.kernel.org
Description:    One SEC controller has one PF and multiple VFs, each function
		has a QM. This file can be used to select the QM which below
		qm refers to.
		Only available for PF.

What:           /sys/kernel/debug/hisi_sec/<bdf>/qm/qm_regs
Date:           Oct 2019
Contact:        linux-crypto@vger.kernel.org
Description:    Dump of QM related debug registers.
		Available for PF and VF in host. VF in guest currently only
		has one debug register.

What:           /sys/kernel/debug/hisi_sec/<bdf>/qm/current_q
Date:           Oct 2019
Contact:        linux-crypto@vger.kernel.org
Description:    One QM of SEC may contain multiple queues. Select specific
		queue to show its debug registers in above 'qm_regs'.
		Only available for PF.

What:           /sys/kernel/debug/hisi_sec/<bdf>/qm/clear_enable
Date:           Oct 2019
Contact:        linux-crypto@vger.kernel.org
Description:    Enabling/disabling of clear action after reading
		the SEC's QM debug registers.
		0: disable, 1: enable.
		Only available for PF, and take no other effect on SEC.
+5 −0
Original line number Diff line number Diff line
@@ -29,4 +29,9 @@ Description:
		17 - sectors discarded
		18 - time spent discarding

		Kernel 5.5+ appends two more fields for flush requests:

		19 - flush requests completed successfully
		20 - time spent flushing

		For more details refer to Documentation/admin-guide/iostats.rst
+6 −0
Original line number Diff line number Diff line
@@ -15,6 +15,12 @@ Description:
		 9 - I/Os currently in progress
		10 - time spent doing I/Os (ms)
		11 - weighted time spent doing I/Os (ms)
		12 - discards completed
		13 - discards merged
		14 - sectors discarded
		15 - time spent discarding (ms)
		16 - flush requests completed
		17 - time spent flushing (ms)
		For more details refer Documentation/admin-guide/iostats.rst


+16 −0
Original line number Diff line number Diff line
@@ -51,6 +51,14 @@ Description:
		packet processing. See the network driver for the exact
		meaning of this value.

What:		/sys/class/<iface>/statistics/rx_errors
Date:		April 2005
KernelVersion:	2.6.12
Contact:	netdev@vger.kernel.org
Description:
		Indicates the number of receive errors on this network device.
		See the network driver for the exact meaning of this value.

What:		/sys/class/<iface>/statistics/rx_fifo_errors
Date:		April 2005
KernelVersion:	2.6.12
@@ -88,6 +96,14 @@ Description:
		due to lack of capacity in the receive side. See the network
		driver for the exact meaning of this value.

What:		/sys/class/<iface>/statistics/rx_nohandler
Date:		February 2016
KernelVersion:	4.6
Contact:	netdev@vger.kernel.org
Description:
		Indicates the number of received packets that were dropped on
		an inactive device by the network core.

What:		/sys/class/<iface>/statistics/rx_over_errors
Date:		April 2005
KernelVersion:	2.6.12
Loading