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: <b7f5b521-cb0e-43d8-87ce-c1e536b98e4e@beagleboard.org>
Date: Fri, 10 Jan 2025 13:25:43 +0530
From: Ayush Singh <ayush@...gleboard.org>
To: David Gibson <david@...son.dropbear.id.au>,
 Herve Codina <herve.codina@...tlin.com>
Cc: 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 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.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ