Re: [PATCH v2 1/1] usb: musb: call pm_runtime_{get,put}_sync before reading vbus registers

2018-03-05 Thread Ivaylo Dimitrov
Hi, On 5.03.2018 19:38, Bin Liu wrote: On Wed, Feb 28, 2018 at 01:59:43PM -0800, Tony Lindgren wrote: * Merlijn Wajer [180227 22:29]: Without pm_runtime_{get,put}_sync calls in place, reading vbus status via /sys causes the following error: Unhandled fault: external

Re: [PATCH 00/10] Get MUSB PM runtime working again

2016-05-03 Thread Ivaylo Dimitrov
Hi, On 3.05.2016 19:25, Tony Lindgren wrote: * Ivaylo Dimitrov <ivo.g.dimitrov...@gmail.com> [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

Re: [PATCH 00/10] Get MUSB PM runtime working again

2016-05-01 Thread Ivaylo Dimitrov
Hi On 28.04.2016 20:33, Tony Lindgren wrote: Hi all, Here's a series of fixes to get MUSB PM runtime working again. I can now test PM runtime with the 2430 glue layer with this set, so adding PM runtime support for other glue layers should be possible. Regards, Tony Unfortunately that

Re: USB gadgets with configfs hang reboot

2016-04-26 Thread Ivaylo Dimitrov
On 26.04.2016 19:49, Tony Lindgren wrote: * Ivaylo Dimitrov <ivo.g.dimitrov...@gmail.com> [160426 09:46]: On 26.04.2016 18:03, Alan Stern wrote: On Tue, 26 Apr 2016, Felipe Balbi wrote: Is there a reason why a process (pnatd in this particular case) doesn't get killed on

Re: USB gadgets with configfs hang reboot

2016-04-26 Thread Ivaylo Dimitrov
On 26.04.2016 18:03, Alan Stern wrote: On Tue, 26 Apr 2016, Felipe Balbi wrote: Is there a reason why a process (pnatd in this particular case) doesn't get killed on reboot? there might be, and that's probably the bug we're trying to figure out. But so far, no idea. One possible reason

Re: USB gadgets with configfs hang reboot

2016-04-25 Thread Ivaylo Dimitrov
Hi, On 18.04.2016 10:55, Felipe Balbi wrote: Hi, Ivaylo Dimitrov <ivo.g.dimitrov...@gmail.com> writes: Hi, On 16.01.2016 12:40, Ivaylo Dimitrov wrote: Hi, On 16.01.2016 00:48, Tony Lindgren wrote: Hi all, Looks like there's some issue with the USB gadgets and configfs. I'm seeing

Re: USB gadgets with configfs hang reboot

2016-04-18 Thread Ivaylo Dimitrov
On 8.04.2016 23:13, Ivaylo Dimitrov wrote: Hi, On 16.01.2016 12:40, Ivaylo Dimitrov wrote: Hi, On 16.01.2016 00:48, Tony Lindgren wrote: Hi all, Looks like there's some issue with the USB gadgets and configfs. ... (copied from "Re: [PATCH] usb: f_mass_storage: test whether t

Re: USB gadgets with configfs hang reboot

2016-04-08 Thread Ivaylo Dimitrov
Hi, On 16.01.2016 12:40, Ivaylo Dimitrov wrote: Hi, On 16.01.2016 00:48, Tony Lindgren wrote: Hi all, Looks like there's some issue with the USB gadgets and configfs. I'm seeing rmmod of the UDC driver cause a warning and then reboot hangs the system. This happens at least with v4.4

Re: [PATCH] usb: f_mass_storage: test whether thread is running before starting another

2016-04-07 Thread Ivaylo Dimitrov
Hi, On 7.04.2016 17:46, Ivaylo Dimitrov wrote: Hi, On 7.04.2016 17:25, Alan Stern wrote: On Thu, 7 Apr 2016, Michal Nazarewicz wrote: Sounds good to me. I’d love someone to test this patch (I sadly have no way of doing that at the moment) and with that I can resend it with updated

Re: [PATCH] usb: f_mass_storage: test whether thread is running before starting another

2016-04-07 Thread Ivaylo Dimitrov
Hi, On 7.04.2016 17:25, Alan Stern wrote: On Thu, 7 Apr 2016, Michal Nazarewicz wrote: Sounds good to me. I’d love someone to test this patch (I sadly have no way of doing that at the moment) and with that I can resend it with updated message. Ivaylo should be able to try it. I

Re: USB gadgets with configfs hang reboot

2016-04-04 Thread Ivaylo Dimitrov
Hi, On 4.04.2016 15:57, Michal Nazarewicz wrote: On Sat, Apr 02 2016, Alan Stern wrote: On Sat, 2 Apr 2016, Michal Nazarewicz wrote: Because of all that, I think the best course of action is to just check whether the thread is running and conditionally start it in fsg_bind, i.e.: ---

Re: USB gadgets with configfs hang reboot

2016-03-31 Thread Ivaylo Dimitrov
On 30.03.2016 22:25, Alan Stern wrote: On Wed, 30 Mar 2016, Ivaylo Dimitrov wrote: seems to be created twice :). Maybe the problem is that the first time musb-hdrc is probed it fails with -EPROBE_DEFER, however that failure is after gadget drivers got loaded and noone unloads them. gadget

Re: USB gadgets with configfs hang reboot

2016-03-30 Thread Ivaylo Dimitrov
On 30.03.2016 21:50, Ivaylo Dimitrov wrote: On 30.03.2016 17:01, Ivaylo Dimitrov wrote: On 30.03.2016 16:38, Felipe Balbi wrote: Hi, Ivaylo Dimitrov <ivo.g.dimitrov...@gmail.com> writes: Ivaylo Dimitrov <ivo.g.dimitrov...@gmail.com> writes: Ivaylo Dimitrov <

Re: USB gadgets with configfs hang reboot

2016-03-30 Thread Ivaylo Dimitrov
On 30.03.2016 16:38, Felipe Balbi wrote: Hi, Ivaylo Dimitrov <ivo.g.dimitrov...@gmail.com> writes: Ivaylo Dimitrov <ivo.g.dimitrov...@gmail.com> writes: Ivaylo Dimitrov <ivo.g.dimitrov...@gmail.com> writes: Ivaylo Dimitrov <ivo.g.dimitrov...@gmail.com> writes: On

Re: USB gadgets with configfs hang reboot

2016-03-30 Thread Ivaylo Dimitrov
Hi, On 30.03.2016 13:22, Felipe Balbi wrote: Hi, Ivaylo Dimitrov <ivo.g.dimitrov...@gmail.com> writes: Ivaylo Dimitrov <ivo.g.dimitrov...@gmail.com> writes: Ivaylo Dimitrov <ivo.g.dimitrov...@gmail.com> writes: On 16.01.2016 12:40, Ivaylo Dimitrov wrote: Hi, On 16.0

Re: USB gadgets with configfs hang reboot

2016-03-24 Thread Ivaylo Dimitrov
Hi, On 24.03.2016 09:11, Felipe Balbi wrote: Hi, Ivaylo Dimitrov <ivo.g.dimitrov...@gmail.com> writes: Ivaylo Dimitrov <ivo.g.dimitrov...@gmail.com> writes: On 16.01.2016 12:40, Ivaylo Dimitrov wrote: Hi, On 16.01.2016 00:48, Tony Lindgren wrote: Hi all, Looks like there'

Re: USB gadgets with configfs hang reboot

2016-03-24 Thread Ivaylo Dimitrov
Hi, On 24.03.2016 08:50, Felipe Balbi wrote: Hi, Ivaylo Dimitrov <ivo.g.dimitrov...@gmail.com> writes: On 16.01.2016 12:40, Ivaylo Dimitrov wrote: Hi, On 16.01.2016 00:48, Tony Lindgren wrote: Hi all, Looks like there's some issue with the USB gadgets and configfs. I'm seeing

Re: USB gadgets with configfs hang reboot

2016-03-23 Thread Ivaylo Dimitrov
Hi On 16.01.2016 12:40, Ivaylo Dimitrov wrote: Hi, On 16.01.2016 00:48, Tony Lindgren wrote: Hi all, Looks like there's some issue with the USB gadgets and configfs. I'm seeing rmmod of the UDC driver cause a warning and then reboot hangs the system. This happens at least with v4.4

Re: Nokia N900: musb is in wrong state after boot

2016-01-21 Thread Ivaylo Dimitrov
On 21.01.2016 12:23, Pali Rohár wrote: You probably forgot to specify page in PDF or other location where is that PHY interrupt. As I wrote I tried to find it, but do not see it there. Oh, sorry, I misunderstood what you wrote - I was under the impression that you can't find the

Re: Nokia N900: musb is in wrong state after boot

2016-01-21 Thread Ivaylo Dimitrov
On 21.01.2016 10:40, Pali Rohár wrote: I do not know now. I tried to find it in N900 schemantics, but do not see it. CCing Joerg, do you know? http://plan9.stanleylieber.com/hardware/n900/n900.schematics.pdf -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the

Re: [PATCH] usb: gadget: nokia: Add mass storage driver to g_nokia

2015-02-07 Thread Ivaylo Dimitrov
On 2.02.2015 21:14, Felipe Balbi wrote: On Mon, Feb 02, 2015 at 08:07:51PM +0100, Pali Rohár wrote: On Monday 02 February 2015 20:01:11 Felipe Balbi wrote: Hi, On Mon, Feb 02, 2015 at 07:58:59PM +0100, Pali Rohár wrote: On Monday 02 February 2015 19:54:58 Felipe Balbi wrote: Hi, On Sat,

Re: [PATCH] usb: gadget: nokia: Add mass storage driver to g_nokia

2015-02-07 Thread Ivaylo Dimitrov
Hi, On 7.02.2015 20:01, Ivaylo Dimitrov wrote: On 2.02.2015 21:14, Felipe Balbi wrote: On Mon, Feb 02, 2015 at 08:07:51PM +0100, Pali Rohár wrote: On Monday 02 February 2015 20:01:11 Felipe Balbi wrote: Hi, On Mon, Feb 02, 2015 at 07:58:59PM +0100, Pali Rohár wrote: On Monday 02

[PATCH] usb: musb: Fix obex in g_nokia.ko causing kernel panic

2014-02-06 Thread Ivaylo Dimitrov
dump is from 3.12-rc5 kernel Reported-by: Pali Rohár pali.ro...@gmail.com Signed-off-by: Ivaylo Dimitrov ivo.g.dimitrov...@gmail.com --- drivers/usb/musb/omap2430.c |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c index 2a408cd..8aa59a2

Re: BUG: usb: obex in g_nokia.ko causing kernel panic

2014-02-05 Thread Ivaylo Dimitrov
Hi Felipe, cool, I'll send this during the -rc and Cc stable, then I'll manually backport it to stable later. PING! I still do not see this patch in linus tree. What happened? -- Pali Rohár pali.ro...@gmail.com BUMP Is there any problem with above patch? If you are short on time or