On Fri, 19 May 2023 10:05:27 +0100 Matthew Auld <matthew.william.auld@xxxxxxxxx> wrote: > On Fri, 19 May 2023 at 09:55, Boris Brezillon > <boris.brezillon@xxxxxxxxxxxxx> wrote: > > > > drmm_mutex_init() needs to be defined as a macro if we want > > lockdep to classify locks properly. If we don't do that, all locks > > will be considered as belonging to the same lock class, leading to > > false positive deadlock reports. > > > > Signed-off-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx> > > Reported-by: Sarah Walker <sarah.walker@xxxxxxxxxx> > > Yeah, we also encountered the same issue. Patch is here: > https://patchwork.freedesktop.org/patch/537605/?series=117891&rev=2 Cool! Added my R-b to this patch.