Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp415369pxb; Thu, 14 Jan 2021 08:56:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJxtILtl8EQu2I44YWbsdAc6VqpP2BAFPyGXfJO+KWEoQC9Wq7CJnl8sym704psw3K5VWEYf X-Received: by 2002:a17:906:4f0f:: with SMTP id t15mr5142309eju.316.1610643405824; Thu, 14 Jan 2021 08:56:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610643405; cv=none; d=google.com; s=arc-20160816; b=vFS0UgbvHQ+Ir9SNYyd1q3+4gHMgFOEhUg3pszqmJez0W2uGh4KyNbPXUY9eFtUOx6 7+AxuD5VTufhBH/UAQzPkTLjPE6PFMTmZkY531Bh6WMzS9lVVW9kM9pAskFcLBU/AgSx +KACAimj/VV0tc619Bit/X4kq2ER1FuKKeg4O0PbC862JNcLdrQca6U1FHek1FsMnbDV WWAKja6HcYxyTiDxh6iX6DPvfIzDejko1F+vjQogeEiXqK7xlWcCSRjWIAud2L0KCUqA RbrpoZQFX2NucaNwtu8KDOONw60mcdJPw/dhUG/vOB+sHgkHVAowekMWBjeni8U6DLUg oeaw== 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=27zQ/ygWyI21K284m8AlMgtMN5IZhUfhEaSCqrYdflI=; b=Fmc/sERlDXdXY1YVnPaztX6964znVgaRj8oIuAlIywAn0raHwxkAHHO0s36SZLO/5V CcDGC2WlDP6rx/QkYNBUBJ5Z/ZPaY5POOwg2b/eJ1DLP8KrKE8M6mp5uCI3E9s9yXqcs AmxfZE88UHC3IkKJYFqNKbWPkxTrDvziQscqj05Gx0pDTJyW4GCOYxrvopgJ/KF+GaM9 eCsDHzcqvw20c50lSq6SEOvx0H5/mFHzxNI7DBiBJKldM1ygL6Gzxz6NOhXMg2oVAtUR U0wJeUcuLht/ZWp55ywi0Ofx7dpJvGkT8NjL1Y57L6jTnI2i8GWoO8f7anGXE4GbxMtk RdvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=oH+Ce7c5; 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 t17si2923771ejs.93.2021.01.14.08.56.20; Thu, 14 Jan 2021 08:56:45 -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=oH+Ce7c5; 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 S1726311AbhANQxX (ORCPT + 99 others); Thu, 14 Jan 2021 11:53:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726159AbhANQxU (ORCPT ); Thu, 14 Jan 2021 11:53:20 -0500 Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 701C4C061574 for ; Thu, 14 Jan 2021 08:52:40 -0800 (PST) Received: by mail-yb1-xb29.google.com with SMTP id o144so2430629ybc.0 for ; Thu, 14 Jan 2021 08:52:40 -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=27zQ/ygWyI21K284m8AlMgtMN5IZhUfhEaSCqrYdflI=; b=oH+Ce7c5Z3Znqj06jKHUPZ9wRz8ggvZv9xbX/3pFgJ+2ehWcXAStBc4zknfFxnXQ2x 53FjliXq4ddpT7ijHY7MPmHt9/aUUyNp+vJahAUBi6kxB7tcPUKSf9fxQcoFDY5ynpty Quvb92PRZTLucq7jTQujKT8Hl+oU0D9PkeMSfrdhBIJJcSCWaqtWk1IfAkzzaOWjEBf8 oHxkSZDO3EbygW+H9xpAIwsWnzsfGmd7kRAfTW1BVg9NtFIgHDU6D9M8ATMKTENzv6TO 1qdYlR0f3J+knnRc/0zYajGTHGomDLSfO6ZrOhuUWwTM0dlqL9Ujb+9BXxaW/kO+MJB6 XtqA== 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=27zQ/ygWyI21K284m8AlMgtMN5IZhUfhEaSCqrYdflI=; b=jEtlGBrIGntW93N5wNBRGdnGzlGvFKmM/SCWSkyq37Qieg0YLv7NiOq4Ff/P2YSW7z jcHcG5GPZjuw/gBPIv2T3BnG0aI/MRJ2t4usHdKpTFyz+4HGuVf4Nj89gs7oDbYV1gl/ dPpvcvpqMFcAxNyivHx6c7cpUo0BC4cRLUoJu2MA+zl8lsa6d6qhMF8uzraxbZgmSYnu 1617ytF/Ogs8bvVZ+okApBXwZU7DQHLpYPji4py1YDfHNbr/1F4ENeYHVtXs+VR70H5f dwAbpk/Bn+nF+9Nc8XmdCzkjcqX9q7s0iT/ZZbTVk27ExN0lxMj4fEuGI+d525Vd9U0L /baA== X-Gm-Message-State: AOAM532LBNzYcTHMterOJ9Weg5V0LwZ7zuEnPIPgjx0sGnKj2oBWAaCO Ilu4ZyP/e+X+icyNl7HdrDO5O16HkVh0wrFfSlmeuQ== X-Received: by 2002:a25:77d4:: with SMTP id s203mr5790072ybc.32.1610643159431; Thu, 14 Jan 2021 08:52:39 -0800 (PST) MIME-Version: 1.0 References: <20201218031703.3053753-1-saravanak@google.com> <17703ac8-2238-0b64-3c98-ddadc7ae8a36@nvidia.com> In-Reply-To: From: Saravana Kannan Date: Thu, 14 Jan 2021 08:52:03 -0800 Message-ID: Subject: Re: [PATCH v1 0/5] Enable fw_devlink=on by default To: Jon Hunter Cc: Marc Zyngier , Greg Kroah-Hartman , "Rafael J. Wysocki" , Android Kernel Team , LKML , Jisheng Zhang , Kevin Hilman , John Stultz , Nicolas Saenz Julienne , linux-tegra Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 14, 2021 at 8:48 AM Jon Hunter wrote: > > > On 14/01/2021 16:40, Saravana Kannan wrote: > > On Thu, Jan 14, 2021 at 3:35 AM Jon Hunter wrote: > >> > >> > >> On 13/01/2021 21:29, Saravana Kannan wrote: > >> > >> ... > >> > >>>> I am seeing the same problem on Tegra30 Cardhu A04 where several regulators > >>>> are continuously deferred and prevents the board from booting ... > >>>> > >>>> [ 2.518334] platform panel: probe deferral - supplier regulator@11 not ready > >>>> > >>>> [ 2.525503] platform regulator@1: probe deferral - supplier 4-002d not ready > >>>> > >>>> [ 2.533141] platform regulator@3: probe deferral - supplier regulator@101 not ready > >>>> > >>>> [ 2.540856] platform regulator@5: probe deferral - supplier regulator@101 not ready > >>>> > >>>> [ 2.548589] platform regulator@6: probe deferral - supplier regulator@101 not ready > >>>> > >>>> [ 2.556316] platform regulator@7: probe deferral - supplier regulator@101 not ready > >>>> > >>>> [ 2.564041] platform regulator@8: probe deferral - supplier regulator@101 not ready > >>>> > >>>> [ 2.571743] platform regulator@9: probe deferral - supplier regulator@101 not ready > >>>> > >>>> [ 2.579463] platform regulator@10: probe deferral - supplier regulator@101 not ready > >>>> > >>>> [ 2.587273] platform regulator@11: probe deferral - supplier regulator@101 not ready > >>>> > >>>> [ 2.595088] platform regulator@12: probe deferral - supplier regulator@104 not ready > >>>> > >>>> [ 2.603837] platform regulator@102: probe deferral - supplier regulator@104 not ready > >>>> > >>>> [ 2.611726] platform regulator@103: probe deferral - supplier regulator@104 not ready > >>>> > >>>> [ 2.620137] platform 3000.pcie: probe deferral - supplier regulator@5 not ready > >>> > >>> Looks like this is not the whole log? Do you see any "wait for > >>> supplier" logs? That's what all these boot issues should boil down to. > >>> And as usual, pointer to DT for this board please. > >> > >> Ah yes I see ... > >> > >> platform regulator@1: probe deferral - wait for supplier tps65911@2d > > > > Do you mind sharing the full log please? It's hard to tell you > > anything useful with bits and pieces of logs. > > > >> Yes the device-tree for this board can be found here [0]. Looks like > >> there is a circular dependency between the vddctrl_reg and vddcore_reg. > >> This is part of coupled regulators which have a two-way linkage [1]. So > >> this change appears to conflict with this. > > > > fw_devlink doesn't track "regulator-coupled-with". So that's probably > > not it. Also, this patch series was made to handle simple cycles > > properly. It'll functionally disable the device links it created when > > it comes to probe ordering. Only two overlapping cycles might cause > > issues -- and even that, not all the time. So yeah, full log please. > > > No problem. Please find attached. Thanks! I think you forgot to enable those logs though. Also, while you are at it, maybe enable the logs in device_link_add() too please? -Saravana > > Cheers > Jon > > > -- > nvpublic