Messages in this thread | | | From | Doug Anderson <> | Date | Fri, 20 May 2022 15:43:57 -0700 | Subject | Re: [PATCH] usb: Probe EHCI, OHCI controllers asynchronously |
| |
Hi,
On Wed, May 18, 2022 at 3:04 PM Brian Norris <briannorris@chromium.org> wrote: > > From: Dmitry Torokhov <dtor@chromium.org> > > initcall_debug shows that OHCI controllers take ~60ms to probe on > Rockchip RK3399 systems: > > probe of fe3a0000.usb returned 1 after 58941 usecs > > A few of these can add up to waste non-trivial amounts of time at boot. > > These host controllers don't provide resources to other drivers, so > this shouldn't contribute to exposing race conditions. > > Chrome OS kernels have carried this patch on some systems for a while > without issues. Similar patches have been merged for a variety of (e)MMC > host controllers for similar reasons. > > Signed-off-by: Dmitry Torokhov <dtor@chromium.org> > [Brian: rewrote commit message, refreshed, but retained dtor's original > authorship ] > Signed-off-by: Brian Norris <briannorris@chromium.org> > --- > > drivers/usb/host/ehci-platform.c | 1 + > drivers/usb/host/ohci-platform.c | 1 + > 2 files changed, 2 insertions(+)
Reviewed-by: Douglas Anderson <dianders@chromium.org>
| |