From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DCE41A0A7 for ; Wed, 6 Dec 2023 00:55:30 -0800 (PST) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rAngg-0000fJ-VT; Wed, 06 Dec 2023 09:55:22 +0100 Received: from [2a0a:edc0:2:b01:1d::c0] (helo=ptx.whiteo.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rAnge-00DvAH-SO; Wed, 06 Dec 2023 09:55:20 +0100 Received: from ore by ptx.whiteo.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1rAnge-005Wq9-PI; Wed, 06 Dec 2023 09:55:20 +0100 Date: Wed, 6 Dec 2023 09:55:20 +0100 From: Oleksij Rempel To: Paolo Abeni Cc: "David S. Miller" , Andrew Lunn , Eric Dumazet , Florian Fainelli , Jakub Kicinski , Vladimir Oltean , Woojung Huh , Arun Ramadoss , kernel@pengutronix.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, UNGLinuxDriver@microchip.com Subject: Re: [PATCH net-next v1 3/3] net: dsa: microchip: Fix PHY loopback configuration for KSZ8794 and KSZ8873 Message-ID: <20231206085520.GA1293736@pengutronix.de> References: <20231121152426.4188456-1-o.rempel@pengutronix.de> <20231121152426.4188456-3-o.rempel@pengutronix.de> <35045f6ef6a5b274063186c065a8215088b94cd5.camel@redhat.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <35045f6ef6a5b274063186c065a8215088b94cd5.camel@redhat.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: netdev@vger.kernel.org On Thu, Nov 23, 2023 at 11:52:57AM +0100, Paolo Abeni wrote: > Hi, > > On Tue, 2023-11-21 at 16:24 +0100, Oleksij Rempel wrote: > > Correct the PHY loopback bit handling in the ksz8_w_phy_bmcr and > > ksz8_r_phy_bmcr functions for KSZ8794 and KSZ8873 variants in the ksz8795 > > driver. Previously, the code erroneously used Bit 7 of port register 0xD > > for both chip variants, which is actually for LED configuration. This > > update ensures the correct registers and bits are used for the PHY > > loopback feature: > > > > - For KSZ8794: Use 0xF / Bit 7. > > - For KSZ8873: Use 0xD / Bit 0. > > > > Signed-off-by: Oleksij Rempel > > This looks like a bugfix, so possibly worth a Fixes tag? Given the > dependency on the previous refactor, I think we can take it via net- > next. > > @Andrew, Florian, Vladimir: do you have any specific preference here? I do not think any one cares about supporting this switch variant in stable :) Regards, Oleksij -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |