Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1017858rwb; Thu, 18 Aug 2022 17:09:26 -0700 (PDT) X-Google-Smtp-Source: AA6agR4n8L8Je3gE+YyUtQdxfAhBXk8MNZVySEmjXVx74TpgDkW5Rci8BghSqIkdQQO2eKCLbQO1 X-Received: by 2002:a17:907:1b12:b0:72f:9b44:f9e with SMTP id mp18-20020a1709071b1200b0072f9b440f9emr3250616ejc.653.1660867766022; Thu, 18 Aug 2022 17:09:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660867766; cv=none; d=google.com; s=arc-20160816; b=ERgpgHl4QGW4O+bppdLF+e2Ey5W9gpJrcnrnkFBAQIreFiQoP3XVSiepMWuHDbLhXc HmmZIDWB2xR55QPRGIp6bq5ivruSradGoyv64PmZxc8oJpwJjjYFmEuOb/ZsSMV5yoEi iZGvT9OBVELMMc/tZ/PdyrL3qkqUS/LR8F7g2iNDXktfdBWsPr5g9tfDaj0iFYLzU/c2 kI16Ki2MwurIhOzcElvfu7wWuULx/dCptdo+gj6q3T37HmiABnogSoqkE9uh8IdeRS6K Fa3OlcUtAQQxoaJeWvRmsIq/HtM8BQ1F8uBz20A0OaI/Fk8tBYPfe/nDBnIul7gYHaDT zIug== 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=Rzm+KtIn754eMjCxQ82CIRKVVENOEzFQwaupdFFD6rg=; b=Y525qGX0oRm1+pAeGn5d7mLlVY//kLOWcaZH1epLb6lDHW7gF+oRSmkWyXIczLZFRJ F2MYpUqR7V4EsQLSx2a/Ej7fdvlJfnGywwVAKPaYK1ktu15mNhcBjFkHBFOaYGwLVgjL npXma8mImq9s1lWnQp5FPkdVuNFf2mxZSeNPK1qVgVjje4pQjn7YJc6RBj0+7THhjlfl 7wKCQXuFn134FxjVgJ/QHgSpb2OnKLfdTufZWqNvBlvV663vbAANyMm87CJ4RFobZW8q R3OFWTAve6eUHh8Lmx9MMJCD0E0Oj7iybnTgHcNCZ6cLdCkRkSNZTclDO7VWAWThp5Jd VbYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=XlDDcYz7; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ji16-20020a170907981000b0073832cabf3csi1977253ejc.567.2022.08.18.17.08.53; Thu, 18 Aug 2022 17:09:26 -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=@chromium.org header.s=google header.b=XlDDcYz7; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245331AbiHRXbH (ORCPT + 99 others); Thu, 18 Aug 2022 19:31:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233314AbiHRXbG (ORCPT ); Thu, 18 Aug 2022 19:31:06 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06748DDA87 for ; Thu, 18 Aug 2022 16:31:05 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id e13so3690734edj.12 for ; Thu, 18 Aug 2022 16:31:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=Rzm+KtIn754eMjCxQ82CIRKVVENOEzFQwaupdFFD6rg=; b=XlDDcYz7LkA3r9vk4JO6QqADVToOD+VhNaUP+9CpFskuaiTzzxtBqRPuyWO+AI8iu3 OK3BAJujEr552Csc777cr9/3osRvBPGE++t6VCyDNk9XHRlWxwEk81fUpLrjFovfYNQD u62b13bTPH+lPwlL0RxEEx4zcZpHNydQjhhUM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=Rzm+KtIn754eMjCxQ82CIRKVVENOEzFQwaupdFFD6rg=; b=aG2tP2zeEccfgpXmg8G8C8RBjpZsjlB8KwGl8KM9yOVkKS3/Wq5FqPMqWLKbFqvtd8 CeXFIgVriRNjKASHwsCLLPYA+/UOFPdfeSNTanP6/w4RlFTRcz71K+yxk29Ly+jqAvWQ AxBQCAbM3nlGI408t23ARHTfWhoOY66zZdbcFBbGYxVx1o+O37pk2HbBUctntae+NzyU 8aLTTLW+H9LUg49Vi2iHFZk7gNKIqCMRcprRovPsowCY+d0UnzrOvr5l4n2BWP6/YdjW IkUIGFT+PsTJXApKcmI3styZS1TDrL71stBi0k2BYlqliopnoGqxjveXCU2Om8lnyErb rjog== X-Gm-Message-State: ACgBeo0nwMJu2ylRzf3qK8UbrgbiVZBjrDJ0xlepqpnU6vID+NpjK00Y wmBynT/m2h0nS7U34UbbYwzM5yWVjK9EYwPc X-Received: by 2002:a05:6402:2753:b0:43a:d6f2:9839 with SMTP id z19-20020a056402275300b0043ad6f29839mr3782957edd.73.1660865463357; Thu, 18 Aug 2022 16:31:03 -0700 (PDT) Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com. [209.85.221.42]) by smtp.gmail.com with ESMTPSA id ss8-20020a170907038800b007385e929344sm1458752ejb.55.2022.08.18.16.31.00 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 Aug 2022 16:31:01 -0700 (PDT) Received: by mail-wr1-f42.google.com with SMTP id h5so2549154wru.7 for ; Thu, 18 Aug 2022 16:31:00 -0700 (PDT) X-Received: by 2002:a05:6000:1541:b0:222:cf65:18d7 with SMTP id 1-20020a056000154100b00222cf6518d7mr2611729wry.659.1660865460285; Thu, 18 Aug 2022 16:31:00 -0700 (PDT) MIME-Version: 1.0 References: <20220727185012.3255200-1-saravanak@google.com> In-Reply-To: From: Doug Anderson Date: Thu, 18 Aug 2022 16:30:47 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v1 0/3] Bring back driver_deferred_probe_check_state() for now To: Luca Weiss Cc: Saravana Kannan , Tony Lindgren , Greg Kroah-Hartman , "Rafael J. Wysocki" , Kevin Hilman , Ulf Hansson , Pavel Machek , Len Brown , Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Naresh Kamboju , kernel-team@android.com, LKML , Linux PM , netdev Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Hi, On Tue, Aug 16, 2022 at 6:31 AM Luca Weiss wrote: > > Hi Saravana, > > On Tue Aug 16, 2022 at 1:36 AM CEST, Saravana Kannan wrote: > > On Mon, Aug 15, 2022 at 9:57 AM Luca Weiss wrote: > > > > > > On Mon Aug 15, 2022 at 1:01 PM CEST, Tony Lindgren wrote: > > > > * Saravana Kannan [700101 02:00]: > > > > > More fixes/changes are needed before driver_deferred_probe_check_state() > > > > > can be deleted. So, bring it back for now. > > > > > > > > > > Greg, > > > > > > > > > > Can we get this into 5.19? If not, it might not be worth picking up this > > > > > series. I could just do the other/more fixes in time for 5.20. > > > > > > > > Yes please pick this as fixes for v6.0-rc series, it fixes booting for > > > > me. I've replied with fixes tags for the two patches that were causing > > > > regressions for me. > > > > > > > > > > Hi, > > > > > > for me Patch 1+3 fix display probe on Qualcomm SM6350 (although display > > > for this SoC isn't upstream yet, there are lots of other SoCs with very > > > similar setup). > > > > > > Probe for DPU silently fails, with CONFIG_DEBUG_DRIVER=y we get this: > > > > > > msm-mdss ae00000.mdss: __genpd_dev_pm_attach() failed to find PM domain: -2 > > > > > > While I'm not familiar with the specifics of fw_devlink, the dtsi has > > > power-domains = <&dispcc MDSS_GDSC> for this node but it doesn't pick > > > that up for some reason. > > > > > > We can also see that a bit later dispcc finally probes. > > > > Luca, > > > > Can you test with this series instead and see if it fixes this issue? > > https://lore.kernel.org/lkml/20220810060040.321697-1-saravanak@google.com/ > > > > Unfortunately it doesn't seem to work with the 9 patches I also tried with the 9 patches, plus an extra fix that Saravana provided. They didn't fix my use case either. Do we want to land the reverts as a stopgap so that people aren't broken? For reference, the device tree for the device I'm testing on is `arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r3-lte.dts`. The device that's not probing is the bridge chip, AKA 2-002d. Presumably something about the bridge chip cycles is confusing things since the remote endpoint that sn65dsi86 needs is actually a child of sn65dsi86 (the panel). -Doug