[PATCH] bus: fsl-mc: register the object drivers after misc_class exists

Ioana Ciornei ioana.ciornei at nxp.com
Wed Sep 9 07:24:10 PDT 2026


On Tue, Sep 01, 2026 at 10:04:37PM +0200, Vincent Jardin via B4 Relay wrote:
> From: Vincent Jardin <vjardin at free.fr>
> 
> 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



More information about the linux-arm-kernel mailing list