Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp741356imn; Thu, 28 Jul 2022 14:25:39 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sgzey2baVjVp7ZNai15uiFpje6tRBW7OJHZVFzjxx3zzNet50+SaNppFhhM9DoOhpUMFiQ X-Received: by 2002:a05:6402:51d1:b0:43b:f89e:a751 with SMTP id r17-20020a05640251d100b0043bf89ea751mr770935edd.391.1659043538779; Thu, 28 Jul 2022 14:25:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659043538; cv=none; d=google.com; s=arc-20160816; b=ohkBreJY3qwlAiejdD/ELn807ehFWk3odx41YLWME8SSg0FSrFEmuHMWxD/nSdc0ti tG684VDxYfwa7t5VjVpQ5aMvppCRApzmFPaq8QVFpKTntXxhFrwH7Sk+NxuD41imK789 q1sE4OfEH0u9fECP0YVntpH+NFN0nRsnrIKkB7Shbszt/fQ20ruoZh4ENVgiAfzUJA+9 Y+rb7huFPBizb+QtwGAuvFuD/uD7YGTuZsdkEHyGUAj7LtPgLnsXRpZzAXGwY8mYlBrm Vb1UHqg2hIx3/9/JTmcKsuWNWMgeAGc+gS/FtVDk4Be0X01N3qvIK2QZR9D8+BXpkw/y vNUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Ij74Th/vMmEz+gNqy9uYn3se71AQn1yKD6gr4cPFKYw=; b=wg9iYOjZr8f8Mi0SQ14BPhT0ZpI/oI0TLBuYEl+gcmJTTQg7fELqLyFA7utQSTYkgZ gu9nSb0iNZft57WwjmjZLiR1I6imlZCsFnQrf85uHepO/zqcGUSfJu7eOL60754IUTla dNDML2+4sMjBDnLJ0EXaPKdGCL+0chxBfWfGQtF/qfpGHN5bmFGyNfxdpZAtAJ8Y/yVS qMNX32DqZugaBpx0+adJBSgbM3eKjFd9ynkJwN7t5rnqaE9GQwXHCV7tJVI87duBHK8C wxZL5EDIO86MyQ/t3hYeAg8Xpc7HpszIT5556z4RAxCTbIvLFVVPzjbp03ssXOBcpei7 fbFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@semihalf.com header.s=google header.b=j7pelOj1; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=semihalf.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m15-20020a056402510f00b0043a6e78e365si1774067edd.72.2022.07.28.14.25.14; Thu, 28 Jul 2022 14:25:38 -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=@semihalf.com header.s=google header.b=j7pelOj1; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=semihalf.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232531AbiG1VXx (ORCPT + 99 others); Thu, 28 Jul 2022 17:23:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229570AbiG1VXp (ORCPT ); Thu, 28 Jul 2022 17:23:45 -0400 Received: from mail-ot1-x32a.google.com (mail-ot1-x32a.google.com [IPv6:2607:f8b0:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 367817437F for ; Thu, 28 Jul 2022 14:23:42 -0700 (PDT) Received: by mail-ot1-x32a.google.com with SMTP id q6-20020a05683033c600b0061d2f64df5dso583822ott.13 for ; Thu, 28 Jul 2022 14:23:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Ij74Th/vMmEz+gNqy9uYn3se71AQn1yKD6gr4cPFKYw=; b=j7pelOj1pzxgg1efBlCqYELBpRD65FFTJ8tw9tnnP84FtDNTCds2dATWDgYxW32w38 t8KyLhxB5JAS/1p7C82l2QwTRyznzPlz4aZlJHhzvyptLx29+F/pwQoMted7yZH54DZS txbUvMkJKVmf01otDG2x5kWNfWC3Rpx4tO50X3hDtaDhplalr0Q7MSADe9KUr83YUMe6 x8uCmEwJ8rkgYBt+bIrQZcpE/+gHUNsEqf92ydSp+PR2T7aevca/+3/GU4A3VW6LX3A8 11y78NVo8GuXrZNRcJ7/TREwqy/kc4Tw/5Y+Dz4i+vUPH09PYzgOf/25//tlJTxsdSxP DQyg== 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:content-transfer-encoding; bh=Ij74Th/vMmEz+gNqy9uYn3se71AQn1yKD6gr4cPFKYw=; b=exr+aXJXWTocjBvARIl0Par77sU0+/zVtuOlER0G+Mooce++Z+qgvB1H6hWRZQuzd6 g31OiZHSXRG1DT3iP8DKWc5JNbMdNnzLFL/hdHg2BAYIDrXHWJMCGULzDwu0NGr4Gb7Y KZQvCxITbRthcYJ0tlkVSwliDD+27038Swq5amRYnYdl0RltSFrCbNKGqEV261g7ogGV 6+tQj0/P2JFifsdnHOjYUvCMUhnxH84E8ymbGS8KsJTuOyiCpyE3sVxxXfTa2R5MpXXE pa8Nu7lJZnOopOcmAFj968Yr/kCgFV4ih/aMDf7SCyzXejD0mLBCPNKWEjax8pl05iad r00w== X-Gm-Message-State: AJIora/+AcvlnxP5cbJLm1aOn4hx6swvL4oQXSt7ppYMnggkVLz6QvUp 26/ELPe4EkZEaAXxm6VciBqWxZ6cFzWK0QAflSEgUg== X-Received: by 2002:a9d:73d0:0:b0:61c:8d31:6981 with SMTP id m16-20020a9d73d0000000b0061c8d316981mr349015otk.99.1659043421462; Thu, 28 Jul 2022 14:23:41 -0700 (PDT) MIME-Version: 1.0 References: <20220727064321.2953971-1-mw@semihalf.com> <20220727064321.2953971-7-mw@semihalf.com> <20220727143147.u6yd6wqslilspyhw@skbuf> <20220727163848.f4e2b263zz3vl2hc@skbuf> <20220727211112.kcpbxbql3tw5q5sx@skbuf> <20220728195607.co75o3k2ggjlszlw@skbuf> In-Reply-To: From: Marcin Wojtas Date: Thu, 28 Jul 2022 23:23:31 +0200 Message-ID: Subject: Re: [net-next: PATCH v3 6/8] net: core: switch to fwnode_find_net_device_by_node() To: Andrew Lunn Cc: Vladimir Oltean , Linux Kernel Mailing List , ACPI Devel Maling List , netdev , "Rafael J. Wysocki" , Andy Shevchenko , Sean Wang , Landen Chao , Linus Walleij , Vivien Didelot , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Russell King - ARM Linux , Heiner Kallweit , Grzegorz Bernacki , Grzegorz Jaszczyk , Tomasz Nowicki , Samer El-Haj-Mahmoud , upstream@semihalf.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 czw., 28 lip 2022 o 22:18 Andrew Lunn napisa=C5=82(a): > > > The 'label' thing is actually one of the things that I'm seriously > > considering skipping parsing if this is an ACPI system, simply because > > best practices are different today than they were when the OF bindings > > were created. > > Agreed. We want the ACPI binding to learn from what has worked and not > worked in DT. We should clean up some of the historical mess. And > enforce things we don't in DT simply because there is too much > history. > > So a straight one to one conversion is not going to happen. I understand your standpoint - there is a long history, possible clean-ups, backward compatibility considerations, etc. that should not be zero-day baggage of ACPI. Otoh, we don't need to be worried about the ACPI binding too much now - as agreed it was removed from this series, beginning from v2. IMO it may be better to return to that once the ACPI Spec is updated with the MDIOSerialBus and the patches are resubmitted on whatever shape of the DSA subsystem is established within the next weeks/months from now. In v1 we discussed also the resubmission of the non-ACPI-related patches, which would pave the way to dropping the explicit OF_ dependency in the DSA and moving to a generic hardware description kernel API - without any functional change. Modifying DT bindings and clean-ups could be done on top this patchset as well. Of course, it is the subsystems' Maintainers call and I'll adjust accordingly - if you wish me to wait and rebase after the 'validation patch' lands in net-next, I'll do that. A side note: I was of course aware that making it for the v5.20 would be extremely hard, but I decided to give it a try anyway - I had to wait for some time, as this series was gated by fate of the eventually abandoned phylink-related changes. Thanks, Marcin