linux/drivers/perf/hisilicon
Yicong Yang 666a46a90f drivers/perf: hisi_pcie: Fix TLP headers bandwidth counting
[ Upstream commit 17bf68aeb3 ]

We make the initial value of event ctrl register as HISI_PCIE_INIT_SET
and modify according to the user options. This will make TLP headers
bandwidth only counting never take effect since HISI_PCIE_INIT_SET
configures to count the TLP payloads bandwidth. Fix this by making
the initial value of event ctrl register as 0.

Fixes: 17d573984d ("drivers/perf: hisi: Add TLP filter support")
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20240829090332.28756-3-yangyicong@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2024-10-04 16:28:53 +02:00
..
hisi_pcie_pmu.c drivers/perf: hisi_pcie: Fix TLP headers bandwidth counting 2024-10-04 16:28:53 +02:00
hisi_uncore_cpa_pmu.c drivers/perf: hisi: Remove redundant initialized of pmu->name 2023-04-17 13:14:10 +01:00
hisi_uncore_ddrc_pmu.c drivers/perf: hisi: add NULL check for name 2023-04-17 13:14:10 +01:00
hisi_uncore_hha_pmu.c drivers/perf: hisi: add NULL check for name 2023-04-17 13:14:10 +01:00
hisi_uncore_l3c_pmu.c drivers/perf: hisi: add NULL check for name 2023-04-17 13:14:10 +01:00
hisi_uncore_pa_pmu.c perf: hisi: Fix use-after-free when register pmu fails 2023-11-20 11:59:13 +01:00
hisi_uncore_pmu.c drivers/perf: hisi: Add support for HiSilicon UC PMU driver 2023-06-16 12:27:38 +01:00
hisi_uncore_pmu.h drivers/perf: hisi: Add support for HiSilicon UC PMU driver 2023-06-16 12:27:38 +01:00
hisi_uncore_sllc_pmu.c perf: hisi: Fix use-after-free when register pmu fails 2023-11-20 11:59:13 +01:00
hisi_uncore_uc_pmu.c drivers/perf: hisi: Enable HiSilicon Erratum 162700402 quirk for HIP09 2024-04-13 13:07:36 +02:00
hns3_pmu.c drivers/perf: hisi: hns3: Actually use devm_add_action_or_reset() 2024-06-12 11:11:47 +02:00
Kconfig drivers/perf: hisi: add driver for HNS3 PMU 2022-07-06 11:25:53 +01:00
Makefile drivers/perf: hisi: Add support for HiSilicon UC PMU driver 2023-06-16 12:27:38 +01:00