From nobody Sat Apr 18 19:23:25 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3020BC43334 for ; Mon, 11 Jul 2022 11:26:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231430AbiGKL0o (ORCPT ); Mon, 11 Jul 2022 07:26:44 -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-Google-Smtp-Source: AGRyM1u0MaIJ0uypZPWBkAr2NPKGat9OktcIuoHO3nP77sJq2pHTDV3AU8nizI+RjOYBzF88RInvbapcqca0SsR3g6c= 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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=3Don 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@goog= le.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