Re: lockdep warning in urb.c:363 usb_submit_urb

From: Qais Yousef
Date: Mon Mar 23 2020 - 11:57:51 EST


On 03/23/20 16:36, Oliver Neukum wrote:
> Am Montag, den 23.03.2020, 14:38 +0000 schrieb Qais Yousef:
> > Hi
> >
> > I've hit the following lockdep warning when I trigger hibernate on arm64
> > platform (Juno-r2)
> >
> >
> > echo suspend > /sys/power/disk
> > echo disk > /sys/power/state
> >
> > I only had a usb flash drive attached to it. Let me know if you need more info.
>
> Hi,
>
> that is not a lockdep issue, but the hub driver is not properly killing
> its URB presumably. Yet, the driver looks correct to me. Please use
> the additional patch and activate dynamic debugging for usbcore.

Yes sorry my bad, it's a WARN_ONCE().

I applied your patch and will reproduce, but meanwhile not sure if you noticed
this line in my previous email

[ 327.154849] usb usb2: runtime PM trying to activate child device usb2 but parent (7ffb0000.ohci) is not active

Thanks

--
Qais Yousef