Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp200959rwb; Fri, 12 Aug 2022 17:48:22 -0700 (PDT) X-Google-Smtp-Source: AA6agR7rUs/pP3w5viPwUKVWaf0lzy9xrjFRwVOYg/d9GYzkNSRkns3zBPOrZY3gmVKNLGqbeZD3 X-Received: by 2002:a17:903:2442:b0:16f:1319:d28c with SMTP id l2-20020a170903244200b0016f1319d28cmr6572159pls.95.1660351702125; Fri, 12 Aug 2022 17:48:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660351702; cv=none; d=google.com; s=arc-20160816; b=RiTiiURnvSYzpHi0iNoNaMBedZCOBZqMbH3evJ28L/GQojya8T40P1IW3C+zdjlsqQ OaSJXAn3SvhoeH/Rd6VrgjIobZEve45noTPj9w4/D2b0f5QTJB2VD5LFcTIUTqlwbv9h CBpWfH3viqY9kCZlK+B6Ag6nt2x4tcyjFCyDtX6IWA+7RtE4Ip2YrecGg+3Iw3IBj2XS wzENQRQ/mZQpjDULnRPSwL8A4xTbqOCkzvSCrnFHjwc0RqQoECMc8bdO1FyFOxdZs9dX OA4D/l8eDbwVOG/PS7d4FA7dbz88XASIuy/4AUEBEyaxa33ISTwqo5HPwIJSKVhK8af5 oCEg== 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=uEJMlpNek7i3LOabGfVfDJzU9omVsDJB8WJ8KQU8dlQ=; b=0d+Dm588UyVIYWxKhwwjnypS5nsKB9MFMWkDSAP/C0Lru1gzzPJ2LztbaRtMynTq/X zx2V4hASkM+v0LSe272QQfYXr8eE7NQEeuoBcKB+91115wW6p0bRDdmR/wUzS+uf3UQ1 aGPqUcdSCxkT2X40ClUzep8yzlmXL36OkidUUNnRlYWu28ceZ1rNbhI1jCOzwWWK68hK eQBI9APaN0iWZsE3SvcQH/J0n/5jlDp69r2HJAvi0bkW+g5K3VCNx0ooTlRJfRZ6Mrus EVQiwT3N6f1VLExWVYDK68riCRHiaEZcMZZjMJB3RBFUaO03JvIPRL3TRyNusibBFylO jjXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=Sve28P4P; 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 200-20020a6218d1000000b0052b1018030fsi3646983pfy.96.2022.08.12.17.48.08; Fri, 12 Aug 2022 17:48:22 -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=Sve28P4P; 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 S236346AbiHMAhs (ORCPT + 99 others); Fri, 12 Aug 2022 20:37:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236313AbiHMAhq (ORCPT ); Fri, 12 Aug 2022 20:37:46 -0400 Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0185BA895A for ; Fri, 12 Aug 2022 17:37:43 -0700 (PDT) Received: by mail-yb1-xb31.google.com with SMTP id k12so3809885ybk.6 for ; Fri, 12 Aug 2022 17:37:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=uEJMlpNek7i3LOabGfVfDJzU9omVsDJB8WJ8KQU8dlQ=; b=Sve28P4PqhXjk4ce663qu3BvVMqDHjCi61dQeacdpv1MmyLZIemKSXmz1ouaidH+nD DCGdK5i4Ch7HgoQYu2+MuRZb1hdCO0/FPhd9qeDOqxjkVCHGg2R+Gnyeg0Iehbqrq3fI BhTdclcBc6ylCKogS/Xb+6Ruw4y4rGUEfX4OWrb5LgSN7uaBCCsL7CaIRVhf/yoCdZwY 5yStn2+EnssoA4TZt9WEjTFainIwqSVJQcvvM/z7JPDA18RNrlU1B40NxbCV3SSxlaB9 fAzavnCk0q+JcNw+3GICKmVdS44T263eRwHsX5a+YURPIwUo3W7ZuZzltZC4DnsAXB3j CY9Q== 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=uEJMlpNek7i3LOabGfVfDJzU9omVsDJB8WJ8KQU8dlQ=; b=Cy3Oaydv3FqLmrWRhoavvHXD7KNAPMmxrKzkHq9jrxHAT25PV+ua1QWj4PU46nuW0/ I5i2VtfL8dirZZpYMIREhS09FwEXDx7SXReMtsRbOS16811W5BnkoBJD7vzBtO4SUF36 2TM2Gv4J4iSwVxsMNGcW2FKH42Z/xn3ODmDFwqVF9hSPz0tV/EwzmwJqhssRS3+TSjLk RDRqhKa56kN/z/eOgPbkOsBrEtZVFf7MxT7NgzfQ6JUdsotRZNHficPEs+hfDr4698+1 hrUNMqR45I9civWma6XYGdBrmQlbIPwoGgW+3o/WXMYdMWciXTN9xXfa+cuPNtDGCkJR 9aiw== X-Gm-Message-State: ACgBeo0avwBJWnvKFymqLdx+SLVluD4tss7jPIhtQxOZCCTPyNzEQsCh mZKgRCGReu3GpD2bHawKfIS4JE1yIl+Iqp5zFE4b8g== X-Received: by 2002:a05:6902:2cb:b0:684:aebe:49ab with SMTP id w11-20020a05690202cb00b00684aebe49abmr2097251ybh.242.1660351061876; Fri, 12 Aug 2022 17:37:41 -0700 (PDT) MIME-Version: 1.0 References: <20220810060040.321697-1-saravanak@google.com> <20220810060040.321697-10-saravanak@google.com> In-Reply-To: From: Saravana Kannan Date: Fri, 12 Aug 2022 17:37:05 -0700 Message-ID: Subject: Re: [PATCH v1 9/9] of: property: Simplify of_link_to_phandle() To: Tony Lindgren Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , Linus Walleij , Bartosz Golaszewski , Rob Herring , Frank Rowand , Geert Uytterhoeven , Magnus Damm , Andy Shevchenko , Daniel Scally , Heikki Krogerus , Sakari Ailus , Len Brown , Abel Vesa , Alexander Stein , Sudeep Holla , Geert Uytterhoeven , John Stultz , Doug Anderson , Guenter Roeck , kernel-team@android.com, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-acpi@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 Fri, Aug 12, 2022 at 2:47 AM Tony Lindgren wrote: > > Hi, > > * Saravana Kannan [220810 05:54]: > > The driver core now: > > - Has the parent device of a supplier pick up the consumers if the > > supplier never has a device created for it. > > - Ignores a supplier if the supplier has no parent device and will never > > be probed by a driver > > > > And already prevents creating a device link with the consumer as a > > supplier of a parent. > > > > So, we no longer need to find the "compatible" node of the supplier or > > do any other checks in of_link_to_phandle(). We simply need to make sure > > that the supplier is available in DT. > > This patch fixes booting for me, so it should be applied as a fix and > tagged with: > > Fixes: 5a46079a9645 ("PM: domains: Delete usage of driver_deferred_probe_check_state()") > > If there are dependencies to the other patches in this series, it might > make sense to revert commit 5a46079a9645 instead. Yes, there are dependencies on the rest of the patches in this series. For linux-next, I think we should pick up this series once we get more Tested-bys. So if 5a46079a9645 is causing any regression in stable branches, we should pick up the revert series [1] instead of this series we are replying to. [1] - https://lore.kernel.org/all/20220727185012.3255200-1-saravanak@google.com/ > Anyways, thanks for fixing the issue, for this patch: > > Reviewed-by: Tony Lindgren > Tested-by: Tony Lindgren Thanks! > For the process, looks like the earlier series got merged despite the > issues reported. If I'm not mistaken, the issues were reported after the series got picked up. And the series got some tested-by s before it was picked up. And once it's in git history, we obviously can't drop it. > And we had non-booting Linux next for at least some SoCs > for weeks. And now we are about to have a non-booting -rc1 unless things > get fixed fast. Annoying glitches, sigh.. Sorry for breaking some boards -- so mean "creative" corner cases :) This rewrite is way more flexible (removes a lot of limitations in fw_devlink) and hopefully this handles all the corner cases. We'll see. -Saravana