RE: [PATCH] Revert "driver core: Use mod_delayed_work to prevent lost deferred probe work"
From: Biju Das
Date: Tue May 26 2026 - 08:19:23 EST
Hi Danilo Krummrich,
> -----Original Message-----
> From: Danilo Krummrich <dakr@xxxxxxxxxx>
> Sent: 26 May 2026 13:10
> Subject: Re: [PATCH] Revert "driver core: Use mod_delayed_work to prevent lost deferred probe work"
>
> On 5/26/26 2:03 PM, Biju wrote:
> > From: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
> >
> > Commit 1137838865bf ("driver core: Use mod_delayed_work to prevent
> > lost deferred probe work") introduced below regression on Renesas
> > SMARC RZ/G2L
> > EVK:
> > class_for_each_device called for class 'devlink' before it was
> > registered
> > WARNING: drivers/base/class.c:415 at
> > class_for_each_device+0x12c/0x13c, CPU#1: kworker/1:1/26
> > class_for_each_device+0x12c/0x13c (P)
> > fw_devlink_probing_done+0x58/0xa0
> > deferred_probe_timeout_work_func+0x5c/0xb8
> > process_one_work+0x150/0x290
> > worker_thread+0x18c/0x300
> > kthread+0x114/0x120
> >
> > Reverting the commit fixes the issue.
> There's already [1], which should also fix the issue.
OK thanks for the fix. I am dropping this patch.
I have tested your fix and it looks good on Renesas
RZ/g2L SMARC EVK platform.
Cheers,
Biju
>
> Thanks,
> Danilo
>
> [1]
> https://lore.kernel.org/driver-core/20260525012340.3860581-1-dakr@xxxxxxxxxx/t/#u