From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5864DC4332F for ; Wed, 9 Nov 2022 23:01:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7+6ypD4oYWcNyDYZeFPqnMP3yzjxdTiJ4WqvYqLOy70=; b=yYmOlwifR+x+cJ 9LYqoO28Aa7+rOMAmHYh6jOmPCWOnUnY5HYAWJnBQf4ydg343wUM9DQHTTIOCp0ELKcM7wA2zHgLd Uvfw4q0EY7sM8UZafjJky68FFNSlbueByRGfiNhr0bCANMNuqfCM4dAMPUTwLzWvb+uVhN/jc/f0m p8ZLBksz6eCgkLsdBbqvhORdr/bvFpBkRGjwlPVjgwulqrSMbvj/Cp9sv++pPEi+2GVU/uLq7Db79 n+jnxLowkiY4hOKeKx81E9Yf/0pa3htuUV4Eq7KXEsvaYjuNh858ILPXIA0l9TjvI/q8CfRs8ZXVN yoRNkhOb57GeBiXn3xaA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1osu31-000Tyi-Fb; Wed, 09 Nov 2022 22:59:56 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1osu2v-000Tw4-Q1 for linux-arm-kernel@lists.infradead.org; Wed, 09 Nov 2022 22:59:51 +0000 Received: by mail-wm1-x331.google.com with SMTP id a11-20020a05600c2d4b00b003cf6f5fd9f1so71727wmg.2 for ; Wed, 09 Nov 2022 14:59:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=swcrtWEk/pjEDFJKOi6muSLrFWlp8giizOyeDdjr3QI=; b=qgV5InPtVbonJaw0kv4ZbCSPNUG0xf4Pn9GME0tsiZ0IUqaOWghUYHueI4ljO6Po1T o4irPUC5EKmGrtN2mrzJF2gFRCiwSyOxJRriuGI96ZjO5Siks+qR8efhjNt9GRubLaik KgyWYE447kS3+rmtz5QuDgEmy7LzOQ50dH7ns8itJ5M8mT+n1FVvbR33jD+XIU9TNOlR 6VD7WdQkVPWhcqH4M7OEaadnw9LR+yTrKE3XVtepyRZ82Ph4VacvfwmoWmnn0zcDYlFi 1plh0u6lKqfAeTB/C4spDO4eqcFBbGJWFcJNDntsA8fgeO2LE7GOoSgCfo3oKvVar0q1 xTYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=swcrtWEk/pjEDFJKOi6muSLrFWlp8giizOyeDdjr3QI=; b=GJTpUTP/ZkrzY6yJVka3IOw/80QewuWwN36QLUmzl0DQZuiB90g5oBiXyREE6XEkPz z/qlg8VnrN7uKSPy8V+H3ouEA4auZ3WdGMOvHce9ccMLgXsOtZXa+CkUu9Ug9TZbb7GE 7d6n5CiKkeRLDIiyUIzDMAnyJdCaZZcjk0NGXBSZ/VcB53lKZW+zL1Y3xIQMwwJXmeTI CsXkipdqM8BBwifPsPZMfiD0cK81VOJ9iDr+zner8noEg5qCT9wrTiSkWFTnlc7RRWqM yI2NZtOBHCHQObKFTIAqA1Vej4TzwACXwxJeoetVTZykv9jrfQ30OLnSa+QDWfgBfys3 6OBA== X-Gm-Message-State: ANoB5pl8WsVkqJukPbsx0YRdEyHW+/eF1De+AzOvAjCNkdGcgZRGfxIu Mn1KCtCJ5n9IULX5O8/k2pI= X-Google-Smtp-Source: AA0mqf79cVkwjf7QQCHzuNa6IK4Sqr+HRH2GA9ig8lczx/Yt8P39Cw2PM+3pWIS8kfcqXPHw8pEUMQ== X-Received: by 2002:a05:600c:3393:b0:3cf:b30a:e202 with SMTP id o19-20020a05600c339300b003cfb30ae202mr9650192wmp.91.1668034787609; Wed, 09 Nov 2022 14:59:47 -0800 (PST) Received: from skbuf ([188.27.184.197]) by smtp.gmail.com with ESMTPSA id q10-20020adff94a000000b0022e035a4e93sm13982413wrr.87.2022.11.09.14.59.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Nov 2022 14:59:47 -0800 (PST) Date: Thu, 10 Nov 2022 00:59:44 +0200 From: Vladimir Oltean To: Sean Anderson Cc: 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" , Alexandre Belloni , Benjamin Herrenschmidt , Claudiu Manoil , Florian Fainelli , Frank Rowand , Krzysztof Kozlowski , Li Yang , Michael Ellerman , Paul Mackerras , Rob Herring , Saravana Kannan , Shawn Guo , UNGLinuxDriver@microchip.com, Vivien Didelot , Vladimir Oltean , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH net-next v2 00/11] net: pcs: Add support for devices probed in the "usual" manner Message-ID: <20221109225944.n5pisgdytex5s6yk@skbuf> References: <20221103210650.2325784-1-sean.anderson@seco.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221103210650.2325784-1-sean.anderson@seco.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221109_145949_873219_6FB79DB4 X-CRM114-Status: GOOD ( 13.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Nov 03, 2022 at 05:06:39PM -0400, Sean Anderson wrote: > For a long time, PCSs have been tightly coupled with their MACs. For > this reason, the MAC creates the "phy" or mdio device, and then passes > it to the PCS to initialize. This has a few disadvantages: > > - Each MAC must re-implement the same steps to look up/create a PCS > - The PCS cannot use functions tied to device lifetime, such as devm_*. > - Generally, the PCS does not have easy access to its device tree node Is there a clear need to solve these disadvantages? There comes extra runtime complexity with the PCS-as-device scheme (plus the extra complexity needed to address the DT backwards compatibility problems it causes; not addressed here). _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel