lkml.org 
[lkml]   [2013]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [usb gadget] WARNING: at kernel/mutex.c:198 __mutex_lock_common()
On Sat, Mar 02, 2013 at 02:41:07PM +0100, Sebastian Andrzej Siewior wrote:
> On 03/02/2013 02:37 PM, Fengguang Wu wrote:
> > On Wed, Feb 27, 2013 at 12:49:35PM +0200, Felipe Balbi wrote:
> >> Hi,
> >>
> >> On Wed, Feb 06, 2013 at 10:04:24AM +0800, Fengguang Wu wrote:
> >>> Greetings,
> >>>
> >>> I got the below warning and the first bad commit is
> >>
> >> can you send a fixup patch ?
> >
> > Sorry I don't have the fix. Maarten once proposed
> >
> > : Can you change __mutex_lock_common from inline to __always_inline and
> > : check if that gets rid of the warning?
> >
> > and it worked at that time, however it does not work today when I
> > go out to double check the below patch...
>
> This does not get even close to a fix, not to mention a proper one. The
> problem is that a spinlock is hold while a mutex is going to be taken.
> Maybe I get to this?

That'd be great. I can help test your patch out.

Thanks,
Fengguang


\
 
 \ /
  Last update: 2013-03-02 15:22    [W:0.042 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site