Re: [PATCH v5 2/2] usb: misc: onboard_usb_dev: don't defer probing after the device is configured

From: Greg Kroah-Hartman

Date: Tue Dec 01 2026 - 06:37:44 EST


On Tue, Dec 01, 2026 at 11:43:35AM +0100, Thorsten Leemhuis wrote:
> On 11/7/26 03:36, James Clark wrote:> onboard_usb_dev breaks the rule
> that a driver must not return
> > -EPROBE_DEFER from its probe after it has registered child devices (see
> > commit fbc35b45f9f6 ("Add documentation on meaning of -EPROBE_DEFER")).
> > Its USB device driver sets generic_subclass, so the generic probe runs
> > first and registers the device's interfaces. onboard_dev_usbdev_probe()
> > then returns -EPROBE_DEFER until the platform device for the onboard
> > device has probed. On the BeagleY-AI, this results in a probe loop,
> > which has broken booting since commit f918e3804498 ("arm64: enable
> > HAVE_SHARED_GPIOS for all ARM64 platforms").
>
> Is this patch still in somebody's to-review queue? It fixes a 7.4-rc1
> regression (the BeagleY-AI stopped booting for James since
> 8bc063641cebf9, which was authored by Matthias Kaehlcke), so it would be
> good to get this fixed before -rc6, as Linus by then wants all known
> regressions to be fixed.

This says it fixes an issue from 6.0, and isn't tagged for stable, which
is why it is way down my review queue.

This "regression" is quite old and so really doesn't belong in -final,
right?

> Or is a quick revert a better option? Or was this fixed already, and I
> just missed this? Or is everybody busy or afk, so we should ask Linus to
> pull this straight from the list?

No, there should not be a rush to resolve an issue that has been present
since October 2022, we can take our time here :)

thanks,

greg k-h