Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp407709pxb; Thu, 14 Jan 2021 08:43:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJyBAIzGtwruPq0pQn/FBJsB2LmU7OqGHPGc6kmegqvtPQYqBhKfsGXlzXHOv8nLYRIJm1Pd X-Received: by 2002:a05:6402:11d3:: with SMTP id j19mr6335915edw.314.1610642639686; Thu, 14 Jan 2021 08:43:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610642639; cv=none; d=google.com; s=arc-20160816; b=O1Kn70Z0jAV/364CVaB0xa/ZnZZ7PF2ZiBTW5M59F8CUloUER4cajp+Qq1lKD4u04N xO7fSXbMrs4EFMyiibzflZ50rZ6ZDuXI7zBx/uVlO8uEkWoJh3+4O/Kr8z+QcTmk2eLC LnWztpkmWKGa55iMoyIwvk4RxK6BlCD+Ycb6KtyLE+vWSmDkvKOn9GVLlSLJ8B5kNvWn H8DA00zVdjNARUCiQZyZRkuiX9sAuXyv81LsrrJrhd9yQslle2vZ6zhO+P03/MCpU+dw 8/6XMSxtEwX706V8rW+OJign/pe3pe2bXDtzh3cxyRFiNRPTbwkXPy4/5EetCy6MfSSY zJTw== 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=D+BmvCFWRLkA7Rq+8+HAffylejgMTO0t+Xl+DVgoXxA=; b=JYSX53PlWQSsMoHC7pJWYKYEVCI8SLhppgXUNGu+JQ8CjmiBfa0SYvh2/6wzv3S1Xi WFlqkekTGLdWHZ/dhVe7lNiE3TXqCRgcT3PETUfAoCiZvwEu7PCTrdWldxecuZXfDTHG ZYXmXo4JF9wTImM1bNCUhhCYzNRlWGmLYOx1AeW1sYGxwZGMrIZ9f4QPX5w5+RBkziHq GVfBj/6KIwl3GFXeIoifvFHDTP17pjUw6azzuR3ty16AGKuGT1ZFsUJeSnQRlKKKv4mI +DfMkZyzaINdzp/i9kJzhwMkOPgkUq5pdz9oZN3rpmVPXI2bCbxPIybZCFPFDfFIQwCJ aUAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=SuvR1Xho; 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 u20si344064edv.129.2021.01.14.08.43.35; Thu, 14 Jan 2021 08:43:59 -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=SuvR1Xho; 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 S1726558AbhANQlx (ORCPT + 99 others); Thu, 14 Jan 2021 11:41:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726363AbhANQlx (ORCPT ); Thu, 14 Jan 2021 11:41:53 -0500 Received: from mail-yb1-xb32.google.com (mail-yb1-xb32.google.com [IPv6:2607:f8b0:4864:20::b32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 367EBC061574 for ; Thu, 14 Jan 2021 08:41:13 -0800 (PST) Received: by mail-yb1-xb32.google.com with SMTP id w24so100507ybi.7 for ; Thu, 14 Jan 2021 08:41:13 -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=D+BmvCFWRLkA7Rq+8+HAffylejgMTO0t+Xl+DVgoXxA=; b=SuvR1Xho7USYBOUKOMwurqVjLwKuMIaUDHpECDeE7kkjOAAbEr8VbtJ90iTnt5fM/5 X8P6lvkesGPjFdWNPstWUpRkiNcqXNFz4JbSVFlTnJz/A9JHLYLgaZw3mpV81Yrl6L9Y +frW1Zt19QP0uhpPthKlLqefHvP2MZd5lMJI8T8T9R7gxf3C5xpaL96Ii+MNISpX9BLe XoZrm8Rv3BeNOHHmzam7W/pi9IteR0Wi5oOIXtcBH5u+Udy+0jQmtZduddyWef3VIX+S o0v+WVgwawULGlJNr+Vp4L9BqpGkVFQbVvKZueA9p8nIhcQ/qS7piHOe7/OCH9Y7r3wS v86Q== 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=D+BmvCFWRLkA7Rq+8+HAffylejgMTO0t+Xl+DVgoXxA=; b=mP2rLinSXlICyj4pleERU0SUuhx+HXIB6I4lqMafwNAZ/D3+D5+gdzcMMDINOtiKek egGpmc25I4gNpaUbFONnIYL3E8I3eUL2HTHi+jaFtWffuN0QYBjdAPOBNUAMryYfDPyk uidlwKLyYqNmCjCiMufp/hF4JtUAHui7b9K1ilq6bIt2yGof+SxX7sUEbMZWJl1hCUu5 +SbZcBX4rXcdTVQLMAeL2fzguV1tj4URZMisbHRiNFxKlAoeWKl2VR6YxR2yqnNlUXmf CCgoldhaRkzMs8nqV401/Xiks5DRPJRbBTP6CJ9JTiy4o2MVBtJThozKTJdAyWBlmAWC NnyQ== X-Gm-Message-State: AOAM532i65SFcRKi++dQeMuAWJkh/mgSDqDTvVrUtz2mwv/D612lzOol SVkj5XyXj6mCk+27YveCsZVRGKdjlc5sKUt9YM/PYw== X-Received: by 2002:a25:6604:: with SMTP id a4mr12224326ybc.412.1610642472224; Thu, 14 Jan 2021 08:41:12 -0800 (PST) MIME-Version: 1.0 References: <20201218031703.3053753-1-saravanak@google.com> <17703ac8-2238-0b64-3c98-ddadc7ae8a36@nvidia.com> In-Reply-To: <17703ac8-2238-0b64-3c98-ddadc7ae8a36@nvidia.com> From: Saravana Kannan Date: Thu, 14 Jan 2021 08:40:35 -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 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. -Saravana > Jon > > [0] > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/tegra30-cardhu-a04.dts > [1] > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/regulator/regulator.yaml#n129 > > -- > nvpublic