Re: [RFC] USB: EHCI: hot-fix OMAP and Orion multiplatform config

2013-03-18 Thread Arnd Bergmann
On Monday 18 March 2013, Arnaud Patard wrote: > Arnd Bergmann writes: > > Sure, it's your decision. I just don't want to be accused of abandoning the > > issue that I caused. It's not strictly a regression because no configuration > > that was working in 3.8 is broken in 3.9, and embedded systems

Re: [RFC] USB: EHCI: hot-fix OMAP and Orion multiplatform config

2013-03-18 Thread Rtp
Arnd Bergmann writes: Hi, > On Saturday 16 March 2013, Greg Kroah-Hartman wrote: >> On Fri, Mar 15, 2013 at 09:13:52PM +, Arnd Bergmann wrote: >> > On Friday 15 March 2013, Greg Kroah-Hartman wrote: >> > > > Unless something is changed, this patch won't get into 3.9-final. >> > > > Do you

Re: [RFC] USB: EHCI: hot-fix OMAP and Orion multiplatform config

2013-03-18 Thread Alan Stern
On Fri, 15 Mar 2013, Arnd Bergmann wrote: > > Instead of adding these tests for non-NULL pdata all over the place, > > you could define a static structure with default settings and store a > > pointer to it if pdata wasn't set initially. > > Yes, good idea. Here is a new version. Maybe Alexey o

Re: [RFC] USB: EHCI: hot-fix OMAP and Orion multiplatform config

2013-03-18 Thread Arnd Bergmann
On Saturday 16 March 2013, Greg Kroah-Hartman wrote: > On Fri, Mar 15, 2013 at 09:13:52PM +, Arnd Bergmann wrote: > > On Friday 15 March 2013, Greg Kroah-Hartman wrote: > > > > Unless something is changed, this patch won't get into 3.9-final. > > > > Do you want Greg to move it to his usb-lin

Re: [RFC] USB: EHCI: hot-fix OMAP and Orion multiplatform config

2013-03-15 Thread Greg Kroah-Hartman
On Fri, Mar 15, 2013 at 09:13:52PM +, Arnd Bergmann wrote: > On Friday 15 March 2013, Greg Kroah-Hartman wrote: > > > Unless something is changed, this patch won't get into 3.9-final. > > > Do you want Greg to move it to his usb-linus branch? > > > > It's a bit too "big" for 3.9-final, sorry

Re: [RFC] USB: EHCI: hot-fix OMAP and Orion multiplatform config

2013-03-15 Thread Sergei Shtylyov
Hello. On 03/16/2013 12:11 AM, Arnd Bergmann wrote: On Friday 15 March 2013, Sergei Shtylyov wrote: a) Apply Roger's patch for 3.9, and add my "USB: EHCI: DT support for generic bus glue" patch on top after it has been tested Arnd, sorry, where can I find this patch? Archive search

Re: [RFC] USB: EHCI: hot-fix OMAP and Orion multiplatform config

2013-03-15 Thread Arnd Bergmann
On Friday 15 March 2013, Greg Kroah-Hartman wrote: > > Unless something is changed, this patch won't get into 3.9-final. > > Do you want Greg to move it to his usb-linus branch? > > It's a bit too "big" for 3.9-final, sorry. Would you consider the hot fix at the start of this thread for 3.9 the

Re: [RFC] USB: EHCI: hot-fix OMAP and Orion multiplatform config

2013-03-15 Thread Arnd Bergmann
On Friday 15 March 2013, Sergei Shtylyov wrote: > > > > a) Apply Roger's patch for 3.9, and add my "USB: EHCI: DT support > > for generic bus glue" patch on top after it has been tested > > Arnd, sorry, where can I find this patch? Archive search doesn't > turn up anything... It's in thi

Re: [RFC] USB: EHCI: hot-fix OMAP and Orion multiplatform config

2013-03-15 Thread Sergei Shtylyov
Hello. On 03/15/2013 11:15 PM, Arnd Bergmann wrote: On Friday 15 March 2013, Alan Stern wrote: I just got an automated message from Greg: -- This is a note to let you know that I've just added the patch titled USB:

Re: [RFC] USB: EHCI: hot-fix OMAP and Orion multiplatform config

2013-03-15 Thread Arnd Bergmann
On Friday 15 March 2013, Alan Stern wrote: > I just got an automated message from Greg: > > -- > This is a note to let you know that I've just added the patch titled > > USB: EHCI: split ehci-omap out to a separate driver

Re: [RFC] USB: EHCI: hot-fix OMAP and Orion multiplatform config

2013-03-15 Thread Arnd Bergmann
On Friday 15 March 2013, Alan Stern wrote: > On Fri, 15 Mar 2013, Arnd Bergmann wrote: > > @@ -89,12 +90,17 @@ static int ehci_platform_probe(struct platform_device > > *dev) > > return -ENXIO; > > } > > > > - if (pdata->power_on) { > > + if (pdata && pdata->power_on) { > >

Re: [RFC] USB: EHCI: hot-fix OMAP and Orion multiplatform config

2013-03-15 Thread Greg Kroah-Hartman
On Fri, Mar 15, 2013 at 03:19:08PM -0400, Alan Stern wrote: > On Fri, 15 Mar 2013, Arnd Bergmann wrote: > > > On Friday 15 March 2013, Alan Stern wrote: > > > Roger just submitted my patch to split out ehci-omap. > > > > Ok, if we can merge that for 3.9, the main issue will be resolved, because >

Re: [RFC] USB: EHCI: hot-fix OMAP and Orion multiplatform config

2013-03-15 Thread Alan Stern
On Fri, 15 Mar 2013, Arnd Bergmann wrote: > On Friday 15 March 2013, Alan Stern wrote: > > Roger just submitted my patch to split out ehci-omap. > > Ok, if we can merge that for 3.9, the main issue will be resolved, because > an OMAP+Orion config is much more interesting in practice than adding >

Re: [RFC] USB: EHCI: hot-fix OMAP and Orion multiplatform config

2013-03-15 Thread Alan Stern
On Fri, 15 Mar 2013, Arnd Bergmann wrote: > On Friday 15 March 2013, Alan Stern wrote: > > Roger just submitted my patch to split out ehci-omap. > > Ok, if we can merge that for 3.9, the main issue will be resolved, because > an OMAP+Orion config is much more interesting in practice than adding >

Re: [RFC] USB: EHCI: hot-fix OMAP and Orion multiplatform config

2013-03-15 Thread Arnd Bergmann
On Friday 15 March 2013, Alan Stern wrote: > Roger just submitted my patch to split out ehci-omap. Ok, if we can merge that for 3.9, the main issue will be resolved, because an OMAP+Orion config is much more interesting in practice than adding VT8500 to the mix. An alternative for VT8500 would be

Re: [RFC] USB: EHCI: hot-fix OMAP and Orion multiplatform config

2013-03-15 Thread Alan Stern
On Fri, 15 Mar 2013, Arnd Bergmann wrote: > A number of ARM platforms were changed in linux-3.9 so they can be enabled > at a single kernel configuration. Unfortunately, the necessary changes for > the EHCI driver were not ready in time and the first attempt to split out > the EHCI bus glues into

Re: [RFC] USB: EHCI: hot-fix OMAP and Orion multiplatform config

2013-03-15 Thread Arnd Bergmann
On Friday 15 March 2013, Arnd Bergmann wrote: > @@ -1409,10 +1409,20 @@ static int __init ehci_hcd_init(void) > if (retval < 0) > goto clean4; > #endif > + > +#ifdef OMAP_PLATFORM_DRIVER > + retval = platform_driver_register(&OMAP_PLATFORM_DRIVER); > + if (retva

[RFC] USB: EHCI: hot-fix OMAP and Orion multiplatform config

2013-03-15 Thread Arnd Bergmann
A number of ARM platforms were changed in linux-3.9 so they can be enabled at a single kernel configuration. Unfortunately, the necessary changes for the EHCI driver were not ready in time and the first attempt to split out the EHCI bus glues into separate modules had to get reverted before the mer