[PATCH 2/3] drivers/perf: hisi_pcie: Fix TLP headers bandwidth counting
Jonathan Cameron
Jonathan.Cameron at Huawei.com
Thu Aug 29 06:42:52 PDT 2024
On Thu, 29 Aug 2024 17:03:31 +0800
Yicong Yang <yangyicong at huawei.com> wrote:
> From: Yicong Yang <yangyicong at hisilicon.com>
>
> 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 at hisilicon.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron at huawei.com>
More information about the linux-arm-kernel
mailing list