lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z4HivicesQnDdyFn@zatzit>
Date: Sat, 11 Jan 2025 14:17:18 +1100
From: David Gibson <david@...son.dropbear.id.au>
To: Ayush Singh <ayush@...gleboard.org>
Cc: Herve Codina <herve.codina@...tlin.com>, Andrew Davis <afd@...com>,
	Geert Uytterhoeven <geert@...ux-m68k.org>,
	Rob Herring <robh@...nel.org>,
	Krzysztof Kozlowski <krzk+dt@...nel.org>,
	Conor Dooley <conor+dt@...nel.org>, Arnd Bergmann <arnd@...db.de>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Saravana Kannan <saravanak@...gle.com>, devicetree@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Luca Ceresoli <luca.ceresoli@...tlin.com>,
	Thomas Petazzoni <thomas.petazzoni@...tlin.com>
Subject: Re: [PATCH 0/7] of: overlay: Add support for export-symbols node
 feature

On Fri, Jan 10, 2025 at 01:25:43PM +0530, Ayush Singh wrote:
> 
> 
> On 10/01/25 09:56, David Gibson wrote:
> > On Wed, Jan 08, 2025 at 10:47:19AM +0100, Herve Codina wrote:
> > > Hi Ayush,
> > > 
> > > On Wed, 8 Jan 2025 13:58:04 +0530
> > > Ayush Singh <ayush@...gleboard.org> wrote:
> > > 
> > > ...
> > > > 
> > > > I will experiment with adding support to dtc and see how things look.
> > > > Hopefully, 2025 is the year of addon board support.
> > > > 
> > > 
> > > Also one point different between fdtoverlay an runtime loading is
> > > that runtime loading allows to set the target node of the overlay
> > > at runtime.
> > 
> > I'm not really sure what you mean by "runtime loading".  Do you mean
> > the kernel's implementation of loading dtbo overlays?
> > 
> > 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.
> 
> 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.
> 
> > 
> > So, the problem of the encoding format needs to be solved regardless
> > of which implementation is actually processing the overlays.
> > 
> 
> So there is no problem with the encoding format.
> 
> 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.
> 
> 
> Ayush Singh
> 

-- 
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

Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ