Skip to content
Commit a4c5a457 authored by Namhyung Kim's avatar Namhyung Kim Committed by Will Deacon
Browse files

perf/arm-dmc620: Fix lockdep assert in ->event_init()



for_each_sibling_event() checks leader's ctx but it doesn't have the ctx
yet if it's the leader.  Like in perf_event_validate_size(), we should
skip checking siblings in that case.

Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
Fixes: f3c0eba2 ("perf: Add a few assertions")
Reported-by: default avatarGreg Thelen <gthelen@google.com>
Cc: Robin Murphy <robin.murphy@arm.com>
Cc: Tuan Phan <tuanphan@os.amperecomputing.com>
Signed-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
Reviewed-by: default avatarRobin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/20240514180050.182454-1-namhyung@kernel.org


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent b8995a18
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment