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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9B2D5C433EF for ; Wed, 30 Mar 2022 01:25:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241583AbiC3B1P (ORCPT ); Tue, 29 Mar 2022 21:27:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241538AbiC3B1O (ORCPT ); Tue, 29 Mar 2022 21:27:14 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69FD86D959; Tue, 29 Mar 2022 18:25:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Transfer-Encoding:Content-Disposition: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:From: Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Content-Disposition: In-Reply-To:References; bh=tZYc2x+vv8rKofC+QZs5Dm01z5/Tl7zBxIhKCL4u4TU=; b=CV ABkgUtdotMjW50TIHz8n+sZ9YE+bXF+p/oXlByB3JLHbRiQ9v7OEwFrmu5nXjG0qiBY0wUEDpMwFD I4RR9mVEROAlM75TDJkfwehqteSlHgn1EWvc5Giwi/KVsztyLdCyDD8BYG5QFQemurK1GbfejHX5C WXuPrt2hJaVVTgs=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nZN5H-00DFKb-ID; Wed, 30 Mar 2022 03:25:15 +0200 Date: Wed, 30 Mar 2022 03:25:15 +0200 From: Andrew Lunn To: Jakub Kicinski Cc: Andy Chiu , radhey.shyam.pandey@xilinx.com, robert.hancock@calian.com, michal.simek@xilinx.com, davem@davemloft.net, pabeni@redhat.com, robh+dt@kernel.org, linux@armlinux.org.uk, netdev@vger.kernel.org, devicetree@vger.kernel.org, robh@kernel.org, Greentime Hu Subject: Re: [PATCH v7 net 4/4] net: axiemac: use a phandle to reference pcs_phy Message-ID: References: <20220329024921.2739338-1-andy.chiu@sifive.com> <20220329024921.2739338-5-andy.chiu@sifive.com> <20220329155609.674caa9c@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220329155609.674caa9c@kernel.org> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Tue, Mar 29, 2022 at 03:56:09PM -0700, Jakub Kicinski wrote: > On Tue, 29 Mar 2022 10:49:21 +0800 Andy Chiu wrote: > > In some SGMII use cases where both a fixed link external PHY and the > > internal PCS/PMA PHY need to be configured, we should explicitly use a > > phandle "pcs-phy" to get the reference to the PCS/PMA PHY. Otherwise, the > > driver would use "phy-handle" in the DT as the reference to both the > > external and the internal PCS/PMA PHY. > > > > In other cases where the core is connected to a SFP cage, we could still > > point phy-handle to the intenal PCS/PMA PHY, and let the driver connect > > to the SFP module, if exist, via phylink. > > > > Fixes: 1a02556086fc (net: axienet: Properly handle PCS/PMA PHY for 1000BaseX mode) > > Signed-off-by: Andy Chiu > > Reviewed-by: Greentime Hu > > Reviewed-by: Robert Hancock > > I'm not sure if this is a fix or adding support for a new configuration. > Andrew, WDYT? I guess it fails this stable rule: It must fix a problem that causes a build error (but not for things marked CONFIG_BROKEN), an oops, a hang, data corruption, a real security issue, or some “oh, that’s not good” issue. In short, something critical. So this probably should be for net-next. Andrew