From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (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 57BBE1547C8; Sat, 11 Jan 2025 05:26:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736573190; cv=none; b=J3jrN9VKJwJWATGncN+ig5f6rLheRUaXW1NYaMGe41GPa5WKgD8fMxDAJcPZaazELMQkiq3hBeqhUp+9Yc8P/2GIv1xPpOITQu9Q5nyHnkY3FQk8buRBYN2bzxjv5N3muUKAzRosaQjd1SsMnyBdkvsgOt7c2t4JpySLe/7ARk0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736573190; c=relaxed/simple; bh=ZZ9yXjmed8pK65xGqHyvnPVSw/s2I4SPUgLouqxc9ug=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=NALV3fmj6NpT8sqgBGN4Z+Yho8qWKEZivTSiyxdqGSB2Zq0N673JNo6dnMkU6d2k0N4Oj8i21aYAuTIki6/GZ6xfvLk+B/pqczre7Jn9xH1DrjKn9a0UL1kabCcKVk6e5+b039wfb0nr5fq7rJ3zkMDG8wzud4rfyQhfV0ndRCw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gibson.dropbear.id.au; spf=pass smtp.mailfrom=gandalf.ozlabs.org; dkim=pass (2048-bit key) header.d=gibson.dropbear.id.au header.i=@gibson.dropbear.id.au header.b=PiLAYKJ3; arc=none smtp.client-ip=150.107.74.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gibson.dropbear.id.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gandalf.ozlabs.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gibson.dropbear.id.au header.i=@gibson.dropbear.id.au header.b="PiLAYKJ3" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202412; t=1736573177; bh=idLoF2XW7xP5JAegxPTkM6KD6aTbevFQ/3cj4p/7AVM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PiLAYKJ3JecU/R3Br/FYM102K+OkH/i4lR0+O47wmm5+Ec/K7Uxialj8vnqi+iWdn WuNtVW4zXJlZ+VIZi/7nDAGfjWYu+2mEGySQW4k4b0TmMnD9bUEVUvSQnYx9lciHdQ zCu7CRegeLHIrSomlFwwsa2hCJq5rwOKqjNYW9Ug/PxI7j69/RXIcgEbkFk/gmgrb0 Ym885eIRgfyzEa5U4faM7o3nClzKn9US2f+hDX0T+MIlgiPN53/UjIMVeIdYFwl1os ZgdxbHLgY8zf+KiCxsaidfK3jghD8XOIkbwEJ0oCIgQ2mKWpQnmu1g05RPEDpd8Nsi vTOh66QhwRPTQ== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4YVRp116rpz4wxh; Sat, 11 Jan 2025 16:26:17 +1100 (AEDT) Date: Sat, 11 Jan 2025 14:17:18 +1100 From: David Gibson To: Ayush Singh Cc: Herve Codina , Andrew Davis , Geert Uytterhoeven , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Arnd Bergmann , Greg Kroah-Hartman , Saravana Kannan , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Ceresoli , Thomas Petazzoni Subject: Re: [PATCH 0/7] of: overlay: Add support for export-symbols node feature Message-ID: References: <33c61b28-c0b8-478d-8107-c6ed1ff9e466@beagleboard.org> <20241210104141.39acffb1@bootlin.com> <20241210115515.1886f73f@bootlin.com> <6d48095d-59b1-4439-8e2a-927aa1aa1b55@beagleboard.org> <20250108090750.45685a50@bootlin.com> <20250108104719.0412ad94@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="DE4M2lvkQUFmj7G4" Content-Disposition: inline In-Reply-To: --DE4M2lvkQUFmj7G4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 10, 2025 at 01:25:43PM +0530, Ayush Singh wrote: >=20 >=20 > On 10/01/25 09:56, David Gibson wrote: > > On Wed, Jan 08, 2025 at 10:47:19AM +0100, Herve Codina wrote: > > > Hi Ayush, > > >=20 > > > On Wed, 8 Jan 2025 13:58:04 +0530 > > > Ayush Singh wrote: > > >=20 > > > ... > > > >=20 > > > > I will experiment with adding support to dtc and see how things loo= k. > > > > Hopefully, 2025 is the year of addon board support. > > > >=20 > > >=20 > > > Also one point different between fdtoverlay an runtime loading is > > > that runtime loading allows to set the target node of the overlay > > > at runtime. > >=20 > > I'm not really sure what you mean by "runtime loading". Do you mean > > the kernel's implementation of loading dtbo overlays? > >=20 > > While that is a different implementation from the one in fdtoverlay > > (AIUI), they're both working from the same dtb format. As we > > discovered attempting Ayush's proposal, it turns out that the dtbo > > simply doesn't have the information we need to correctly path > > substitutions; and it's not at all easy to add it. >=20 > Ahh, I think there is a misunderstanding. `export-symbols` only seems to > support phandles, not paths. So no resizing involved. Oh, sorry, I was mixing this up with a different feature Ayush was working on. > It's closer to the phandle support in `__symbols__`, just local in scope. >=20 > >=20 > > So, the problem of the encoding format needs to be solved regardless > > of which implementation is actually processing the overlays. > >=20 >=20 > So there is no problem with the encoding format. >=20 > The questions I have are more regarding weather `export-symbols` or > something close to it can be made part of spec instead of the custom linux > thing. >=20 >=20 > Ayush Singh >=20 --=20 David Gibson (he or they) | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you, not the other way | around. http://www.ozlabs.org/~dgibson --DE4M2lvkQUFmj7G4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEO+dNsU4E3yXUXRK2zQJF27ox2GcFAmeB4rkACgkQzQJF27ox 2Gc7ahAAhIwla7QjtBr8bUydgyTbx8IawYayTt9ZDFtg58QHK5nhGB98i1B7GTSY ZW0wbYXfDvaqmuNOHxppYgjyJhB+BV0CZAdfGzx9aoKCP/uuoPdTexLi1aQHXhT8 5FHzuTExW4TUttlPGXNKpUmmcrmDQaTHE5gjxFAZ91KAgU4jmyq0083eRBDRuCw6 C0vmb0O3ZkV5dyPKUz7hdj5cIqrFYqc4kmuO+MER3glO2L6c47tBMZW9qQOwkiWv M/ZoM6h56zXqii+gpxojyq8BxXU1feDoIBh8GBvmD1HXZjG6ZarQuflCUjKR+LK6 /17P3TcLCK++hK/TonzY8Pyo0fp2jxPpco3/W0pROdGdACJY8Cmp15YUw5+8s8uS RjffEDuChwj8IjtS9+7FaRgg1hq4kZ+bwTunRGYf/I87kVqw14X7dMZc2EdpBUWU If6YW5tX0OplV+SgRK2t8uCuujozmVOql6hdsLvVH++HINGPyWyejA22RKMw5b81 jwJ1MVAUWpeCxY7gfe/jX9foFiuYo6K2cdh3LJFW6WfGkmy3lpwoae5yT9s2JV9q 8Hm/+uZ7ou77aae9/JWGevVV3KNmY55ZsB9XuAK8V9jTsFs6XLFdnCdMyw0yE/UM Jvuv2zVSkfFYFKxg6Ya/4VTw0lpnHsWeSdZoXILB+j6jp6qUA+M= =nrC6 -----END PGP SIGNATURE----- --DE4M2lvkQUFmj7G4--