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

From: Thorsten Leemhuis

Date: Tue Dec 01 2026 - 06:54:01 EST




On 12/1/26 12:37, Greg Kroah-Hartman wrote:
> 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,

See "On the BeagleY-AI, this results in a probe loop, which has broken
booting since commit f918e3804498 [...]" quoted above, which is a
7.4-rc1 commit. Or I'm missing something here and making a fool our of
myself with this mail. :-D

Anyway: one more reason why it might be wise to mention commits that
exposed older bugs in "Fixes:" lines.

> and isn't tagged for stable,

Which likely is fine then.
> No, there should not be a rush to resolve an issue that has been present
> since October 2022, we can take our time here :)
Sure, I'd fully agree here if that recent commit wouldn't have exposed
the bug.

Ciao, THorsten