Re: [PATCH v2] perf/arm-smmuv3: Fix lockdep assert in ->event_init()

From: Will Deacon
Date: Mon Nov 25 2024 - 07:51:30 EST


On Fri, Nov 08, 2024 at 05:08:05AM +0000, Chun-Tse Shao wrote:
> Same as
> https://lore.kernel.org/all/20240514180050.182454-1-namhyung@xxxxxxxxxx/,
> we should skip `for_each_sibling_event()` for group leader since it
> doesn't have the ctx yet.
>
> Fixes: f3c0eba28704 ("perf: Add a few assertions")
> Reported-by: Greg Thelen <gthelen@xxxxxxxxxx>
> Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
> Cc: Robin Murphy <robin.murphy@xxxxxxx>
> Cc: Tuan Phan <tuanphan@xxxxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Chun-Tse Shao <ctshao@xxxxxxxxxx>
> ---
> drivers/perf/arm_smmuv3_pmu.c | 19 +++++++++++--------
> 1 file changed, 11 insertions(+), 8 deletions(-)

Acked-by: Will Deacon <will@xxxxxxxxxx>

Catalin -- please can you pick this up for -rc1?

Will