Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753608Ab2JVEwZ (ORCPT ); Mon, 22 Oct 2012 00:52:25 -0400 Received: from eu1sys200aog103.obsmtp.com ([207.126.144.115]:53441 "EHLO eu1sys200aog103.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752228Ab2JVEwX convert rfc822-to-8bit (ORCPT ); Mon, 22 Oct 2012 00:52:23 -0400 From: Virupax SADASHIVPETIMATH To: "balbi@ti.com" Cc: "stern@rowland.harvard.edu" , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linus.walleij@linaro.org" , Rajaram REGUPATHY , Praveena NADAHALLY , Shuai WEN Date: Mon, 22 Oct 2012 06:51:39 +0200 Subject: RE: [PATCH] usb:musb: Dequeue urbs on device unplug Thread-Topic: [PATCH] usb:musb: Dequeue urbs on device unplug Thread-Index: Ac2q0AFqMSKRslXQQEKL6iqQwAnHjAFQJQ7Q Message-ID: References: <1349843763-24716-1-git-send-email-virupax.sadashivpetimath@stericsson.com> <20121015121836.GN24333@arwen.pp.htv.fi> In-Reply-To: <20121015121836.GN24333@arwen.pp.htv.fi> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1748 Lines: 44 > -----Original Message----- > From: Felipe Balbi [mailto:balbi@ti.com] > Sent: Monday, October 15, 2012 5:49 PM > To: Virupax SADASHIVPETIMATH > Cc: balbi@ti.com; stern@rowland.harvard.edu; linux-usb@vger.kernel.org; > linux-kernel@vger.kernel.org; linus.walleij@linaro.org; Rajaram REGUPATHY; > Praveena NADAHALLY > Subject: Re: [PATCH] usb:musb: Dequeue urbs on device unplug > > Hi, > > On Wed, Oct 10, 2012 at 10:06:03AM +0530, Virupax Sadashivpetimath wrote: > > Flush queued urbs on receiving device disconnect interrupt. This is > > required for successful disconnect and successive enumeration of the > > device. > > > > In a failure case khubd hangs on usb-storage thread for completion. > > Seen in the below trace. > > > > [ 1355.764526] SysRq : Show Blocked State > > [ 1355.768341] task PC stack pid father > > [ 1355.773620] khubd D c06a1fbc 0 503 2 0x00000000 > > [ 1355.780151] [] (__schedule+0x3f0/0x8ec) from [] > > (schedule+0x58/0x70) [ 1355.788330] [] (schedule+0x58/0x70) > > from [] (schedule_timeout+0x1d8/0x31c) [ 1355.796997] > > [] (schedule_timeout+0x1d8/0x31c) from [] > > (wait_for_common+0xd8/0x180) [ 1355.806396] [] > > (wait_for_common+0xd8/0x180) from [] > > (wait_for_completion+0x20/0x24) [ 1355.815887] [] > I would like to get some Tested-bys here. Can you please add Tested-by: Thanks Virupax S -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/