Re: [PATCH] usb: musb: Fix locking errors for host only mode

2016-08-26 Thread Tony Lindgren
* Bin Liu [160826 08:15]: > > BTY, sorry for beeing slow on reviewing patches lately. There are a > few critical things in my work coming up during my vacation. > (maintaining musb is not part of my paid job...) No problem, we all know how that goes. Tony -- To unsubscribe from

Re: [PATCH] usb: musb: Fix locking errors for host only mode

2016-08-26 Thread Bin Liu
On Fri, Aug 26, 2016 at 07:57:39AM -0700, Tony Lindgren wrote: > * Bin Liu [160826 07:57]: > > On Fri, Aug 26, 2016 at 07:39:05AM -0700, Tony Lindgren wrote: > > > Hi, > > > > > > * Bin Liu [160825 10:19]: > > > > Hi, > > > > > > > > On Thu, Aug 18, 2016 at

Re: [PATCH] usb: musb: Fix locking errors for host only mode

2016-08-26 Thread Bin Liu
On Fri, Aug 26, 2016 at 07:39:05AM -0700, Tony Lindgren wrote: > Hi, > > * Bin Liu [160825 10:19]: > > Hi, > > > > On Thu, Aug 18, 2016 at 03:40:38PM -0700, Tony Lindgren wrote: > > > If we have USB gadgets disabled and USB_MUSB_HOST set, we get > > > errors "possible irq lock

Re: [PATCH] usb: musb: Fix locking errors for host only mode

2016-08-26 Thread Tony Lindgren
* Bin Liu [160826 07:57]: > On Fri, Aug 26, 2016 at 07:39:05AM -0700, Tony Lindgren wrote: > > Hi, > > > > * Bin Liu [160825 10:19]: > > > Hi, > > > > > > On Thu, Aug 18, 2016 at 03:40:38PM -0700, Tony Lindgren wrote: > > > > If we have USB gadgets disabled and

Re: [PATCH] usb: musb: Fix locking errors for host only mode

2016-08-26 Thread Tony Lindgren
Hi, * Bin Liu [160825 10:19]: > Hi, > > On Thu, Aug 18, 2016 at 03:40:38PM -0700, Tony Lindgren wrote: > > If we have USB gadgets disabled and USB_MUSB_HOST set, we get > > errors "possible irq lock inverssion dependency detected" > > errors during boot. > > > > Let's fix the

Re: [PATCH] usb: musb: Fix locking errors for host only mode

2016-08-25 Thread Bin Liu
Hi, On Thu, Aug 18, 2016 at 03:40:38PM -0700, Tony Lindgren wrote: > If we have USB gadgets disabled and USB_MUSB_HOST set, we get > errors "possible irq lock inverssion dependency detected" > errors during boot. > > Let's fix the issue by adding start_musb flag and start > the controller after

Re: [PATCH] usb: musb: Fix locking errors for host only mode

2016-08-24 Thread Bin Liu
On Wed, Aug 24, 2016 at 12:29:26PM -0700, Tony Lindgren wrote: > * Tony Lindgren [160824 12:17]: > > * Bin Liu [160824 11:47]: > > > Hi, > > > > > > On Thu, Aug 18, 2016 at 03:40:38PM -0700, Tony Lindgren wrote: > > > > If we have USB gadgets disabled and

Re: [PATCH] usb: musb: Fix locking errors for host only mode

2016-08-24 Thread Tony Lindgren
* Tony Lindgren [160824 12:17]: > * Bin Liu [160824 11:47]: > > Hi, > > > > On Thu, Aug 18, 2016 at 03:40:38PM -0700, Tony Lindgren wrote: > > > If we have USB gadgets disabled and USB_MUSB_HOST set, we get > > > errors "possible irq lock inverssion dependency

Re: [PATCH] usb: musb: Fix locking errors for host only mode

2016-08-24 Thread Tony Lindgren
* Bin Liu [160824 11:47]: > Hi, > > On Thu, Aug 18, 2016 at 03:40:38PM -0700, Tony Lindgren wrote: > > If we have USB gadgets disabled and USB_MUSB_HOST set, we get > > errors "possible irq lock inverssion dependency detected" > > errors during boot. > > On which platform was this

Re: [PATCH] usb: musb: Fix locking errors for host only mode

2016-08-24 Thread Bin Liu
Hi, On Thu, Aug 18, 2016 at 03:40:38PM -0700, Tony Lindgren wrote: > If we have USB gadgets disabled and USB_MUSB_HOST set, we get > errors "possible irq lock inverssion dependency detected" > errors during boot. On which platform was this issue found? I am trying to replicate the issue on

[PATCH] usb: musb: Fix locking errors for host only mode

2016-08-18 Thread Tony Lindgren
If we have USB gadgets disabled and USB_MUSB_HOST set, we get errors "possible irq lock inverssion dependency detected" errors during boot. Let's fix the issue by adding start_musb flag and start the controller after we're out of the spinlock protected section. Reported-by: Ladislav Michl