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

Will Deacon will at kernel.org
Mon Nov 25 04:51:07 PST 2024


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@kernel.org/,
> 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 at google.com>
> Cc: Namhyung Kim <namhyung at kernel.org>
> Cc: Robin Murphy <robin.murphy at arm.com>
> Cc: Tuan Phan <tuanphan at os.amperecomputing.com>
> Signed-off-by: Chun-Tse Shao <ctshao at google.com>
> ---
>  drivers/perf/arm_smmuv3_pmu.c | 19 +++++++++++--------
>  1 file changed, 11 insertions(+), 8 deletions(-)

Acked-by: Will Deacon <will at kernel.org>

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

Will



More information about the linux-arm-kernel mailing list