[PATCH v2 4/9] drivers/perf: hisi: Extract the event filter check of L3C PMU
Jonathan Cameron
Jonathan.Cameron at huawei.com
Tue Aug 26 06:06:47 PDT 2025
On Thu, 21 Aug 2025 21:50:44 +0800
Yushan Wang <wangyushan12 at huawei.com> wrote:
> From: Yicong Yang <yangyicong at hisilicon.com>
>
> L3C PMU has 4 filter options which are sharing perf_event_attr::config1.
> Driver will check config1 to see whether a certain event has a filter
> setting. It'll be incorrect if we make use of other bits in config1
> for non-filter options. So check whether each filter options are set
> directly in a separate function instead.
>
> Signed-off-by: Yicong Yang <yangyicong at hisilicon.com>
> Signed-off-by: Yushan Wang <wangyushan12 at huawei.com>
Acked-by: Jonathan Cameron <jonathan.cameron at huawei.com>
More information about the linux-arm-kernel
mailing list