Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1141299iog; Thu, 30 Jun 2022 18:23:16 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s/5mvBdXT3jdH4EV5Vdla3QlEmJZ7Qa2TaEkNO0nWmA3McmFG74ViXB09tpoioIxtfwXXW X-Received: by 2002:a17:906:db:b0:718:d986:d3d7 with SMTP id 27-20020a17090600db00b00718d986d3d7mr11658778eji.532.1656638596136; Thu, 30 Jun 2022 18:23:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656638596; cv=none; d=google.com; s=arc-20160816; b=wol45qlbtD9tAMvbhqfz8mHeHwRaxpXfhridzgAsTT0t+nLZSUy3oMsRixuMeqQ5Fn rTBD5Tf2QlcJa4C9dWSMMo/LUU/eBjQVPFuJWd0afFnBmxXTeBagZrnknci2Ov9ikP3x Elo35j8aAJfxZFO2ma0SFfdDMhVtI6op9x/bCFY16wBWqIUys6IApBsv45ptJ+CIizb9 nbvgBtuCZEPYi5cCSXDFISsJlbSyfZCxz27LU62rZfX3Uf+4pvtBIQGaWoXMLiFe/ikO 6Ni3R0Qsi6ExHg0xoS56BcglHLH3zxlkvrTy6o92nk52XC1SwG3hdrFPmocDc/rJKtQc hawg== 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=5e2VOFezjxqspoL1d+0n+t2eO3x2RETtacSMN5zGdAs=; b=yiO4TkBu/qDUyTXCk4gne9Tl+7XxxOSpWcctadKN7jij3CMhB3pF8SWIVpUB8wwlua jxUEqEJxnaehMHuVuNJRcljv+J54to8mNH+aus8CcLUjT+PkMl885obfDAjvtBkhAUXX Yqy4p3A4DYR/BPUkL38i6VIufyclYn/d2CI9xwGhTuyyjHeSdbiL1T2ycxMUiNoqn2RN zG0cQ7mqQDee7FIE5t/5TyyPH52mb1/r1b3xo/fPlZVOYSqri8VpYyWUhZx1xKMClUoC jG+42tdWyfqfehJddbYsl9J0msM1+M2UBImew9pw9O1ZZpEeW1ZfsAOQmlN4yMcMyTyn jMvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=DsTv+bcU; 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 nb28-20020a1709071c9c00b00718d2d8bfbfsi25447658ejc.316.2022.06.30.18.22.51; Thu, 30 Jun 2022 18:23:16 -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=DsTv+bcU; 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 S232241AbiGABCq (ORCPT + 99 others); Thu, 30 Jun 2022 21:02:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231552AbiGABCp (ORCPT ); Thu, 30 Jun 2022 21:02:45 -0400 Received: from mail-yw1-x1129.google.com (mail-yw1-x1129.google.com [IPv6:2607:f8b0:4864:20::1129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14AEB599DD for ; Thu, 30 Jun 2022 18:02:41 -0700 (PDT) Received: by mail-yw1-x1129.google.com with SMTP id 00721157ae682-3177f4ce3e2so9686257b3.5 for ; Thu, 30 Jun 2022 18:02:41 -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=5e2VOFezjxqspoL1d+0n+t2eO3x2RETtacSMN5zGdAs=; b=DsTv+bcUYNl2fnBIUQ6Ro+r6VNjE0cbQFXA4vyDI5HQqsh4HPnaE2QRJLCe7v9S8BY /sPM6wwB4Thmd9ctc71kf5zNualdBzDI6pzuSH459ZT6uGsbbeVr1zkhsrR+9SCGrkga eFzxQdtX2LTtB0U0e+oAHULZ6H3/8wxj482TXtyUaG0bxrzPX3x3nOVIL6kCog6d5gcg LmMqOOaAwAH0GSveeP9usrtvR9mS1vCO9kL3m2e9ANdbcSFg50/oCi3Dy/o2rg1RtfgE N/MvAq/ur9OAzHma+pmZ1GlbMoV3k8KvhiBi/O3LEVCA5tZnGyDDaTwqWz6XghYiU8PM XgFQ== 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=5e2VOFezjxqspoL1d+0n+t2eO3x2RETtacSMN5zGdAs=; b=io1Bi3Ho/eaAyze+943JGXdU0iypX5i6chCp5C76uvvGO6pjYgvEPof0SXmnctPQzS CHDVjqJ/DzppkaHNNW5eVxvxWgtmuqJHBl2xvhNzojM5xx15tFxc78GZZlpTbxQTlBoq sw8zGctSWw6DaG4bT2OCh5sHIcz4tIzH44B3iF6+o0xx/ZuyzmSkW6c4c3F7L3uDn/Gv eEekmWOgK8ZR8UiMVcrvkIK/YQl0AGy7whiKK/F85VvSDI6a2M0LW5aUnKkfxaEW+BLW z9Bf1wtoLUTWGSKniNnDY2nL9ZtGJI1po8vwiQoHGmZ/aLeOG8P7dH8QXRQc7zSMMj7D VuIQ== X-Gm-Message-State: AJIora+Kiqcvq7v32yGCMSCfEdrdKf8Ha0XMaMYx/MKaIATTb2aYb2Z/ bd67bEx3mFohODr97GKiQgAbEKPxoTW6w9t4Vw/5bQ== X-Received: by 2002:a0d:eace:0:b0:317:87ac:b3a8 with SMTP id t197-20020a0deace000000b0031787acb3a8mr14172406ywe.126.1656637360041; Thu, 30 Jun 2022 18:02:40 -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 18:02:04 -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 2:48 PM Saravana Kannan wrote: > > 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. Hi Mark, I think the root cause is the same as the issue I debugged here: https://lore.kernel.org/lkml/CAGETcx_1qa=gGT4LVkyPpcA1vFM9FzuJE+0DhL_nFyg5cbFjVg@mail.gmail.com/ The patch attached to that email will probably fix this issue. I haven't dealt with Kernel CI bot before. Is there a way to get it to test a patch? Thanks, 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] > > > -=-=-=-=-=-=-=-=-=-=-=- > > > > > >