Re: [PATCH v5] driver core: enforce device_lock for driver_match_device()
From: Mark Brown
Date: Tue Jan 20 2026 - 15:05:32 EST
On Tue, Jan 20, 2026 at 07:36:05PM +0100, Danilo Krummrich wrote:
> On Tue Jan 20, 2026 at 6:38 PM CET, Mark Brown wrote:
> > I tried lockdep but didn't see anything different. Instrumenting with
> > printk() tells me it's deadlocking trying to attach arm-smmu on Juno
> > (that's a v1 SMMU on this platform), I'll try to poke further but it'll
> > likely be tomorrow at the earliest.
> Maybe the following diff faking the lock for lockdep helps, as it should keep
> things running, i.e. with this we have the exact same semantics as if we'd
> revert the patch (except for the lockdep check of course).
That does allow us to continue to make progress, the SMMU never manages
to probe AFAICT but we do boot normally.
Attachment:
signature.asc
Description: PGP signature