RE: Lockdep warning caused by "driver core: Fix sleeping in invalid context during device link deletion"

From: Aisheng Dong
Date: Mon Aug 24 2020 - 04:19:02 EST


> From: Saravana Kannan <saravanak@xxxxxxxxxx>
> Sent: Saturday, August 22, 2020 2:28 AM
>
> On Thu, Aug 20, 2020 at 8:50 PM Dong Aisheng <dongas86@xxxxxxxxx>
> wrote:
> >
> > Hi ALL,
> >
> > We met the below WARNING during system suspend on an iMX6Q SDB board
> > with the latest linus/master branch (v5.9-rc1+) and next-20200820.
> > v5.8 kernel is ok. So i did bisect and finally found it's caused by
> > the patch below.
> > Reverting it can get rid of the warning, but I wonder if there may be
> > other potential issues.
> > Any ideas?
>
> Thanks for the report. I'll look into this more closely after Linux Plumbers (next
> week). We can't just revert the patch you pointed out because it's fixing another
> locking issue.
>

Thanks. Pls have me CCed when you send out patches.
I'd love to test it.

Regards
Aisheng