From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH 00/10] Get MUSB PM runtime working again Date: Tue, 3 May 2016 09:25:28 -0700 Message-ID: <20160503162528.GM5995@atomide.com> References: <1461864800-29979-1-git-send-email-tony@atomide.com> <5725A31D.8020508@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <5725A31D.8020508-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Ivaylo Dimitrov Cc: Bin Liu , Felipe Balbi , George Cherian , linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-omap@vger.kernel.org * Ivaylo Dimitrov [160430 23:34]: > > Unfortunately that makes my n900 unbootable with USB cable detached, see the > attached file (at [ 152.121673]) when there is USB cable. I guess we're > missing a couple of pm_runtime_get()/put() calls. OK so it seems. I did some brief testing with n900 too, but never hit this so far. Care to email me the kernel .config you're using so I can try to reproduce it here? > [ 152.121673] Unhandled fault: external abort on non-linefetch (0x1028) at 0xfa0ab001 ... > [ 152.403594] [] (musb_default_readb) from [] (musb_ulpi_write+0x34/0xf8) > [ 152.409454] [] (musb_ulpi_write) from [] (isp1704_charger_probe+0x15c/0x4e0 [isp1704_charger]) > [ 152.421325] [] (isp1704_charger_probe [isp1704_charger]) from [] (platform_drv_probe+0x58/0xa0) > [ 152.433624] [] (platform_drv_probe) from [] (driver_probe_device+0x120/0x2b0) > [ 152.440093] [] (driver_probe_device) from [] (__driver_attach+0x80/0xa4) > [ 152.446624] [] (__driver_attach) from [] (bus_for_each_dev+0x50/0x88) > [ 152.453155] [] (bus_for_each_dev) from [] (bus_add_driver+0xc4/0x1e4) > [ 152.459716] [] (bus_add_driver) from [] (driver_register+0x9c/0xe0) > [ 152.466247] [] (driver_register) from [] (do_one_initcall+0xf8/0x1c4) > [ 152.472839] [] (do_one_initcall) from [] (do_init_module+0x54/0x1ac) > [ 152.479400] [] (do_init_module) from [] (load_module+0x185c/0x1b14) > [ 152.485961] [] (load_module) from [] (SyS_init_module+0x140/0x158) > [ 152.492553] [] (SyS_init_module) from [] (ret_fast_syscall+0x0/0x3c) Yeah looks like a case of missing PM runtime get/put. Also, I'm aware of some remaining phy-twl4030-usb issues with having cable plugged in on the boot. Will send patches for those after the MUSB core issues are out of the way. Regards, 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