Re: [PATCH] bus: fsl-mc: register the object drivers after misc_class exists
From: Ioana Ciornei
Date: Wed Sep 09 2026 - 12:25:20 EST
On Tue, Sep 01, 2026 at 10:04:37PM +0200, Vincent Jardin via B4 Relay wrote:
> From: Vincent Jardin <vjardin@xxxxxxx>
>
> Unbinding and re-binding the root DPRC fails with:
>
> sysfs: cannot create duplicate filename '/dev/char/10:256'
> misc_register / fsl_mc_uapi_create_device_file /
> dprc_setup / dprc_probe
>
I have no comments on the actual code changes, only that the patch would
benefit from a more complete message.
Please explain a bit when the issue happens (only when the fsl-mc bus
probe is not defered - meaning no smmu). Also mention in the commit
message as well that you are moving the dprc and allocator drivers
registration at the subsys_initcall_sync stage while the misc_init() is
called at subsys_initcall.
Ioana