Re: [PATCH] driver core: fw_devlink: Print supplier's OF node for a pending sync_state

From: Geert Uytterhoeven

Date: Fri Dec 04 2026 - 03:38:22 EST


On Thu, 3 Dec 2026 at 18:06, Ulf Hansson <ulf.hansson@xxxxxxxxxxxxxxxx> wrote:
> The current message that is printed when a supplier is waiting for a
> pending consumer may in some cases be misleading. More precisely, when a
> supplier represents multiple providers that share the same OF node, one
> expects that it's the provider's device name that is printed, rather than
> the supplier's device name.
>
> Unfortunately fixing this accordingly isn't straightforward, as we don't
> have access to the provider's device at this point. Instead, let's improve
> the situation by printing the name and the unit address for the supplier's
> OF node, as it's a better indication for where the consumer belongs to.
>
> Signed-off-by: Ulf Hansson <ulf.hansson@xxxxxxxxxxxxxxxx>

Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

E.g. on Salvator-XS with R-Car H3 ES2.0:

-genpd_provider ca57-cpu0: sync_state() pending due to ee000000.usb
-renesas-cpg-mssr e6150000.clock-controller: sync_state() pending due
to ee000000.usb
-genpd_provider ca57-cpu0: sync_state() pending due to fe000000.pcie
-renesas-cpg-mssr e6150000.clock-controller: sync_state() pending due
to fe000000.pcie
-genpd_provider ca57-cpu0: sync_state() pending due to ee800000.pcie
-renesas-cpg-mssr e6150000.clock-controller: sync_state() pending due
to ee800000.pcie
-genpd_provider ca57-cpu0: sync_state() pending due to fe860000.imr-lx4
-renesas-cpg-mssr e6150000.clock-controller: sync_state() pending due
to fe860000.imr-lx4
-genpd_provider ca57-cpu0: sync_state() pending due to fe870000.imr-lx4
-renesas-cpg-mssr e6150000.clock-controller: sync_state() pending due
to fe870000.imr-lx4
-genpd_provider ca57-cpu0: sync_state() pending due to fe880000.imr-lx4
-renesas-cpg-mssr e6150000.clock-controller: sync_state() pending due
to fe880000.imr-lx4
-genpd_provider ca57-cpu0: sync_state() pending due to fe890000.imr-lx4
-renesas-cpg-mssr e6150000.clock-controller: sync_state() pending due
to fe890000.imr-lx4
+system-controller@e6180000: sync_state() pending due to ee000000.usb
+clock-controller@e6150000: sync_state() pending due to ee000000.usb
+system-controller@e6180000: sync_state() pending due to fe000000.pcie
+clock-controller@e6150000: sync_state() pending due to fe000000.pcie
+system-controller@e6180000: sync_state() pending due to ee800000.pcie
+clock-controller@e6150000: sync_state() pending due to ee800000.pcie
+system-controller@e6180000: sync_state() pending due to fe860000.imr-lx4
+clock-controller@e6150000: sync_state() pending due to fe860000.imr-lx4
+system-controller@e6180000: sync_state() pending due to fe870000.imr-lx4
+clock-controller@e6150000: sync_state() pending due to fe870000.imr-lx4
+system-controller@e6180000: sync_state() pending due to fe880000.imr-lx4
+clock-controller@e6150000: sync_state() pending due to fe880000.imr-lx4
+system-controller@e6180000: sync_state() pending due to fe890000.imr-lx4
+clock-controller@e6150000: sync_state() pending due to fe890000.imr-lx4

which looks much better, as the Cortex-A57 CPU nodes don't have anything
to do with this, thus confusing the user.

Tested-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Gr{oetje,eeting}s,

Geert


--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds