From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (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 C169B2BF3DB; Mon, 12 Jan 2026 14:47:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768229277; cv=none; b=qxVMK1sLrDhYVSRD242FYT2tC8PdwPqvuUMauOZWdTYKQLwGJUwmsWy6yRCvcpOaP3uOAFSq5cilhpQ1wvr1H4rym8WGd3JMz8S2y0CS+QKpBKL9SX5gJonPNDpiXkqNairuEUlifJqt4PnW4/V9FMo44hksUHXtaJS9Lufetk4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768229277; c=relaxed/simple; bh=nUGXhmxfk4xVstkedOcb8jdC/4d8W+cXsb3tcmVsSFc=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=d9IeY++M+uDmqzNzx1WXgss3JF4UDM+B2nvpSseVIh/wtsgwk/iDqpuwlzbLpPyn1DbwEYzLm8IxvDOoKYF8WY81oF9Yi8AjALldmj37apJfnqMiO6LQLv/vSgpIvP/y3joaFTG7Gj2kP3xbA1eOwHTwTj3CjQivc8Hno1iKj+I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=iUXN7uSf; arc=none smtp.client-ip=185.246.84.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="iUXN7uSf" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 6E8661A27ED; Mon, 12 Jan 2026 14:47:54 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 42F05606FA; Mon, 12 Jan 2026 14:47:54 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id A0B3F103C8A5B; Mon, 12 Jan 2026 15:47:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1768229271; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=q/WLPrz5mCQaWOceOk8Ks2oQ15KuKRHou0wGW5c209g=; b=iUXN7uSfeXgQl4nNnPIxxArDY5Gzbwtk5FBobBJO+ueYTKc1/BEPsvLsksdtAAQpqIsWQO /cnIaP1yp40XU+4otLwInaG3Ccgw4ZjdYuBZpKDSxPUmWLKE7SIJzjlyOttIjV5+FmXYBq R26TBX76EEVjpW2JNaMKjbn9Bg5Hc0m/7+OqUYza1Mg8WIkIk5gJ9KPNwyEZMv8Yjfzikr sTt+xW+RYnH9eZug2OQgC+nbK+tcnBHgnDLk+ZgL/pp++VYX0gvJquvTFjdbT3L5ZBtzCj N8BCh1TaOXz9DcWQNxj+3/dOOdCe3qyYIz/NXGcGMfeq+14pb1zJbp2/pCkjtg== Date: Mon, 12 Jan 2026 15:47:31 +0100 From: Herve Codina To: Saravana Kannan Cc: Matti Vaittinen , Geert Uytterhoeven , Rob Herring , "Rafael J. Wysocki" , Ulf Hansson , Kalle Niemi , linux-arm-kernel@lists.infradead.org, Andrew Lunn , Krzysztof Kozlowski , Conor Dooley , Greg Kroah-Hartman , Danilo Krummrich , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Michael Turquette , Stephen Boyd , Andi Shyti , Wolfram Sang , Peter Rosin , Arnd Bergmann , Bjorn Helgaas , Charles Keepax , Richard Fitzgerald , David Rhodes , Linus Walleij , Mark Brown , Andy Shevchenko , Daniel Scally , Heikki Krogerus , Sakari Ailus , Len Brown , Davidlohr Bueso , Jonathan Cameron , Dave Jiang , Alison Schofield , Vishal Verma , Ira Weiny , Dan Williams , Wolfram Sang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-clk@vger.kernel.org, linux-i2c@vger.kernel.org, linux-pci@vger.kernel.org, linux-sound@vger.kernel.org, patches@opensource.cirrus.com, linux-gpio@vger.kernel.org, linux-pm@vger.kernel.org, linux-spi@vger.kernel.org, linux-acpi@vger.kernel.org, linux-cxl@vger.kernel.org, Allan Nielsen , Horatiu Vultur , Steen Hegelund , Luca Ceresoli , Thomas Petazzoni Subject: Re: [PATCH v4 01/29] Revert "treewide: Fix probing of devices in DT overlays" Message-ID: <20260112154731.6540453b@bootlin.com> In-Reply-To: <20251211161902.11ef4248@bootlin.com> References: <20251015071420.1173068-1-herve.codina@bootlin.com> <5cf2a12a-7c66-4622-b4a9-14896c6df005@gmail.com> <072dde7c-a53c-4525-83ac-57ea38edc0b5@gmail.com> <55076f4b-d523-4f8c-8bd4-0645b790737e@gmail.com> <20251202102619.5cd971cc@bootlin.com> <088af3ff-bd04-4bc9-b304-85f6ed555f2a@gmail.com> <20251202175836.747593c0@bootlin.com> <20251204083839.4fb8a4b1@bootlin.com> <20251210132140.32dbc3d7@bootlin.com> <20251211132044.10f5b1ea@bootlin.com> <1b9fa77b-d74a-4fa7-b2e7-8b389d59a5a0@gmail.com> <20251211161902.11ef4248@bootlin.com> Organization: Bootlin X-Mailer: Claws Mail 4.3.1 (GTK 3.24.49; x86_64-redhat-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 Hi Saravana, (+To Saravana using his new email address) We still have issues related to devlink and overlays. In order to move forward on the topic, I think I need your help. Can you have a look and share any ideas to fix them? On Thu, 11 Dec 2025 16:19:02 +0100 Herve Codina wrote: ... > > IMHO, I think the issue is related to overlays and fw_devlink. > The distinction between "a new node is going to lead to a device" vs "a new > node is just data and will never been attached to a new device" when an > overlay is applied is broken. > > This is broken with the upstream "treewide: Fix probing of devices in DT > overlays" commit I've tried to revert. Indeed, on the LAN966x PCI device > use case devlinks created are not correct with this commit applied. > > I am not sure also that devlinks created with a more complex overlay will be > correct. For instance, Matti, with your overlay not sure that a phandle from > the oscillator node referencing the pmic node will lead to a correct > provider/consumer devlink between the pmic device and the oscillator device. > > On the other hand, this is broken with "of: dynamic: Fix overlayed devices > not probing because of fw_devlink" works for the LAN966x PCI device use case > an lead to correct devlinks but breaks your use cases. > > Does anyone have an idea about how to fix those issues? > The commit "of: dynamic: Fix overlayed devices not probing because of fw_devlink" can be found in this series (patch 3) https://lore.kernel.org/all/20251015071420.1173068-4-herve.codina@bootlin.com/ Best regards, Hervé