Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp519905imn; Wed, 27 Jul 2022 12:27:32 -0700 (PDT) X-Google-Smtp-Source: AGRyM1slVy8eeHDmZIsDtRDx4tmzNIR+wDg5A5qFoiP4tHSINDrD004eZRjVJ5l160p3RqcmrF/y X-Received: by 2002:a05:6402:84d:b0:435:a764:9aad with SMTP id b13-20020a056402084d00b00435a7649aadmr25021411edz.332.1658950052693; Wed, 27 Jul 2022 12:27:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658950052; cv=none; d=google.com; s=arc-20160816; b=wF9o4O1P+vQAv22b+anzj4n6nexEm184BW5uFI3Loalv66DcyGfqfs1Gap7BCmiGmi h2pIcYoKjEIkjTREn7ArJwdvR8Ylk6X6tySKaOB5JgybWAHNmotgRayekOK8f7VkCHmb IGDjq+7+icV4no64sbHRN6UCIZfA+onA9Ol60NGqP2SWi9FqCIqFUpKa12qDIzKRKojg bPKtWjcmDdljHXBh1iYM33Z83TxuvEBUGdOgeU/TpncRc9Au6yp6u+ZPWjJ3cWy/3c0c 5yzbYe1vsK8n3c3TlEZygieNFLFSrhMsM30w0YtvZQOhV7heSLTZUNEHnrdh1UsesfAb fHFw== 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=anZ8ubpNYVfX+lGtJNiGuX09BswuO+VNMPfy/hAEQuE=; b=TdVtBVJ4FlK094m/ahjiElibX11MI5yEL0oh9rI5mtEJ7mJL8eZ1ouZBIp4UzlypxQ AJvCfChccwgwpuUimrMOWICAbbhZ2AIHE0N4KBtom5OrucDaqCBILOLRYFdcLmopkv6I 1uQUXqfyGIlQareWHFcGxIgHl0BAeYCZXGWzoUw6XvaSlvTPe/dfIMCARQs+nR3WYnrf stYAb9d5Ea1AEi3y1snDXO8DfVii8i7iyYlAyJ18TG6hyqA4Cy5BFxJ1+4oS2vHZ7HAh +3wfcYYt9GD8QiLOkh0b317yOLEpPFObmQ9xR+jrTVaqfn9RKGbmifuxvm6QN5fXUeOd vAGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b="pPF/J3MG"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p7-20020a05640243c700b0043bc6ddd11bsi5314302edc.277.2022.07.27.12.27.08; Wed, 27 Jul 2022 12:27:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b="pPF/J3MG"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S232849AbiG0TJ3 (ORCPT + 99 others); Wed, 27 Jul 2022 15:09:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236265AbiG0TJK (ORCPT ); Wed, 27 Jul 2022 15:09:10 -0400 Received: from mail-yw1-x112f.google.com (mail-yw1-x112f.google.com [IPv6:2607:f8b0:4864:20::112f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C9534D170 for ; Wed, 27 Jul 2022 11:49:58 -0700 (PDT) Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-31f56c42ab5so48750637b3.10 for ; Wed, 27 Jul 2022 11:49:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=anZ8ubpNYVfX+lGtJNiGuX09BswuO+VNMPfy/hAEQuE=; b=pPF/J3MGwDPrIJN1OQ46lQw4OjndBN5/rUvG8gbXClIZkks5vpHHgXylHF4Dj4ZZN8 GL3zrZhDU5A2/S1oeNteZJPsoY5nKALHBccLWkjrFUDbKglBuHAcz5oyLGwWVC1anpeY 5o/FS6aiLg+Qffm7qcvdkO/OvhD5bRAWOkMEQIsC+o/eSuajBPiUh6FMwY2HgH0PtcUg XIW0THvTPWZ0aB6fbU0D0wCyyLB0SMRDBRuhvyiRdmqwK93HOzmmv8hSz6OhjD/KiDDS nxn5DLSXy+DFVOE8lfw7/70u4cGcrvzUm1V4ohwakL5HL7XNIYA7p6Btis5YQuazt1oN sjEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=anZ8ubpNYVfX+lGtJNiGuX09BswuO+VNMPfy/hAEQuE=; b=i+c64snv4OApfmSOkgGGKYRUzLWygN9zPTBCbpKyUCOEih1TjiVVfvMmgUPINFWz59 nn312Ms8284Bktoi1tLkPwPJRIlCtM3lkmovLe7SH1NJvAr2svjbWBPtp5bPp9wAzZ89 LN6Q5c4HRDnFKjdFUb105FulHPMmMH5noEIgxuCADGMPWyIH6PCf9kPOp4YixpX0LD7a yHfRKF8dagx504T8lZtjQYv8snQOFHx2GrKsW2S1rVKHZiHFcmsZ9YsFVfm8H29EH+Si WUBIzp0//LFFaDf+WM9nMHt5d/E2ORGjexrFRAmsHRyoe/+z+7fjs0u2hMplr8CRwmFd 1GIA== X-Gm-Message-State: AJIora/WU+tuvpLmZ/dlu4NVcNdihGT/pP4v9Ezcd6vSHT1MwJqhi7Cl SuhAN7jqyKbz1n7wNLtMNztsKPHChD5eh2i4kEAM4A== X-Received: by 2002:a81:50d4:0:b0:31f:5f85:566a with SMTP id e203-20020a8150d4000000b0031f5f85566amr4520468ywb.218.1658947797362; Wed, 27 Jul 2022 11:49:57 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Saravana Kannan Date: Wed, 27 Jul 2022 11:49:21 -0700 Message-ID: Subject: Re: [next] arm: PM: domains: Delete usage of driver_deferred_probe_check_state() To: Naresh Kamboju Cc: Geert Uytterhoeven , Ulf Hansson , Greg Kroah-Hartman , open list , Linux-Next Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 26, 2022 at 11:44 PM Naresh Kamboju wrote: > > Linux next arm BeagleBoard x15 device boot failed due to the Can you point me to the dts file that corresponds to this board please? And if you know which devices are power domains, that'd be handy too. For now, I'm reverting this patch. -Saravana > following commit. The x15 did not event showed any crash log > on the serial console. > whereas, Linux mainline kernel boot pass. > > Anders bisect this and found the first bad commit is > > Reported-by: Linux Kernel Functional Testing > > commit 5a46079a96451cfb15e4f5f01f73f7ba24ef851a > Author: Saravana Kannan > Date: Wed Jun 1 00:06:57 2022 -0700 > > PM: domains: Delete usage of driver_deferred_probe_check_state() > > Now that fw_devlink=on by default and fw_devlink supports > "power-domains" property, the execution will never get to the point > where driver_deferred_probe_check_state() is called before the supplier > has probed successfully or before deferred probe timeout has expired. > > So, delete the call and replace it with -ENODEV. > > Tested-by: Geert Uytterhoeven > Reviewed-by: Ulf Hansson > Signed-off-by: Saravana Kannan > Link: https://lore.kernel.org/r/20220601070707.3946847-2-saravanak@google.com > Signed-off-by: Greg Kroah-Hartman > > diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c > index 739e52cd4aba..3e86772d5fac 100644 > --- a/drivers/base/power/domain.c > +++ b/drivers/base/power/domain.c > @@ -2730,7 +2730,7 @@ static int __genpd_dev_pm_attach(struct device > *dev, struct device *base_dev, > mutex_unlock(&gpd_list_lock); > dev_dbg(dev, "%s() failed to find PM domain: %ld\n", > __func__, PTR_ERR(pd)); > - return driver_deferred_probe_check_state(base_dev); > + return -ENODEV; > } > > dev_dbg(dev, "adding to PM domain %s\n", pd->name); > > > > -- > Linaro LKFT > https://lkft.linaro.org