Message ID | 20180911150610.27510-1-laurent.pinchart@ideasonboard.com (mailing list archive) |
---|---|
Headers | show |
Series | Fix OMAP EHCI probe & assorted cleanups | expand |
* Laurent Pinchart <laurent.pinchart@ideasonboard.com> [180911 15:10]: > Hello, > > This series fixes a v4.19-rc1 regression that results in OMAP EHCI failing to > probe (patch 1/3) and then moves on to cleaning up related code (patches 2/3 > and 3/3). > > The first patch is a regression fix and should thus be merged before v4.19. > The other two patches can wait until v4.20. Hmm can you please check again with this patch applied: "[PATCH] mfd: omap-usb-host: Fix dts probe of children" That was supposed to be queued for v4.18 but fell through the cracks and I only recently noticed it but Lee has it tagged now for v4.19-rc series. But maybe there are additional issues.. > Tony, as patch 1/3 fixes a problem introduced by one of your DT changes, could > you please review it ? Out of curiosity, is ethernet on the Pandaboard not > part of your regression tests ? Sorry not any longer.. I've switched over to wlan based setup for PM testing: 1. u-boot downloads kernel dtb and modules.tar.gz and writes modules.tar.gz to MMC card 2. on kernel boot, first modules.tar.gz is unpacked 3. distro brings up wlan but no USB ether So I can now test also PM on pandaboard-es. I do have ohci enabled on droid4 though for mdm6600 modem, but usually have ehci disabled as the w3glte modem on ehci does not yet work with mainline kernel. > Lee, could you then please make sure the patch gets to mainline before v4.19 > final ? Let's first check what all is needed, I'll test here too. Regards, Tony
* Tony Lindgren <tony@atomide.com> [180911 15:21]: > * Laurent Pinchart <laurent.pinchart@ideasonboard.com> [180911 15:10]: > > Tony, as patch 1/3 fixes a problem introduced by one of your DT changes, could > > you please review it ? Out of curiosity, is ethernet on the Pandaboard not > > part of your regression tests ? > > Sorry not any longer.. I've switched over to wlan based > setup for PM testing: > > 1. u-boot downloads kernel dtb and modules.tar.gz and writes > modules.tar.gz to MMC card To clarify, u-boot downloads kernel, dtb and modules.tar.gz over USB Ethernet and writes modules.tar.gz to MMC card. > 2. on kernel boot, first modules.tar.gz is unpacked > > 3. distro brings up wlan but no USB ether > > So I can now test also PM on pandaboard-es. I do have ohci > enabled on droid4 though for mdm6600 modem, but usually have > ehci disabled as the w3glte modem on ehci does not yet work > with mainline kernel. > > > Lee, could you then please make sure the patch gets to mainline before v4.19 > > final ? > > Let's first check what all is needed, I'll test here too. Yup with "[PATCH] mfd: omap-usb-host: Fix dts probe of children" usb Ethernet works just fine for me with v4.19-rc3. So it seems that then Lauren't changes can be done as nice clean-up for v4.20. Regards, Tony
Hi Tony, On Tuesday, 11 September 2018 18:16:41 EEST Tony Lindgren wrote: > * Laurent Pinchart <laurent.pinchart@ideasonboard.com> [180911 15:10]: > > Hello, > > > > This series fixes a v4.19-rc1 regression that results in OMAP EHCI failing > > to probe (patch 1/3) and then moves on to cleaning up related code > > (patches 2/3 and 3/3). > > > > The first patch is a regression fix and should thus be merged before > > v4.19. The other two patches can wait until v4.20. > > Hmm can you please check again with this patch applied: > > "[PATCH] mfd: omap-usb-host: Fix dts probe of children" This fixes the issue for me. Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > That was supposed to be queued for v4.18 but fell through the > cracks and I only recently noticed it but Lee has it tagged > now for v4.19-rc series. > > But maybe there are additional issues.. I think we can go one step further and avoid using fs_initcall, but that can wait for v4.20. What's your opinion on that ? If you agree I'll resubmit this series rebased on top of the aforementioned patch. > > Tony, as patch 1/3 fixes a problem introduced by one of your DT changes, > > could you please review it ? Out of curiosity, is ethernet on the > > Pandaboard not part of your regression tests ? > > Sorry not any longer.. I've switched over to wlan based > setup for PM testing: > > 1. u-boot downloads kernel dtb and modules.tar.gz and writes > modules.tar.gz to MMC card > > 2. on kernel boot, first modules.tar.gz is unpacked > > 3. distro brings up wlan but no USB ether > > So I can now test also PM on pandaboard-es. I do have ohci > enabled on droid4 though for mdm6600 modem, but usually have > ehci disabled as the w3glte modem on ehci does not yet work > with mainline kernel. :-/ If you have a test script that analyzes the kernel log, it would be useful to add a check to verify that the USB ethernet interface chip is detected. That would prevent the regression we're seeing here. > > Lee, could you then please make sure the patch gets to mainline before > > v4.19 final ? > > Let's first check what all is needed, I'll test here too.
* Laurent Pinchart <laurent.pinchart@ideasonboard.com> [180911 16:12]: > On Tuesday, 11 September 2018 18:16:41 EEST Tony Lindgren wrote: > > * Laurent Pinchart <laurent.pinchart@ideasonboard.com> [180911 15:10]: > > > Hello, > > > > > > This series fixes a v4.19-rc1 regression that results in OMAP EHCI failing > > > to probe (patch 1/3) and then moves on to cleaning up related code > > > (patches 2/3 and 3/3). > > > > > > The first patch is a regression fix and should thus be merged before > > > v4.19. The other two patches can wait until v4.20. > > > > Hmm can you please check again with this patch applied: > > > > "[PATCH] mfd: omap-usb-host: Fix dts probe of children" > > This fixes the issue for me. > > Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> OK good to hear. > > That was supposed to be queued for v4.18 but fell through the > > cracks and I only recently noticed it but Lee has it tagged > > now for v4.19-rc series. > > > > But maybe there are additional issues.. > > I think we can go one step further and avoid using fs_initcall, but that can > wait for v4.20. What's your opinion on that ? If you agree I'll resubmit this > series rebased on top of the aforementioned patch. Yes sounds good to me. Actually with ti-sysc we're probing the interconnect target modules at module_init time, so any children will only get probed after that and the fs_initcall is not doing anything before that mhuwhaaaahaa. But yeah hopefully the fs_initcall is no longer needed with device tree based booting even before we have all the dts files using ti-sysc. > > > Tony, as patch 1/3 fixes a problem introduced by one of your DT changes, > > > could you please review it ? Out of curiosity, is ethernet on the > > > Pandaboard not part of your regression tests ? > > > > Sorry not any longer.. I've switched over to wlan based > > setup for PM testing: > > > > 1. u-boot downloads kernel dtb and modules.tar.gz and writes > > modules.tar.gz to MMC card > > > > 2. on kernel boot, first modules.tar.gz is unpacked > > > > 3. distro brings up wlan but no USB ether > > > > So I can now test also PM on pandaboard-es. I do have ohci > > enabled on droid4 though for mdm6600 modem, but usually have > > ehci disabled as the w3glte modem on ehci does not yet work > > with mainline kernel. > > :-/ If you have a test script that analyzes the kernel log, it would be useful > to add a check to verify that the USB ethernet interface chip is detected. > That would prevent the regression we're seeing here. Yeah sorry about the regression. Hrm well it goes back to the droid4 lcd patches again that I've been carrying along :) I did not notice this was still pending too buried into the pile I was carrying until recently.. The original fix was already sent back in April. I in fact worked all summer using Linux next (working) snapshots on droid4 with a lapdock over ssh and mdm6600 modem on it's ohci bus being my main connection. So the *hci is getting tested by real use in this case, no need to analyze kernel logs unless something goes wrong. Regards, Tony
Hi Tony, On Tuesday, 11 September 2018 19:25:38 EEST Tony Lindgren wrote: > * Laurent Pinchart <laurent.pinchart@ideasonboard.com> [180911 16:12]: > > On Tuesday, 11 September 2018 18:16:41 EEST Tony Lindgren wrote: > >> * Laurent Pinchart <laurent.pinchart@ideasonboard.com> [180911 15:10]: > >>> Hello, > >>> > >>> This series fixes a v4.19-rc1 regression that results in OMAP EHCI > >>> failing to probe (patch 1/3) and then moves on to cleaning up related > >>> code (patches 2/3 and 3/3). > >>> > >>> The first patch is a regression fix and should thus be merged before > >>> v4.19. The other two patches can wait until v4.20. > >> > >> Hmm can you please check again with this patch applied: > >> > >> "[PATCH] mfd: omap-usb-host: Fix dts probe of children" > > > > This fixes the issue for me. > > > > Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > > OK good to hear. The fix is still not in v4.19-rc4 :-S Could you make sure it doesn't miss v4.19 ? > >> That was supposed to be queued for v4.18 but fell through the > >> cracks and I only recently noticed it but Lee has it tagged > >> now for v4.19-rc series. > >> > >> But maybe there are additional issues.. > > > > I think we can go one step further and avoid using fs_initcall, but that > > can wait for v4.20. What's your opinion on that ? If you agree I'll > > resubmit this series rebased on top of the aforementioned patch. > > Yes sounds good to me. Actually with ti-sysc we're probing the > interconnect target modules at module_init time, so any children > will only get probed after that and the fs_initcall is not > doing anything before that mhuwhaaaahaa. > > But yeah hopefully the fs_initcall is no longer needed with > device tree based booting even before we have all the dts > files using ti-sysc. > > >>> Tony, as patch 1/3 fixes a problem introduced by one of your DT > >>> changes, > >>> could you please review it ? Out of curiosity, is ethernet on the > >>> Pandaboard not part of your regression tests ? > >> > >> Sorry not any longer.. I've switched over to wlan based > >> setup for PM testing: > >> > >> 1. u-boot downloads kernel dtb and modules.tar.gz and writes > >> modules.tar.gz to MMC card > >> > >> 2. on kernel boot, first modules.tar.gz is unpacked > >> > >> 3. distro brings up wlan but no USB ether > >> > >> So I can now test also PM on pandaboard-es. I do have ohci > >> enabled on droid4 though for mdm6600 modem, but usually have > >> ehci disabled as the w3glte modem on ehci does not yet work > >> with mainline kernel. > > > > :-/ If you have a test script that analyzes the kernel log, it would be > > useful to add a check to verify that the USB ethernet interface chip is > > detected. That would prevent the regression we're seeing here. > > Yeah sorry about the regression. > > Hrm well it goes back to the droid4 lcd patches again that I've > been carrying along :) I did not notice this was still pending > too buried into the pile I was carrying until recently.. The > original fix was already sent back in April. > > I in fact worked all summer using Linux next (working) snapshots > on droid4 with a lapdock over ssh and mdm6600 modem on it's ohci > bus being my main connection. So the *hci is getting tested by > real use in this case, no need to analyze kernel logs unless > something goes wrong.
On Sun, 23 Sep 2018, Laurent Pinchart wrote: > Hi Tony, > > On Tuesday, 11 September 2018 19:25:38 EEST Tony Lindgren wrote: > > * Laurent Pinchart <laurent.pinchart@ideasonboard.com> [180911 16:12]: > > > On Tuesday, 11 September 2018 18:16:41 EEST Tony Lindgren wrote: > > >> * Laurent Pinchart <laurent.pinchart@ideasonboard.com> [180911 15:10]: > > >>> Hello, > > >>> > > >>> This series fixes a v4.19-rc1 regression that results in OMAP EHCI > > >>> failing to probe (patch 1/3) and then moves on to cleaning up related > > >>> code (patches 2/3 and 3/3). > > >>> > > >>> The first patch is a regression fix and should thus be merged before > > >>> v4.19. The other two patches can wait until v4.20. > > >> > > >> Hmm can you please check again with this patch applied: > > >> > > >> "[PATCH] mfd: omap-usb-host: Fix dts probe of children" > > > > > > This fixes the issue for me. > > > > > > Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > > > > OK good to hear. > > The fix is still not in v4.19-rc4 :-S Could you make sure it doesn't miss > v4.19 ? I'm going to send these today: mfd: omap-usb-host: Fix dts probe of children mfd: da9063: Fix DT probing with constraints
On Sun, 23 Sep 2018, Lee Jones wrote: > On Sun, 23 Sep 2018, Laurent Pinchart wrote: > > > Hi Tony, > > > > On Tuesday, 11 September 2018 19:25:38 EEST Tony Lindgren wrote: > > > * Laurent Pinchart <laurent.pinchart@ideasonboard.com> [180911 16:12]: > > > > On Tuesday, 11 September 2018 18:16:41 EEST Tony Lindgren wrote: > > > >> * Laurent Pinchart <laurent.pinchart@ideasonboard.com> [180911 15:10]: > > > >>> Hello, > > > >>> > > > >>> This series fixes a v4.19-rc1 regression that results in OMAP EHCI > > > >>> failing to probe (patch 1/3) and then moves on to cleaning up related > > > >>> code (patches 2/3 and 3/3). > > > >>> > > > >>> The first patch is a regression fix and should thus be merged before > > > >>> v4.19. The other two patches can wait until v4.20. > > > >> > > > >> Hmm can you please check again with this patch applied: > > > >> > > > >> "[PATCH] mfd: omap-usb-host: Fix dts probe of children" > > > > > > > > This fixes the issue for me. > > > > > > > > Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > > > > > > OK good to hear. > > > > The fix is still not in v4.19-rc4 :-S Could you make sure it doesn't miss > > v4.19 ? > > I'm going to send these today: > > mfd: omap-usb-host: Fix dts probe of children > mfd: da9063: Fix DT probing with constraints Greg just pulled.
Hi Lee, On Sunday, 23 September 2018 18:38:28 EEST Lee Jones wrote: > On Sun, 23 Sep 2018, Lee Jones wrote: > > On Sun, 23 Sep 2018, Laurent Pinchart wrote: > >> On Tuesday, 11 September 2018 19:25:38 EEST Tony Lindgren wrote: > >>> * Laurent Pinchart [180911 16:12]: > >>>> On Tuesday, 11 September 2018 18:16:41 EEST Tony Lindgren wrote: > >>>>> * Laurent Pinchart [180911 15:10]: > >>>>>> Hello, > >>>>>> > >>>>>> This series fixes a v4.19-rc1 regression that results in OMAP EHCI > >>>>>> failing to probe (patch 1/3) and then moves on to cleaning up > >>>>>> related code (patches 2/3 and 3/3). > >>>>>> > >>>>>> The first patch is a regression fix and should thus be merged > >>>>>> before v4.19. The other two patches can wait until v4.20. > >>>>> > >>>>> Hmm can you please check again with this patch applied: > >>>>> > >>>>> "[PATCH] mfd: omap-usb-host: Fix dts probe of children" > >>>> > >>>> This fixes the issue for me. > >>> > >>>> Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > >>> > >>> OK good to hear. > >> > >> The fix is still not in v4.19-rc4 :-S Could you make sure it doesn't > >> miss v4.19 ? > > > > I'm going to send these today: > > mfd: omap-usb-host: Fix dts probe of children > > mfd: da9063: Fix DT probing with constraints > > Greg just pulled. Thank you, much appreciated.