Re: [PATCH v6 02/27] of: dynamic: Fix overlayed devices not probing because of fw_devlink
From: Rob Herring (Arm)
Date: Tue Apr 07 2026 - 14:10:49 EST
On Wed, 25 Mar 2026 15:35:29 +0100, Herve Codina wrote:
> From: Saravana Kannan <saravanak@xxxxxxxxxx>
>
> When an overlay is applied, if the target device has already probed
> successfully and bound to a device, then some of the fw_devlink logic
> that ran when the device was probed needs to be rerun. This allows newly
> created dangling consumers of the overlayed device tree nodes to be
> moved to become consumers of the target device.
>
> Fixes: 1a50d9403fb9 ("treewide: Fix probing of devices in DT overlays")
> Reported-by: Herve Codina <herve.codina@xxxxxxxxxxx>
> Closes: https://lore.kernel.org/lkml/CAMuHMdXEnSD4rRJ-o90x4OprUacN_rJgyo8x6=9F9rZ+-KzjOg@xxxxxxxxxxxxxx/
> Closes: https://lore.kernel.org/all/20240221095137.616d2aaa@xxxxxxxxxxx/
> Closes: https://lore.kernel.org/lkml/20240312151835.29ef62a0@xxxxxxxxxxx/
> Signed-off-by: Saravana Kannan <saravanak@xxxxxxxxxx>
> Link: https://lore.kernel.org/lkml/20240411235623.1260061-3-saravanak@xxxxxxxxxx/
> [Herve: Rebase on top of recent kernel]
> [Herve: Add the call to driver_deferred_probe_trigger()]
> Signed-off-by: Herve Codina <herve.codina@xxxxxxxxxxx>
> Tested-by: Kalle Niemi <kaleposti@xxxxxxxxx>
> Tested-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> ---
> drivers/base/core.c | 83 +++++++++++++++++++++++++++++++++++++-----
> drivers/of/overlay.c | 15 ++++++++
> include/linux/fwnode.h | 1 +
> 3 files changed, 90 insertions(+), 9 deletions(-)
>
Acked-by: Rob Herring (Arm) <robh@xxxxxxxxxx>