[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGETcx_r7e2q28=obEQ-E79e2DvSHLdEXnB9veM8Bnc9g62C4A@mail.gmail.com>
Date: Thu, 19 Nov 2020 09:48:28 -0800
From: Saravana Kannan <saravanak@...gle.com>
To: Dong Aisheng <aisheng.dong@....com>
Cc: LKML <linux-kernel@...r.kernel.org>,
dl-linux-imx <linux-imx@....com>,
Dong Aisheng <dongas86@...il.com>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@...r.kernel.org>, Rob Herring <robh@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: Re: [PATCH 2/3] of: property: add debug info for supplier devices
still unavailable
On Thu, Nov 19, 2020 at 3:18 AM Dong Aisheng <aisheng.dong@....com> wrote:
>
> It's normal that supplier devices may still unavaiable when parse DT to
> create dependency. e.g. supplier devices populated by drivers.
> Add debug info for this case.
>
> Cc: devicetree@...r.kernel.org
> Cc: Saravana Kannan <saravanak@...gle.com>
> Cc: Rob Herring <robh@...nel.org>
> Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> Signed-off-by: Dong Aisheng <aisheng.dong@....com>
> ---
> drivers/of/property.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/of/property.c b/drivers/of/property.c
> index 408a7b5f06a9..21a854e85234 100644
> --- a/drivers/of/property.c
> +++ b/drivers/of/property.c
> @@ -1150,6 +1150,8 @@ static int of_link_to_phandle(struct device *dev, struct device_node *sup_np,
> * Can't check for cycles or no cycles. So let's try
> * again later.
> */
> + dev_dbg(dev, "Not linking to %pOFP - device may still unavailable\n",
> + sup_np);
> ret = -EAGAIN;
> }
>
All of this is going away[1].
So, Nack.
-Saravana
[1] - https://lore.kernel.org/lkml/20201104232356.4038506-1-saravanak@google.com/
Powered by blists - more mailing lists