diff options
author | Yicong Yang <yangyicong@hisilicon.com> | 2024-08-29 17:03:31 +0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2024-08-30 11:43:10 +0100 |
commit | 17bf68aeb3642221e3e770399b5a52f370747ac1 (patch) | |
tree | 411dbf6292484093df16568520344e18ae4e9268 /Documentation/admin-guide | |
parent | daecd3373a16a039ad241086e30a1ec46fc9d61f (diff) |
drivers/perf: hisi_pcie: Fix TLP headers bandwidth counting
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: 17d573984d4d ("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>
Diffstat (limited to 'Documentation/admin-guide')
0 files changed, 0 insertions, 0 deletions