Thread (3 messages) flat view 3 messages, 3 authors, 6d ago

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

From: "Christophe Leroy (CS GROUP)" <chleroy@kernel.org>
Date: 2026-09-11 05:23:23
Also in: linux-arm-kernel, lkml

On Wed, 09 Sep 2026 19:04:40 +0200, Vincent Jardin wrote:
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

It happens when the fsl-mc bus probe is not deferred, without SMMU:
- the dprc driver is registered at postcore_initcall,
- the DT node is populated at arch_initcall_sync,
- the root DPRC probes right there, before misc_init() has
  registered misc_class at subsys_initcall.

[...]
Applied, thanks!

[1/1] bus: fsl-mc: register the object drivers after misc_class exists
      commit: 7e9023a18eec88b716d8d46a29c4207186fbd828

Best regards,
-- 
Christophe Leroy (CS GROUP) [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help