OpenCloudOS-Kernel/drivers/perf/hisilicon
Yicong Yang 17d573984d drivers/perf: hisi: Add TLP filter support
The PMU support to filter the TLP when counting the bandwidth with below
options:

- only count the TLP headers
- only count the TLP payloads
- count both TLP headers and payloads

In the current driver it's default to count the TLP payloads only, which
will have an implicity side effects that on the traffic only have header
only TLPs, we'll get no data.

Make this user configuration through "len_mode" parameter and make it
default to count both TLP headers and payloads when user not specified.
Also update the documentation for it.

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Link: https://lore.kernel.org/r/20221117084136.53572-5-yangyicong@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
2022-11-29 14:30:55 +00:00
..
Kconfig drivers/perf: hisi: add driver for HNS3 PMU 2022-07-06 11:25:53 +01:00
Makefile drivers/perf: hisi: add driver for HNS3 PMU 2022-07-06 11:25:53 +01:00
hisi_pcie_pmu.c drivers/perf: hisi: Add TLP filter support 2022-11-29 14:30:55 +00:00
hisi_uncore_cpa_pmu.c drivers/perf: hisi: Add Support for CPA PMU 2022-05-06 15:14:31 +01:00
hisi_uncore_ddrc_pmu.c perf: hisi: Extract hisi_pmu_init 2022-06-27 11:14:54 +01:00
hisi_uncore_hha_pmu.c perf: hisi: Extract hisi_pmu_init 2022-06-27 11:14:54 +01:00
hisi_uncore_l3c_pmu.c perf: hisi: Extract hisi_pmu_init 2022-06-27 11:14:54 +01:00
hisi_uncore_pa_pmu.c perf: hisi: Extract hisi_pmu_init 2022-06-27 11:14:54 +01:00
hisi_uncore_pmu.c perf: hisi: Extract hisi_pmu_init 2022-06-27 11:14:54 +01:00
hisi_uncore_pmu.h perf: hisi: Extract hisi_pmu_init 2022-06-27 11:14:54 +01:00
hisi_uncore_sllc_pmu.c perf: hisi: Extract hisi_pmu_init 2022-06-27 11:14:54 +01:00
hns3_pmu.c drivers/perf: hisi: add driver for HNS3 PMU 2022-07-06 11:25:53 +01:00