From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCHv2] usb: musb: Fix unbalanced platform_disable Date: Tue, 20 Sep 2016 10:10:25 -0700 Message-ID: <20160920171024.mnfjelzxjgv7s7dv@atomide.com> References: <20160912153947.k4gnggur6usyujii@atomide.com> <2377851.ZR7UYeyr7h@avalon> <20160919224149.3msqxiv24ofwjz4c@atomide.com> <1688038.txo7nUYeUv@avalon> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1688038.txo7nUYeUv@avalon> Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Laurent Pinchart Cc: Bin Liu , Greg Kroah-Hartman , Kishon Vijay Abraham I , Andreas Kemnade , linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-omap@vger.kernel.org * Laurent Pinchart [160919 23:36]: > Hi Tony, > > On Monday 19 Sep 2016 15:41:50 Tony Lindgren wrote: > > * Laurent Pinchart [160919 13:35]: > > > On Sunday 18 Sep 2016 08:19:02 Tony Lindgren wrote: > > >>> [ 5.711303] [] (_raw_spin_unlock_irqrestore) from > > >>> [] > > >>> (musb_gadget_queue+0x128/0x4ac) > > >>> [ 5.711303] [] (musb_gadget_queue) from [] > > >>> (usb_ep_queue+0x38/0x1d4) > > >>> [ 5.729766] [] (usb_ep_queue) from [] > > >>> (rx_submit+0xc8/0x19c) > > >>> [ 5.737548] [] (rx_submit) from [] > > >>> (rx_fill+0x7c/0xa0) [ 5.737548] [] (rx_fill) from > > >>> [] (eth_start+0x28/0x48) [ 5.751983] [] > > >>> (eth_start) from [] (eth_open+0x6c/0x7c) [ 5.751983] > > >>> [] (eth_open) from [] > > >>> (__dev_open+0x9c/0x104) > > >> > > >> This could be something else though. Care to email me your .config, > > >> maybe this is related to legacy g_ether being built in? > > > > > > Sure, please find it attached. The legacy g_ether is indeed built-in, > > > that's what I use to boot over nfsroot. > > > > OK, I think g_ether may have issues in general.. > > > > I mostly test with configfs based gadgets and shell script as then I can > > test load/configure/connect/disconnect/unconfigure/unload easily :) > > g_ether is very convenient when using nfsroot, as it allows booting the system > without an initramfs. Yeah no doubt about that. > > >> Anyways, please also give the following patch a try. > > > > > > I've tested the patch and if fixes the original problem. Warm reboots are > > > still broken though. > > > > No luck here with your .config a try with my pandaboard es against v4.8-rc7 > > plus the patch I posted on Sunday. It reboots with no errors for me with > > NFSroot. Do you do something other than just reboot? > > No, I perform the following steps: > > - Connect the panda board to the USB through USB (which powers the board on) > - Let the board boot over NFS > - Log in as root, run 'reboot' > > The second boot produces the warning. Oh I was looking at the errors while shutting down things.. OK yeah I get that too along with a bunch of DSS related warnings with your .config. Probably I did not notice it earlier because of the DSS warnings. Will take a look. Thanks, Tony -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html