]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf: arm_cspmu: nvidia: monitor all ports by default
authorBesar Wicaksono <bwicaksono@nvidia.com>
Thu, 31 Oct 2024 14:21:18 +0000 (14:21 +0000)
committerWill Deacon <will@kernel.org>
Mon, 9 Dec 2024 15:07:49 +0000 (15:07 +0000)
commitbce61d5c57647ca4565847217fe811260cc60173
tree86f8868a66cfbd217bfa6453a65a0a4d0ef35ec5
parentca26df4b1036bcad326170a6ddb5245f6d6e8d82
perf: arm_cspmu: nvidia: monitor all ports by default

Some NVIDIA PMUs like the NVLINK-C2C, CNVLINK, and PCIE PMU provide
port filtering. If the port filter is set to zero, the counter of
these PMUs will not capture any event. To avoid meaningless
experiment, the driver sets the port filter value to a default
non-zero value.

Signed-off-by: Besar Wicaksono <bwicaksono@nvidia.com>
Link: https://lore.kernel.org/r/20241031142118.1865965-5-bwicaksono@nvidia.com
Signed-off-by: Will Deacon <will@kernel.org>
Documentation/admin-guide/perf/nvidia-pmu.rst
drivers/perf/arm_cspmu/nvidia_cspmu.c