Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4257917rwb; Tue, 8 Nov 2022 14:35:22 -0800 (PST) X-Google-Smtp-Source: AMsMyM7t2fE8ubzIo5PsCpmnc2FW3qK44dggBpCgT7IBhkzeF/Uo0h84FPeEiEooAn+Wdh8g7iyP X-Received: by 2002:a17:907:8c81:b0:7ad:f0ae:f4b4 with SMTP id td1-20020a1709078c8100b007adf0aef4b4mr38003996ejc.563.1667946922543; Tue, 08 Nov 2022 14:35:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667946922; cv=none; d=google.com; s=arc-20160816; b=UYykx7P56esYH6RV3XqoKHpjQDca4kVDqfly1kCgt34An6iykST9bIKVIpPHfW/M0F D38q61rEiDLVUultj9LFaRR/omUkhEPRdhxFUXzro4fCjuhwSSW1jhqUipxzbDdPQek3 5f6TVPIQDJlsAYK7QbFqRK190CwMND1lH7jpZmgmRtpxc3QF1igHHB0JcjVNdrtuY37I yNH8ZsbMLnZ1OOIfPCBxOjOKET9vb8vUQ/7NruFPeVcSkdLv5oYU1FU5h/i1vw0EbQxc ET2mKOkluyhUl83XmEBY1LeQ09pcmvSB8DjmWylMGQv9hlORH0WZ7HG0tx3fhwAuK69p fENw== 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=0onMt+air2lNK6el66wGss5pMPyUXTVLi3zz0gmD1tU=; b=aQaPdDU4otVc4381ylceDlo27SlL+HnEcLOVgqnPaFd5RUuAHAgiaEpE+He/4djlOI 8P9HamsCVyRw8+rpBVBksHUCs6ksA3hCBhcTBATTEp+jQU3FlRCeYpTlJozzXnse8m7k Yn+qfdJGKBBs9oo9YyF1IeDWNJR5lhDDmL/IcS8HDeNndvpKBj5Wi2o5CEfyMQvtZ05j 5nq/hUkp2huVS2HOYVEl3EvAVDA7trX+QoqRV3cLOtjpakTMI+fmJMPGvvMm8JPh/PM4 ug4DiGKmDyh5E9Z8L7Sgf/e/cS43DgWMge3UxF7dqO1kSvtclQGMoysM/LLIm0TqsZrA kfdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=Bkzc2mkm; 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 b12-20020aa7df8c000000b0045a1e2373dbsi12813737edy.44.2022.11.08.14.35.01; Tue, 08 Nov 2022 14:35:22 -0800 (PST) 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=Bkzc2mkm; 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 S229900AbiKHU45 (ORCPT + 91 others); Tue, 8 Nov 2022 15:56:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229977AbiKHU4w (ORCPT ); Tue, 8 Nov 2022 15:56:52 -0500 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BE255D6B7 for ; Tue, 8 Nov 2022 12:56:52 -0800 (PST) Received: by mail-pl1-x629.google.com with SMTP id l2so15214235pld.13 for ; Tue, 08 Nov 2022 12:56:52 -0800 (PST) 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:subject:date:message-id:reply-to; bh=0onMt+air2lNK6el66wGss5pMPyUXTVLi3zz0gmD1tU=; b=Bkzc2mkmAhE0IfooRK3Sqm+LJEDbscvB/8Mtcavis1yMpw3YbvTuzd92c69U6SDhz2 0MXN/D7PjXKOaohVDWk/7fK9jeU08WfIQmlPOI/ud26TW1vpPFga1JJzVlCPvMYvhOgt MCBYFHAwDkAlYxK7K3LzL4j2BlVZdQ49bT+GWcXBxmB6NnWkKBiy1H6Z4X+uoiI4MTpZ YrdywVH2mQ90EIROULO3rnpsZomcMQQDis7SVMhTv+UmvTJzAn4nFOivziiLKPEX1iMZ B1GWw8h1SDgPWA0A6IFvzoRnF6OJpu9hzjTPRSr4gkXKcmdrCPSI4FuBql/IMc3IhCtB EBZQ== 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:subject:date:message-id :reply-to; bh=0onMt+air2lNK6el66wGss5pMPyUXTVLi3zz0gmD1tU=; b=DRZsVyNa6CswBhvI48g4iEv1pq8lm+anOHmeCrGetp5R5HxyU8v5wgPZqQrmNHh0xy P5UrlFHJgxdaLbiqarfdxq3l7y4R0WAMnYkm1Xen9SRrIA4LVNvckVTwfTvq6dewDU9v w0/oZeAx92d4gVVduBtkMrNl4DiAi3Vr13c81zCBI61d2QkBfASTl23bD7VNHv68UD93 9KoGz3BXA4Hn3BBOANkilCg3f1yLjELETAlUUcokMYNBBkZr0/mvCQw1E1R2ylVUwNgo YrvY/xdnIJ5aYtGrIJwmGOU5pvI3hEcb5P1W0//O46jSRsBCqLdgnQyykGPHsJh0Hfqk UMgg== X-Gm-Message-State: ACrzQf0y5odyEQvR40hLDoh7PbPNdh0UcFuhfgdx37zn/3j5ecJo3oy6 NPChoGu+CsgNUFJ0FofS5ASU07L3zRdgJut8oQvINw== X-Received: by 2002:a17:902:f786:b0:180:6f9e:23b with SMTP id q6-20020a170902f78600b001806f9e023bmr58978856pln.37.1667941011429; Tue, 08 Nov 2022 12:56:51 -0800 (PST) MIME-Version: 1.0 References: <20221103210650.2325784-1-sean.anderson@seco.com> <20221103210650.2325784-9-sean.anderson@seco.com> <20221107201010.GA1525628-robh@kernel.org> <20221107202223.ihdk4ubbqpro5w5y@skbuf> <7caf2d6a-3be9-4261-9e92-db55fe161f7e@seco.com> In-Reply-To: From: Saravana Kannan Date: Tue, 8 Nov 2022 12:56:15 -0800 Message-ID: Subject: Re: [PATCH net-next v2 08/11] of: property: Add device link support for PCS To: Rob Herring Cc: Sean Anderson , Vladimir Oltean , Heiner Kallweit , Russell King , netdev@vger.kernel.org, Eric Dumazet , Paolo Abeni , Jakub Kicinski , linux-kernel@vger.kernel.org, Andrew Lunn , Ioana Ciornei , Madalin Bucur , "David S . Miller" , Frank Rowand , devicetree@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, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 On Mon, Nov 7, 2022 at 1:36 PM Rob Herring wrote: > > On Mon, Nov 7, 2022 at 2:50 PM Sean Anderson wrote: > > > > On 11/7/22 15:22, Vladimir Oltean wrote: > > > On Mon, Nov 07, 2022 at 02:10:10PM -0600, Rob Herring wrote: > > >> On Thu, Nov 03, 2022 at 05:06:47PM -0400, Sean Anderson wrote: > > >> > This adds device link support for PCS devices. Both the recommended > > >> > pcs-handle and the deprecated pcsphy-handle properties are supported. > > >> > This should provide better probe ordering. > > >> > > > >> > Signed-off-by: Sean Anderson > > >> > --- > > >> > > > >> > (no changes since v1) > > >> > > > >> > drivers/of/property.c | 4 ++++ > > >> > 1 file changed, 4 insertions(+) > > >> > > >> Seems like no dependency on the rest of the series, so I can take this > > >> patch? > > > > > > Is fw_devlink well-behaved these days, so as to not break (forever defer) > > > the probing of the device having the pcs-handle, if no driver probed on > > > the referenced PCS? Because the latter is what will happen if no one > > > picks up Sean's patches to probe PCS devices in the usual device model > > > way, I think. > > > > Last time [1], Saravana suggested to move this to the end of the series to > > avoid such problems. FWIW, I just tried booting a LS1046A with the > > following patches applied > > > > 01/11 (compatibles) 05/11 (device) 08/11 (link) 09/11 (consumer) > > =================== ============== ============ ================ > > Y N Y N > > Y Y Y Y > > Y Y Y N > > N Y Y N > > N N Y N > > > > and all interfaces probed each time. So maybe it is safe to pick > > this patch. > > Maybe? Just take it with the rest of the series. > > Acked-by: Rob Herring Let's have Vladimir ack this. I'm not sure if it's fully safe yet. I haven't done the necessary fixes for phy-handle yet, but I don't know how pcs-handle and pcsphy-handle are used or if none of their uses will hit the chicken and egg problem that some uses of phy-handle hit. -Saravana