Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp835292rdb; Wed, 6 Dec 2023 00:55:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IEg0skN1wyFo65VZj+FrZ1sG03VKOL1u3CFtE/eWgpjz5EK912oXH44raZ1Vf/IgpjYeN1i X-Received: by 2002:a17:90b:1806:b0:286:a454:6b44 with SMTP id lw6-20020a17090b180600b00286a4546b44mr421306pjb.27.1701852946669; Wed, 06 Dec 2023 00:55:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701852946; cv=none; d=google.com; s=arc-20160816; b=iOwBVlUhlCaEl1GcSyBybBT27sWRtO7gT3/lBKP01Jm1jc6zaHlnPDRMxYMrlpwU4j Rgdb8x45yxO82SkbHSy6+O9t9WzLGce7qx5tQYapfjqmG4ABBFBDkbIqsLZtsuuhnJOL j/H/uMn63hUCitZ5HALc3KT/bxZs+5c69Hpms6Jx9IcRbrUFU/EGO1PZMNxL4RUOZktG SNvXAnxSAT9lZMBmkYGB1KwprqbFtFSc7a+xAQ3uTONMJ1Qrvky4BHOGYY5TlO1UuIa3 kjcgQaGifhguol3nN5e9BwVh7MD753X0XyiUqJvb06qmUJz3Jwr6p/hVfoFkcLB+/pwM ZLJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=AJ5JHKOUPWhbWKSloq1qZlNBKqc+XvyA/EqPlIzGQwM=; fh=Ueg+CwHRWnbDfj5aSUPkcjlSrKtCZzsW58mqR9tBYHM=; b=MkPEgWEegzRTsBQFlEW9abx50wozOAHbaSTwghSnjVe1EinSjevk7Bnt8hrSYk0Vyu 3w70avMlmor7ofhScfMXoy4XseY2tUPaRQsK4AuSDQqS5kMMXGhHNiro1JDKwz3b01nw RjdSnjB7W/H1s/V3VNF+G3Hje9U3QEucVulhtNMPUAcqTsy0sPkZTwWa3BreBedL00Lp ekWak5qbVWLrtuYV6sdc1yM/qMchj7Zb5SG8hwZgiWaw20jKK3p9cN15PPhLG7Gvtdqb 9mGeTFDlBqfINYl4pVOc4suyn+RZtJJ2QT1lxRPar7EW2jAeRcKCIiPBxc4h0hpkP31H Ma0Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id g15-20020a17090a300f00b002867730cb3esi6753534pjb.34.2023.12.06.00.55.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 00:55:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 0480B802F96C; Wed, 6 Dec 2023 00:55:44 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377104AbjLFIz0 (ORCPT + 99 others); Wed, 6 Dec 2023 03:55:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbjLFIz0 (ORCPT ); Wed, 6 Dec 2023 03:55:26 -0500 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 8DBA71A098 for ; Wed, 6 Dec 2023 00:55:29 -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> 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: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 06 Dec 2023 00:55:44 -0800 (PST) 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 |