Re: [PATCH v2 2/3] of: property: Improve finding the supplier of a remote-endpoint property

From: Rob Herring
Date: Wed Feb 28 2024 - 17:03:06 EST


On Fri, Feb 23, 2024 at 10:18 AM Luca Ceresoli
<luca.ceresoli@xxxxxxxxxxx> wrote:
>
> Hello Saravana,
>
> [+cc Hervé Codina]
>
> On Tue, 6 Feb 2024 17:18:01 -0800
> Saravana Kannan <saravanak@xxxxxxxxxx> wrote:
>
> > After commit 4a032827daa8 ("of: property: Simplify of_link_to_phandle()"),
> > remote-endpoint properties created a fwnode link from the consumer device
> > to the supplier endpoint. This is a tiny bit inefficient (not buggy) when
> > trying to create device links or detecting cycles. So, improve this the
> > same way we improved finding the consumer of a remote-endpoint property.
> >
> > Fixes: 4a032827daa8 ("of: property: Simplify of_link_to_phandle()")
> > Signed-off-by: Saravana Kannan <saravanak@xxxxxxxxxx>
>
> After rebasing my own branch on v6.8-rc5 from v6.8-rc1 I started
> getting unexpected warnings during device tree overlay removal. After a
> somewhat painful bisection I identified this patch as the one that
> triggers it all.

How are you applying the overlay?

Rob