Re: [PATCH 1/2] libfdt: overlay: Allow resolving phandle symbols

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Sep 23, 2024 at 10:22:03AM +0200, Geert Uytterhoeven wrote:
> Hi David,
> 
> On Mon, Sep 23, 2024 at 5:41 AM David Gibson
> <david@xxxxxxxxxxxxxxxxxxxxx> wrote:
> > So, essentially you're just adding new labels as aliases to existing
> > labels?
> >
> > Ok, I can see at least two ways of doing that which I think are a more
> > natural fit than allowing symbols to be phandles.
> 
> [...]
> 
> > # Method 2: /aliases
> 
> Does the (Linux) DT overlay code support updating aliases?
> Last time I needed that (almost a decade ago), it did not.

Huh.  I hadn't realised the kernel kept a separate cache of aliases
that wasn't updated.  Assuming that's still the case, that would
complicate matters a bit.

> "[PATCH/RFC 0/3] of/overlay: Update aliases when added or removed"[1]
> was never applied, due to me never getting to all of the requested changes.
> 
> [1] https://lore.kernel.org/all/1435675876-2159-1-git-send-email-geert+renesas@xxxxxxxxx/
> 
> Gr{oetje,eeting}s,
> 
>                         Geert
> 

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

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux