From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2C8A13CF03B; Tue, 7 Apr 2026 18:06:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775585193; cv=none; b=O80f/U1kBp8uzWs4PhV6LOpVjHEvRs3iARgZokQm7tM17iHUgW1fzDISVhjQcHUSGj2avTbmzIHiyUDzRgWSAEA0c8NgmRWfz0JSMfaG1+w0Wiqh3b80VtNYGOwFvzJWSaO+IBpn/U3PmQXcZkjK8wCLrb39kcNb7Mby7+9VCJk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775585193; c=relaxed/simple; bh=rE/S8sXacEZvPrxZTF9QP8OJ12EbZTJXA+T9P3zUtIs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Er0BQUiDyEz9IX1g8WitzPaFgAJ+PDFlMkFg9rIfdzXvUeV0gs70lCxPJcIrUvG88BkigtpVCVwqd+QU9Nkcp1YwfSyLW4CjgNLHgfANiM0Exz4yLqDhs+DKdwGJ1PcSvDf+LKR8vndNN/DprzOe3pLKZ/KT772Q8EwpwEZc97E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Jjj+5nNZ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Jjj+5nNZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7912CC116C6; Tue, 7 Apr 2026 18:06:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1775585192; bh=rE/S8sXacEZvPrxZTF9QP8OJ12EbZTJXA+T9P3zUtIs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Jjj+5nNZeVO6S/izZL6Hm/LvTGb/DIf7KcD5DEbkT9djs0v3EgNthYfp1MPeI8J8X pkGnv8wxDoY4F7s+XjbQUPTQPi9C7fmzAKEft7MpBX27UBLACrKZ2EWIHd6E14frHZ 0s5Dq1xfyZHj/hMBBJcwqohAtRvfRFeC74YU5kOAoLmuHB4rzBD+6T0PAL2JxhREEW DmV1grH/t06uIFol7CdbzFASJUXuH9fZQyg3c3YVM6wNdU9tWmCQV+0zrAJ8vWTbQV lKR2lOdBAEgAceUpp4zmEtwCfKMWbJFfPnkZWfSnluSR1fzFm26eNaDbC0taoPxqs6 muUxCwHktAJ0w== Date: Tue, 7 Apr 2026 13:06:31 -0500 From: "Rob Herring (Arm)" To: Herve Codina Cc: Daniel Scally , Mark Brown , linux-i2c@vger.kernel.org, Conor Dooley , Sascha Hauer , David Rhodes , Michael Turquette , imx@lists.linux.dev, Arnd Bergmann , Linus Walleij , Thomas Petazzoni , Andy Shevchenko , linux-arm-kernel@lists.infradead.org, linux-sound@vger.kernel.org, linux-acpi@vger.kernel.org, Len Brown , Shawn Guo , Bjorn Helgaas , Ira Weiny , Dave Jiang , Andrew Lunn , Ulf Hansson , Danilo Krummrich , Alison Schofield , linux-pm@vger.kernel.org, linux-clk@vger.kernel.org, linux-cxl@vger.kernel.org, Stephen Boyd , Charles Keepax , linux-spi@vger.kernel.org, patches@opensource.cirrus.com, Saravana Kannan , devicetree@vger.kernel.org, Luca Ceresoli , Fabio Estevam , Wolfram Sang , Pengutronix Kernel Team , Geert Uytterhoeven , linux-kernel@vger.kernel.org, Steen Hegelund , "Rafael J. Wysocki" , driver-core@lists.linux.dev, Jonathan Cameron , Greg Kroah-Hartman , Krzysztof Kozlowski , Saravana Kannan , Heikki Krogerus , Frank Li , Wolfram Sang , Vishal Verma , Sakari Ailus , Dan Williams , Horatiu Vultur , Davidlohr Bueso , Andi Shyti , linux-gpio@vger.kernel.org, Allan Nielsen , Richard Fitzgerald , Kalle Niemi , Matti Vaittinen , Peter Rosin , linux-pci@vger.kernel.org Subject: Re: [PATCH v6 02/27] of: dynamic: Fix overlayed devices not probing because of fw_devlink Message-ID: <177558519048.3200719.13441877339906679105.robh@kernel.org> References: <20260325143555.451852-1-herve.codina@bootlin.com> <20260325143555.451852-3-herve.codina@bootlin.com> Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260325143555.451852-3-herve.codina@bootlin.com> On Wed, 25 Mar 2026 15:35:29 +0100, Herve Codina wrote: > From: Saravana Kannan > > 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 > Closes: https://lore.kernel.org/lkml/CAMuHMdXEnSD4rRJ-o90x4OprUacN_rJgyo8x6=9F9rZ+-KzjOg@mail.gmail.com/ > Closes: https://lore.kernel.org/all/20240221095137.616d2aaa@bootlin.com/ > Closes: https://lore.kernel.org/lkml/20240312151835.29ef62a0@bootlin.com/ > Signed-off-by: Saravana Kannan > Link: https://lore.kernel.org/lkml/20240411235623.1260061-3-saravanak@google.com/ > [Herve: Rebase on top of recent kernel] > [Herve: Add the call to driver_deferred_probe_trigger()] > Signed-off-by: Herve Codina > Tested-by: Kalle Niemi > Tested-by: Geert Uytterhoeven > --- > 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)