Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp634186pxb; Thu, 19 Nov 2020 09:51:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJxr9b791bGUXgi/kzgCm05JYU2cY1x2VQfNKEUt9QvQhxDWn+K+e8eLTJeQQzObMyTDPTWJ X-Received: by 2002:a05:6402:b28:: with SMTP id bo8mr33474573edb.57.1605808275620; Thu, 19 Nov 2020 09:51:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605808275; cv=none; d=google.com; s=arc-20160816; b=z0PRs18HRb1NgYu7Z47JC5pRafdz9E96POtDuVUWbRzkm3HT2aK74s6SOJu8UqU/0y J8YmSrGxyf8w0NvOe0iksD3yQggIAezbqzklW1syaTqrDZf1DIjwN1ZhlxCzOyzWz9PA CA8lLjSnNGEzuzmiBxqP3L3V7sh8AHXVbtcvqfW4HXGGrWHl6y/KsjtBjYMZ++BtyFo1 L0dr5ZYa7vk+qMoem8XszSUaWE4wBr9lfHIEhJAegqvYr7CF+l9j9bu3Hv4WpLJql07e MK4dzj4pEaUTg88k8xyYMYGuHf/+2+CvntbqFx58BoLKmc6dUhNTf2JZql57myHY4qnJ hP4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=/gTq+acQ60KAWcZEJboG3gUf+FWsoR1aiL5fpoRTT+U=; b=cf8KB125AcQBgLgOhvR3uhQ9RBeq3r2CGRUDhDwxZUcELUBDYmg3IGyZvExXMfnuT4 WCZlHEmFs+17SwXpY3aQ8oQVwi4SFGmF9CgGILwzhaRFrTOZ98FOMWhjCf5SgzR76Il0 RXojzg4+MxQabiZ0A7DY66ZueiodfTk07a6H8Nkv/lgI03EBapJsjCDhssOTEazWB1vb hYD6TRIMYlazkUm7INZ2r3mrpQj5Wkb7mpnNjg45IpBfxObLJJX10fpZ65STdFpWaq2T DSBs+4bZ9JkkoSlxmjWH0ZPECpI7sxciyatVnWlSwS7O18UFOIPVBhBjt0UnX/nHkH5m nd9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=nIVatBnH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v3si239774edx.521.2020.11.19.09.50.52; Thu, 19 Nov 2020 09:51:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=nIVatBnH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728175AbgKSRtG (ORCPT + 99 others); Thu, 19 Nov 2020 12:49:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726480AbgKSRtG (ORCPT ); Thu, 19 Nov 2020 12:49:06 -0500 Received: from mail-yb1-xb43.google.com (mail-yb1-xb43.google.com [IPv6:2607:f8b0:4864:20::b43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2660C0613CF for ; Thu, 19 Nov 2020 09:49:04 -0800 (PST) Received: by mail-yb1-xb43.google.com with SMTP id 2so5957179ybc.12 for ; Thu, 19 Nov 2020 09:49:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/gTq+acQ60KAWcZEJboG3gUf+FWsoR1aiL5fpoRTT+U=; b=nIVatBnHKm8cYLv0FeRi/kS6SeV0o6ND7XBOdqqZ44I6KNrTlqpnY34Dib6Q1cRJsw /BYvRCLVlpy/LreGoY8bEcEaNX3XuOSK6pgR9b7/HdeuXjTKyK46YkjDUeHLrluI5WI9 V4stKADfW2EZzkUYeKPP/Onq51obeEed01YFQwmkgrb4xRzrgvJELSrq+4ZOSUgFnX1R 4nutgUaXJUH0gP+UxZ/+BrMcPGdobyCa2j1CoolKeVtTBOr8vQcDL9P9kOP1OYUBV2MM gW0AyLJ24b2ao8tTdDz1G6v7ULLVEozn3dODPL+FjQV625HAD0k9Spn5SdTPWVxoAaFj L28g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/gTq+acQ60KAWcZEJboG3gUf+FWsoR1aiL5fpoRTT+U=; b=hkw/fHed32OI+sFkWnJW4C4c2Y1N4ZvDp84JSyfWg4jJOPYI25eDfJcxoaw0V51klz AHAlqOWv+lcWupc2292tUo3TC73xB3GRtaZqEcS82dHOJDFmncwoYHafoPdnm+5q6uKb AsXz7UVM2DSD/nAjgvXRFNXxaa8dHt6nnZEa5LGpE3H4OuzL82+pZdm3gEpNl9wYY3Qp uuxdj2dgLqSs2jbM3+u0tl3fdI+f17xkfa7zZyf9DQ1TcTQ9SnjEbXOmudjL0nDA7r5c Y6GQJrVT1c1tcN18zt88wKQTjz3psFawYA4rklfYMo8XoHC1vtHr6yP0y0zxtI1O7ISh jQ4g== X-Gm-Message-State: AOAM533UxbHIt93M6H0KC6YLn4v3VwY9Yx4rCSL5lqYJDznuTT7Zlepy Upxd26amQXwd0Nlet/Vcp9gk5CvRfx6I7xbP/WGiug== X-Received: by 2002:a25:b090:: with SMTP id f16mr16135573ybj.466.1605808143984; Thu, 19 Nov 2020 09:49:03 -0800 (PST) MIME-Version: 1.0 References: <20201119110036.19959-1-aisheng.dong@nxp.com> <20201119110036.19959-2-aisheng.dong@nxp.com> In-Reply-To: <20201119110036.19959-2-aisheng.dong@nxp.com> From: Saravana Kannan Date: Thu, 19 Nov 2020 09:48:28 -0800 Message-ID: Subject: Re: [PATCH 2/3] of: property: add debug info for supplier devices still unavailable To: Dong Aisheng Cc: LKML , dl-linux-imx , Dong Aisheng , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Rob Herring , Greg Kroah-Hartman Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 19, 2020 at 3:18 AM Dong Aisheng 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@vger.kernel.org > Cc: Saravana Kannan > Cc: Rob Herring > Cc: Greg Kroah-Hartman > Signed-off-by: Dong Aisheng > --- > 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/