Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3216024imw; Mon, 11 Jul 2022 04:30:34 -0700 (PDT) X-Google-Smtp-Source: AGRyM1urzDxxBmoz8DYxA5DDvs7aW3/ufFZbatC/eJMsPANodwkmCUgaf/7qt4nQtFWUL+M5eeiJ X-Received: by 2002:a17:903:24e:b0:16b:a02d:41fc with SMTP id j14-20020a170903024e00b0016ba02d41fcmr18455507plh.121.1657539033942; Mon, 11 Jul 2022 04:30:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657539033; cv=none; d=google.com; s=arc-20160816; b=Q1neXEpcopAcEN6sxIr7aW60tbExJFMG+zHjaJ5/lt+SVXryZrt4QGThTOp1/z6LPl Rih5zQbLWXnJ7d5s+LVFO6vnSsOWaJhcqeQk7C+gqpBH7VyxaCgoS2Xb0pBZH+vXVJpC laEFUmn1wT41Rk22MgdUkzX7D5dt5tO0P1RCu/UUIkX5kpgHVmFq/+7EYguQDn4gYTxY 4YbBRwNGd+ROffLFxSpeTz2Yc66zv71BbvbT8GnHZBmSph6Ptez6pT9E2hhKV8I7+hc2 VyVhUVWjxAKlXVnUfiXugaBm2/lSzST7mSEA23YYw7vOvoURfjSOSoY+ZiRPH/qKbVI5 7jNw== 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:mime-version :dkim-signature; bh=zZThk4si2Df2oCcklrdiFPTJcwReEc+65EKNL0Y3jcA=; b=GWcdFBOD9qojqd4Jn8isVJ1MTmsLwOqsPpyGqIhwCNd1PA7ZZH0NNz/BbSDpByIu7j w+Ai3yIuTFMi1/LRBsPnE/qjQzjodmgpoeUT9WgORLkJSB9hSLQC+LKMeTQRjp2BLBif YSHpaoVOAG3bbG5mfpmBFa+0rcMjkNeJLCeNWU4QYF8YMa2WDE+tlcHL3Y4nsj/Ngbtq c11uOi+jmkhIkV5yeQiyziBjR8oF9xG1BestzUVYnvVCxkFDjJcR7CMIVEe0u1KfGdUI 6R2kKywvs3O0ouYf19f5Lrwzeh9oQwNEm0IsO//enbPPFkds7AsdDcBeVZoE6mwA17Lg lZpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hEAtnyVm; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u68-20020a626047000000b0052899a8f770si8113509pfb.174.2022.07.11.04.30.20; Mon, 11 Jul 2022 04:30:33 -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=@linaro.org header.s=google header.b=hEAtnyVm; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231362AbiGKL0m (ORCPT + 99 others); Mon, 11 Jul 2022 07:26:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231357AbiGKL0B (ORCPT ); Mon, 11 Jul 2022 07:26:01 -0400 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6414E48E8A for ; Mon, 11 Jul 2022 04:02:01 -0700 (PDT) Received: by mail-io1-xd33.google.com with SMTP id n7so4546763ioo.7 for ; Mon, 11 Jul 2022 04:02:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=zZThk4si2Df2oCcklrdiFPTJcwReEc+65EKNL0Y3jcA=; b=hEAtnyVmAaVw4hGQPfDNKMFHfWf4jgRpP6t4mIOeQ1ii1bvWwarph3IkjYrIp0OHcM qqzhukxCRTsCy2RVueuQQQ471HbVEMfojJarVVyC+rLT8dl3eICYvnz7xoC/mrSDKGV0 DRCf/BUiKfzxT3KKEiQGdL9tCVlRRL1ZEXVkdvmKXlbLCYPvw2TsXYP+Mi5YSQlDhyZh 6IbCzUrXnPovc6SlPMeeaDkvS1/MhIuOdTlUe+Mfz1qx1AE6kwOIMVhF1IYf5/Sey43z My6U9MNYp4hNZW2paUpegGjCM3lsWb4BMbzKL5nyqTSA8a/2whpRXJBDNTWMURGttMGB uCcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=zZThk4si2Df2oCcklrdiFPTJcwReEc+65EKNL0Y3jcA=; b=Js34VhpuulxOFOw4C3BcAhxjWCZ4dVJvv7VZSOCR+Qxn7wrHXB3FDRtrOhguAkRyCj Cyg651uL9qFFHO570b57c9AEjIDnrmnIYBtBcXtNsy1Gm8s7UMvL0On9vFUB598pEUKy FZesVkdnU1zy+rSWtEXHm0QYkYoCwHLVI9+8RkfUGuys/pH37Vz7G3pTq1Of423Z/jOd qdWzlzMUcOCjelp36SvZrs0amedCEV4MEwlwa7QMriCSMjXRL6RH1WyAzUVOsI01rxzN UUuyALR516ATPW3l2gCJMB7why9IJqm9lnkK7ipcbEDK/vsS/9cf6RZapApOcAPdEw4Y cddw== X-Gm-Message-State: AJIora/9lNmAEZjEfGyDf8PgOpdbqrbzAtolKlcE4A3cwcV010bzrDqU HZLH7ftnHRviLe831d3ZsuQQz7aCndHlfO89bQ908kWHrWXGxA== X-Received: by 2002:a05:6602:2ace:b0:678:d781:2984 with SMTP id m14-20020a0566022ace00b00678d7812984mr8968851iov.186.1657537319833; Mon, 11 Jul 2022 04:01:59 -0700 (PDT) MIME-Version: 1.0 From: Naresh Kamboju Date: Mon, 11 Jul 2022 16:31:48 +0530 Message-ID: Subject: [next] arn: PM: domains: Delete usage of driver_deferred_probe_check_state() To: open list , Linux-Next Mailing List , Linux ARM , regressions@lists.linux.dev, lkft-triage@lists.linaro.org Cc: Geert Uytterhoeven , Ulf Hansson , Saravana Kannan , Anders Roxell Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Linux next arm BeagleBoard x15 device boot failed due to the following commit. The x15 did not event showed any crash log on the serial console. 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