Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1002327iog; Thu, 30 Jun 2022 14:53:07 -0700 (PDT) X-Google-Smtp-Source: AGRyM1swR/C/AR3E2lP8GUMiD4AzsTIUNVcVlc7JpRBrDLqlSugdLn7j0JK+2LQYSclFAmSS4oOW X-Received: by 2002:a17:903:2305:b0:16a:6b9c:2b59 with SMTP id d5-20020a170903230500b0016a6b9c2b59mr17852524plh.122.1656625987047; Thu, 30 Jun 2022 14:53:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656625987; cv=none; d=google.com; s=arc-20160816; b=m3xEQ6ixLbbIr1ZG4nV5aodC/FmTezGc56uzBbMXgHcfoQXPDPB9w3AEQATkfAI9Ah IaDNXd5cvown19PP8gklkXpKhz3Vdvuz9Nd2lHD1cIXUm/QcsLvX//1OTTFJCLUv8NDd fb8l6JyhOgGcwUQuZNgg2s1X1lcgIv8Vd6RhUfCfv4DXWHmceTRbtJAhQnxhOAb6nuZV /jR4d/TuuLYO4/XN212+pQsD1Q18J5QFFq2BsqXM93POd4Z8xIUYMmId/fpfPFiahwS/ Vo+0ewY59mLyMOTq9PzzCmSEWfSPhMxqiXyuefriQm9M2p+7Hce6uZOdBMAe6kjsc+po FQfA== 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=ZN5bjp+CSDFhFhbJsMFmtuRpQ8ns1bw5njEINAKKyLk=; b=tJVpUT+hd3LxG1KP4ILOuFNjVqQ0gezEtJl/aD81lDhkNu/HcE/mHklV4a6AnWy5uY XV3M2K6cv3XfMwu22FB4rGJkLkTcALx2x8ZiapdUj3sj6Q69+RuPzeo6Cqqtq801FBKE IUWuKO2EfifHEQwZ1PCHDVIQmutoNg0r6WDTS1oAIBRVQOByVeayXkvaXFUwbjBjVuDM fIMRqxiAOyAv64WBoABXYx9lWxpt8GD7ZOZLtMtrTx2g9wo8T07DxvtP1vCFaVmz9dN2 pxuKt2T0b+FpcQGKPxXfcRFBvGX+dkem9dhhVCUewhQzldwVrbJWzkkSFDB02GzPZaxw a9UQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=J7oaHJZT; 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 hf13-20020a17090aff8d00b001ec9f5e130bsi851753pjb.58.2022.06.30.14.52.52; Thu, 30 Jun 2022 14:53:07 -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=J7oaHJZT; 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 S237616AbiF3VtA (ORCPT + 99 others); Thu, 30 Jun 2022 17:49:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237152AbiF3Vs6 (ORCPT ); Thu, 30 Jun 2022 17:48:58 -0400 Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03F9B4F195 for ; Thu, 30 Jun 2022 14:48:57 -0700 (PDT) Received: by mail-yb1-xb36.google.com with SMTP id l11so707890ybu.13 for ; Thu, 30 Jun 2022 14:48:56 -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=ZN5bjp+CSDFhFhbJsMFmtuRpQ8ns1bw5njEINAKKyLk=; b=J7oaHJZT3Fs9hj/qcvtSz8rvN2LErR8B66dk9tOh5cGjlZZdzRCh6uYuX1rq+s9sPE 5LBznQs1KlXahSAO2fMu9CVd8U/xFTD5COoswvJXqfsd11NuaknT9O0J/BhK1snAxjL9 wS88v9/n0JiqV1DtiZ6pCBNR8ZGE/dif8sgqPWL7eCP6Gw35aSfJhm1MfyJlpDW85Sxb flMxDOQhFUxJM0YOze5thFgCSaHux5ObQ5hBrBIj80dYWrUnWEjaRvD4OaLuB4DvLeyi MFtJxYG9O8nFSXWsdlyb4yGNGWwI5KggQgJDndhzsrpcFKmT1agUjK3MwC43+shMF82n +LBw== 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=ZN5bjp+CSDFhFhbJsMFmtuRpQ8ns1bw5njEINAKKyLk=; b=GpoJWcLk3SYqg1R3gEqVllBlvZbFgAFQIuJ4yz/t76FMGu3s9oJxKKvZ65lVq2F6wI lPrktt2WHIdVjpUdhgvxbj4FvxQnnuZDPkXE0p1pdtjM1LYipTKwgnAtHXBKXhZsakae HHvX1p5MDuaUfh1N9ZfgYH2D5ngGV+5SUs2HCi4/oJnUX7SpyGpZHQ93HqxisofaftS0 1AlZ229h/CmD+UM45PDetk6g9uGwMNGtd8QLUPNd+NzDQVPGendOo6fdLkrt3l2mvMYl QjTFXRrcZkCnAYL+6OwEWJrFAeIYR+36TGWGKB/z7F+xbc76vxz5COL77usxNbcj1GHR DB2A== X-Gm-Message-State: AJIora/1G3JrE+5VLO2PtHPho1jw1cKbD6lLNJ7Gg5YqcCdayePt7JMI dTuueggaJjXOE/r0WPrQrbGeyblB9RgSUJgacbZh2w== X-Received: by 2002:a25:9947:0:b0:663:ec43:61eb with SMTP id n7-20020a259947000000b00663ec4361ebmr11686355ybo.115.1656625736052; Thu, 30 Jun 2022 14:48:56 -0700 (PDT) MIME-Version: 1.0 References: <62bdec26.1c69fb81.46bc5.2d67@mx.google.com> In-Reply-To: From: Saravana Kannan Date: Thu, 30 Jun 2022 14:48:19 -0700 Message-ID: Subject: Re: next/master bisection: baseline.bootrr.imx6q-pcie-pcie0-probed on kontron-pitx-imx8m To: Mark Brown Cc: Geert Uytterhoeven , Ulf Hansson , Greg Kroah-Hartman , kernelci-results@groups.io, bot@kernelci.org, gtucker@collabora.com, Michael Walle , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org 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, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham 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 Thu, Jun 30, 2022 at 11:44 AM Mark Brown wrote: > > On Thu, Jun 30, 2022 at 11:32:06AM -0700, KernelCI bot wrote: > > The KernelCI bisection bot identified a failure to probe the PCI bus on > kontron-pitx-imx8m in -next resulting from commit (5a46079a96451 PM: > domains: Delete usage of driver_deferred_probe_check_state()) with at > least an arm64 defconfig+64K_PAGES. > > The only logging I see from PCI in the failing boot is: > > <6>[ 0.580973] PCI: CLS 0 bytes, default 64 > > there's none of the host bridge enumeration starting with > > <6>[ 2.394399] imx6q-pcie 33800000.pcie: host bridge /soc@0/pcie@33800000 ranges: > <6>[ 2.396012] imx6q-pcie 33c00000.pcie: host bridge /soc@0/pcie@33c00000 ranges: > > that is seen with working boots. > > I've left the full bot report below, it's got a Reported-by tag, links > to more details including full boot logs and more. The bot checked that > reverting the patch seems to fix the problem. Thanks for the report. I'll look into this alongside the issue Tony reported. -Saravana > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > > * This automated bisection report was sent to you on the basis * > > * that you may be involved with the breaking commit it has * > > * found. No manual investigation has been done to verify it, * > > * and the root cause of the problem may be somewhere else. * > > * * > > * If you do send a fix, please include this trailer: * > > * Reported-by: "kernelci.org bot" * > > * * > > * Hope this helps! * > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > > > > next/master bisection: baseline.bootrr.imx6q-pcie-pcie0-probed on kontron-pitx-imx8m > > > > Summary: > > Start: 6cc11d2a17592 Add linux-next specific files for 20220630 > > Plain log: https://storage.kernelci.org/next/master/next-20220630/arm64/defconfig+CONFIG_ARM64_64K_PAGES=y/gcc-10/lab-kontron/baseline-kontron-pitx-imx8m.txt > > HTML log: https://storage.kernelci.org/next/master/next-20220630/arm64/defconfig+CONFIG_ARM64_64K_PAGES=y/gcc-10/lab-kontron/baseline-kontron-pitx-imx8m.html > > Result: 5a46079a96451 PM: domains: Delete usage of driver_deferred_probe_check_state() > > > > Checks: > > revert: PASS > > verify: PASS > > > > Parameters: > > Tree: next > > URL: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > > Branch: master > > Target: kontron-pitx-imx8m > > CPU arch: arm64 > > Lab: lab-kontron > > Compiler: gcc-10 > > Config: defconfig+CONFIG_ARM64_64K_PAGES=y > > Test case: baseline.bootrr.imx6q-pcie-pcie0-probed > > > > Breaking commit found: > > > > ------------------------------------------------------------------------------- > > 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 739e52cd4aba5..3e86772d5fac5 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); > > ------------------------------------------------------------------------------- > > > > > > Git bisection log: > > > > ------------------------------------------------------------------------------- > > git bisect start > > # good: [d9b2ba67917c18822c6a09af41c32fa161f1606b] Merge tag 'platform-drivers-x86-v5.19-3' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86 > > git bisect good d9b2ba67917c18822c6a09af41c32fa161f1606b > > # bad: [6cc11d2a1759275b856e464265823d94aabd5eaf] Add linux-next specific files for 20220630 > > git bisect bad 6cc11d2a1759275b856e464265823d94aabd5eaf > > # good: [7391068f14aafb8c5bb9d5aeb07ecfa55c89be42] Merge branch 'drm-next' of https://gitlab.freedesktop.org/agd5f/linux > > git bisect good 7391068f14aafb8c5bb9d5aeb07ecfa55c89be42 > > # good: [17daf6a2ab5178cf52a20d1c85470ea4638d4310] Merge branch 'next' of git://git.kernel.org/pub/scm/virt/kvm/kvm.git > > git bisect good 17daf6a2ab5178cf52a20d1c85470ea4638d4310 > > # bad: [a143ea0f3ce59385089e6e7b71b04fd0b5621bd8] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git > > git bisect bad a143ea0f3ce59385089e6e7b71b04fd0b5621bd8 > > # bad: [57b6609eb7251280cf9f34fdebf1244f10673749] Merge branch 'icc-next' of git://git.kernel.org/pub/scm/linux/kernel/git/djakov/icc.git > > git bisect bad 57b6609eb7251280cf9f34fdebf1244f10673749 > > # bad: [eb3fd63a935b759df99bfe4a6b13c820204f81d3] Merge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git > > git bisect bad eb3fd63a935b759df99bfe4a6b13c820204f81d3 > > # good: [048914d1bed271f04f726b7f78d0bef8cd1809f5] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi.git > > git bisect good 048914d1bed271f04f726b7f78d0bef8cd1809f5 > > # good: [40a959d7042bb7711e404ad2318b30e9f92c6b9b] usb: host: ohci-ppc-of: Fix refcount leak bug > > git bisect good 40a959d7042bb7711e404ad2318b30e9f92c6b9b > > # good: [849f35422319a46c2a52289e2d5c85eb3346a921] Merge tag 'thunderbolt-for-v5.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt into usb-next > > git bisect good 849f35422319a46c2a52289e2d5c85eb3346a921 > > # bad: [a52ed4866d2b90dd5e4ae9dabd453f3ed8fa3cbc] mwifiex: fix sleep in atomic context bugs caused by dev_coredumpv > > git bisect bad a52ed4866d2b90dd5e4ae9dabd453f3ed8fa3cbc > > # bad: [f516d01b9df2782b9399c44fa1d21c3d09211f8a] Revert "driver core: Set default deferred_probe_timeout back to 0." > > git bisect bad f516d01b9df2782b9399c44fa1d21c3d09211f8a > > # bad: [f8217275b57aa48d98cc42051c2aac34152718d6] net: mdio: Delete usage of driver_deferred_probe_check_state() > > git bisect bad f8217275b57aa48d98cc42051c2aac34152718d6 > > # bad: [24a026f85241a01bbcfe1b263caeeaa9a79bab40] pinctrl: devicetree: Delete usage of driver_deferred_probe_check_state() > > git bisect bad 24a026f85241a01bbcfe1b263caeeaa9a79bab40 > > # bad: [5a46079a96451cfb15e4f5f01f73f7ba24ef851a] PM: domains: Delete usage of driver_deferred_probe_check_state() > > git bisect bad 5a46079a96451cfb15e4f5f01f73f7ba24ef851a > > # first bad commit: [5a46079a96451cfb15e4f5f01f73f7ba24ef851a] PM: domains: Delete usage of driver_deferred_probe_check_state() > > ------------------------------------------------------------------------------- > > > > > > -=-=-=-=-=-=-=-=-=-=-=- > > Groups.io Links: You receive all messages sent to this group. > > View/Reply Online (#28727): https://groups.io/g/kernelci-results/message/28727 > > Mute This Topic: https://groups.io/mt/92093224/1131744 > > Group Owner: kernelci-results+owner@groups.io > > Unsubscribe: https://groups.io/g/kernelci-results/unsub [broonie@kernel.org] > > -=-=-=-=-=-=-=-=-=-=-=- > > > >