From: Fengguang Wu <fengguang.wu@intel.com>
To: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Cc: linux-usb@vger.kernel.org, Felipe Balbi <balbi@ti.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] usb/gadget: initialize gadget functions helper befor functions & gadgets
Date: Tue, 5 Mar 2013 18:35:13 +0800 [thread overview]
Message-ID: <20130305103513.GA31454@localhost> (raw)
In-Reply-To: <20130305095734.GA30166@localhost>
On Tue, Mar 05, 2013 at 05:57:34PM +0800, Fengguang Wu wrote:
> On Mon, Mar 04, 2013 at 10:28:09PM +0100, Sebastian Andrzej Siewior wrote:
> > Fengguang Wu run into a kernel ops after he complied dummy_hcd and g_cdc
> > into the kernel. The problem was that u_serial was used by g_cdc before
> > u_serial was initialized. In the module case eveything is initialized in
> > the correct order but if we compile it into the kernel we rely on
> > Makefile order which I did wrong and now I correct this.
> >
> > Cc: Fengguang Wu <fengguang.wu@intel.com>
> > Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
>
> Tested-by: Fengguang Wu <fengguang.wu@intel.com>
Note that I still get this warning, however looks like an unrelated
issue:
[ 602.536679] [ INFO: possible circular locking dependency detected ]
[ 602.536672]
[ 602.536679] ======================================================
[ 602.536679] [ INFO: possible circular locking dependency detected ]
[ 602.536693] 3.8.0-bisect-next-20130301-dirty #212 Not tainted
[ 602.536694] -------------------------------------------------------
[ 602.536698] kworker/0:1/27 is trying to acquire lock:
[ 602.536750] (&fb_info->lock){+.+.+.}, at: [<ffffffff814c0176>] lock_fb_info+0x26/0x60
[ 602.536751]
[ 602.536751] but task is already holding lock:
[ 602.536773] (console_lock){+.+.+.}, at: [<ffffffff815a6a13>] console_callback+0x13/0x150
[ 602.536774]
[ 602.536774] which lock already depends on the new lock.
Thanks,
Fengguang
next prev parent reply other threads:[~2013-03-05 10:35 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-06 2:04 [usb gadget] WARNING: at kernel/mutex.c:198 __mutex_lock_common() Fengguang Wu
2013-02-27 10:49 ` Felipe Balbi
2013-03-02 13:37 ` Fengguang Wu
2013-03-02 13:41 ` Sebastian Andrzej Siewior
2013-03-02 13:45 ` Fengguang Wu
2013-03-04 21:28 ` [PATCH] usb/gadget: initialize gadget functions helper befor functions & gadgets Sebastian Andrzej Siewior
2013-03-04 22:40 ` Michal Nazarewicz
2013-03-05 9:57 ` Fengguang Wu
2013-03-05 10:35 ` Fengguang Wu [this message]
2013-03-05 19:18 ` Sebastian Andrzej Siewior
2013-03-05 10:49 ` Felipe Balbi
2013-03-05 19:16 ` Sebastian Andrzej Siewior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130305103513.GA31454@localhost \
--to=fengguang.wu@intel.com \
--cc=balbi@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=sebastian@breakpoint.cc \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox