Re: usb: dwc2: regression during boot on Raspberry Pi

2015-11-12 Thread John Youn
On 11/11/2015 11:13 PM, Stefan Wahren wrote: > Am 12.11.2015 um 05:39 schrieb John Youn: >> On 11/11/2015 3:20 PM, Stefan Wahren wrote: >>> Hi John, >>> >>> Am 11.11.2015 um 00:21 schrieb John Youn: On 11/9/2015 12:43 PM, Stefan Wahren wrote: > Hi, The gadget side required it but

Re: usb: dwc2: regression during boot on Raspberry Pi

2015-11-11 Thread Stefan Wahren
Am 12.11.2015 um 05:39 schrieb John Youn: On 11/11/2015 3:20 PM, Stefan Wahren wrote: Hi John, Am 11.11.2015 um 00:21 schrieb John Youn: On 11/9/2015 12:43 PM, Stefan Wahren wrote: Hi, The gadget side required it but it looks like the host side didn't. When Marek did the low-level hw refac

Re: usb: dwc2: regression during boot on Raspberry Pi

2015-11-11 Thread John Youn
On 11/11/2015 3:20 PM, Stefan Wahren wrote: > Hi John, > > Am 11.11.2015 um 00:21 schrieb John Youn: >> On 11/9/2015 12:43 PM, Stefan Wahren wrote: >>> Hi, >> >> The gadget side required it but it looks like the host side >> didn't. >> >> When Marek did the low-level hw refactor, some of the gadge

Re: usb: dwc2: regression during boot on Raspberry Pi

2015-11-11 Thread Stefan Wahren
Am 11.11.2015 um 22:58 schrieb John Youn: On 11/8/2015 2:13 AM, Stefan Wahren wrote: --->8 diff --git a/drivers/usb/dwc2/platform.c b/drivers/usb/dwc2/platform.c index 5859b0f..0e80087 100644 --- a/drivers/usb/dwc2/platform.c ++

Re: usb: dwc2: regression during boot on Raspberry Pi

2015-11-11 Thread Stefan Wahren
Hi John, Am 11.11.2015 um 00:21 schrieb John Youn: On 11/9/2015 12:43 PM, Stefan Wahren wrote: Hi, The gadget side required it but it looks like the host side didn't. When Marek did the low-level hw refactor, some of the gadget stuff was brought up to the common layer, including the returnin

Re: usb: dwc2: regression during boot on Raspberry Pi

2015-11-11 Thread John Youn
On 11/8/2015 2:13 AM, Stefan Wahren wrote: > Hi Stephen, > > Am 08.11.2015 um 06:06 schrieb Stephen Warren: >> On 11/07/2015 05:16 PM, Stefan Wahren wrote: >>> Hi, >>> [...] >>>* phys (optional) >>>* phy-names (optional) >>> >>> So here are my questions: >>> >>> How to fix the kernel oops

Re: usb: dwc2: regression during boot on Raspberry Pi

2015-11-11 Thread John Youn
On 11/11/2015 9:57 AM, Alexander Aring wrote: > Hi, > > On Tue, Nov 10, 2015 at 11:21:56PM +, John Youn wrote: >> On 11/9/2015 12:43 PM, Stefan Wahren wrote: >>> Hi, >>> >>> Am 09.11.2015 um 12:53 schrieb Marek Szyprowski: Hello, This change looks reasonable, I remember the

Re: usb: dwc2: regression during boot on Raspberry Pi

2015-11-11 Thread Alexander Aring
Hi, On Tue, Nov 10, 2015 at 11:21:56PM +, John Youn wrote: > On 11/9/2015 12:43 PM, Stefan Wahren wrote: > > Hi, > > > > Am 09.11.2015 um 12:53 schrieb Marek Szyprowski: > >> Hello, > >> > >> > >> This change looks reasonable, I remember the similar issue was in > >> s3c-hsotg driver > >> and

Re: usb: dwc2: regression during boot on Raspberry Pi

2015-11-10 Thread John Youn
On 11/9/2015 12:43 PM, Stefan Wahren wrote: > Hi, > > Am 09.11.2015 um 12:53 schrieb Marek Szyprowski: >> Hello, >> >> >> This change looks reasonable, I remember the similar issue was in >> s3c-hsotg driver >> and it caused kernel ops on driver probe, when bootloader left dwc2 >> enabled. >> The

Re: usb: dwc2: regression during boot on Raspberry Pi

2015-11-09 Thread Stefan Wahren
Hi, Am 09.11.2015 um 12:53 schrieb Marek Szyprowski: Hello, This change looks reasonable, I remember the similar issue was in s3c-hsotg driver and it caused kernel ops on driver probe, when bootloader left dwc2 enabled. The other way of solving it would be to add irq_set_status_flags(irq, IRQ_

Re: usb: dwc2: regression during boot on Raspberry Pi

2015-11-09 Thread Marek Szyprowski
Hello, On 2015-11-08 11:12, Stefan Wahren wrote: Hi Stephen, Am 08.11.2015 um 06:06 schrieb Stephen Warren: On 11/07/2015 05:16 PM, Stefan Wahren wrote: Hi, [...] * phys (optional) * phy-names (optional) So here are my questions: How to fix the kernel oops in dwc2 driver? Do you kno

Re: usb: dwc2: regression during boot on Raspberry Pi

2015-11-08 Thread Stefan Wahren
Hi Stephen, Am 08.11.2015 um 06:06 schrieb Stephen Warren: On 11/07/2015 05:16 PM, Stefan Wahren wrote: Hi, [...] * phys (optional) * phy-names (optional) So here are my questions: How to fix the kernel oops in dwc2 driver? Do you know exactly what causes the crash; you've bisected to

Re: usb: dwc2: regression during boot on Raspberry Pi

2015-11-07 Thread Stephen Warren
On 11/07/2015 05:16 PM, Stefan Wahren wrote: > Hi, > > i try to run linux-next-20151106 (U-Boot + USB patches from Stephen > Warren) on my Raspberry Pi B rev2 and get a kernel oops (see bootlog at > the end). I bisect the issue to this commit: > > 09a75e8577901489f77a14a3b305a9a1f67bf25b ("usb: d

usb: dwc2: regression during boot on Raspberry Pi

2015-11-07 Thread Stefan Wahren
Hi, i try to run linux-next-20151106 (U-Boot + USB patches from Stephen Warren) on my Raspberry Pi B rev2 and get a kernel oops (see bootlog at the end). I bisect the issue to this commit: 09a75e8577901489f77a14a3b305a9a1f67bf25b ("usb: dwc2: refactor common low-level hw code to platform.c")