Re: [PATCH v4 01/29] Revert "treewide: Fix probing of devices in DT overlays"

Herve Codina
2025-11-27T07:25:18Z

Hi Matti, Rob,

...

>
> Seems to be fw_devlink related. I suppose if you turn it off it works?
> There's info about the dependencies in sysfs or maybe debugfs. I don't
> remember the details, but that should help to tell you why things
> aren't probing.

All available links are available the /sys/class/devlink/ directory [1].
You can check them to see if each each provider/consumer are correct.

Also, for each device you can find suppliers [2] the device depends on and
consumers of the device in its device directory [3].
for instance in /sys/bus/platform/devices/foo/ for the foo device.

[1] https://elixir.bootlin.com/linux/v6.18-rc7/source/Documentation/ABI/testing/sysfs-class-devlink
[2] https://elixir.bootlin.com/linux/v6.18-rc7/source/Documentation/ABI/testing/sysfs-devices-supplier
[3] https://elixir.bootlin.com/linux/v6.18-rc7/source/Documentation/ABI/testing/sysfs-devices-consumer

>
> I've dropped the changes for 6.18 for now. No one really seems to be
> in need of them yet AFAICT.

Best regards,
Hervé