Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp1734780iof; Tue, 7 Jun 2022 10:29:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzeGIK51ix/CwdxBMwBtM/nhTnaG5PkqjfQgQXn6ZrUriQITK/FKrnwZg+5wY7+vaT4zLyr X-Received: by 2002:a17:906:3702:b0:70c:f656:106 with SMTP id d2-20020a170906370200b0070cf6560106mr23159475ejc.215.1654622984340; Tue, 07 Jun 2022 10:29:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654622984; cv=none; d=google.com; s=arc-20160816; b=hMBHs8Q82da4Elq5TgAbMLnGbmI9hxh4/DuQSO1RKLONTir0+NIDCA4PhUF9VGnxSr i4mnTVTtBiDSshbmOYn2qd7pFPofu8BSEMOFe0xe/Xxy/GBEfQLSxak/X5XQCnihU+WE ihQj8I/VQc22Vpby+1WWNrcqOfnsirGDFiTNmB96/hSfrjRAzfNyGhII2Oee2XioiIuk tWOAOYEUhO2i1BzpmuWbeSAt1W4CM1bAncWN16P1iBA3r7iL3Oe4Rcm+QYxX4mRJjA7P TpT4CYW8LkII6DyvqFSBUzySdACGbFu0bTuUnBR6JxFJ/t91LwnpEprRK8FMMEpg7qCD 5ZmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=/8ZEI2+4F6AsYinhF3XoVVKTVooozaOJVaelB9wjkfQ=; b=G1FXD0/lnSBoIoIKkR8nyp6F9vmNuF9yHcn0UoreUOggbikFbM3alhR36+tXpmugxL EN+HAhf+x8hJlkbqI6lMjM+QUl6qUrQpJ1ChZ0rC/KY15TgU8oeenaBVP6qugSXo0oRY PfIm3jaLtMLTjW98696RR1YmIwswTEEn/Q2C+Q1uyCAI1v3QAVAmfUpZPbBHGhyLFXTM KtoC2pFAVXMKeWZICbuFejyrePPaMP0SttNbsEaBlTnN8vcva66z7NL4SrJUSnrWI8ep ShPWOsYr1JOb419xwgJXMOtfpOpuVGqkoB0DE0lj64xghIGlBDspvP3mFu70ZiwfrXKK k4/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=z5aJ7+fZ; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qk34-20020a1709077fa200b006f363ca1755si12275420ejc.921.2022.06.07.10.29.17; Tue, 07 Jun 2022 10:29:44 -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=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=z5aJ7+fZ; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235412AbiFGOGB (ORCPT + 99 others); Tue, 7 Jun 2022 10:06:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235425AbiFGOF5 (ORCPT ); Tue, 7 Jun 2022 10:05:57 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8297779803; Tue, 7 Jun 2022 07:05:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=/8ZEI2+4F6AsYinhF3XoVVKTVooozaOJVaelB9wjkfQ=; b=z5aJ7+fZFCVcT5sYsUjL7nRVbE FhjO8ncqboCDxqBFgp2PscB6fjiqSSlBSGkOZzIbnspd1p6QzstFJC/oKlPrQPazgWayLWYasdoHL 9r4zdC4USglGlgkVTD4KN1ByyeZ1B3hzagHNLxNemkB5xqcsaTbU/cptHKPqoEHBHOPJMXZahVqsp oTnzTD7HiFC9nQ6TTyQuhaoLLqRp+Ufl1dxAUlW3hmlaGnlJ4cpD7hX2gxUpsjJ21+pLo+EjMy9jJ syTBbga83e9EsWRQa+GnmHv9mVF0fH+cBskgRHnQs4Lx+9QeRf+WVQNWCBZULCsziAYS33TP91XhI GgmnM4BA==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:32768) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nyZq3-0003YY-Tb; Tue, 07 Jun 2022 15:05:44 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1nyZq0-0000ql-Dg; Tue, 07 Jun 2022 15:05:40 +0100 Date: Tue, 7 Jun 2022 15:05:40 +0100 From: "Russell King (Oracle)" To: Luiz Angelo Daros de Luca Cc: Alvin =?utf-8?Q?=C5=A0ipraga?= , Alvin =?utf-8?Q?=C5=A0ipraga?= , Linus Walleij , Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH net] net: dsa: realtek: rtl8365mb: fix GMII caps for ports with internal PHY Message-ID: References: <20220606130130.2894410-1-alvin@pqrs.dk> <20220606134708.x2s6hbrvyz4tp5ii@bang-olufsen.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Russell King (Oracle) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham 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 On Tue, Jun 07, 2022 at 10:52:48AM -0300, Luiz Angelo Daros de Luca wrote: > > > > Luiz, Russel: > > > > > > > > Commit a5dba0f207e5 ought to have had a Fixes: tag I think, because it > > > > claims to have been fixing a regression in the net-next tree - is that > > > > right? I seem to have missed both referenced commits when they were > > > > posted and never hit this issue personally. I only found things now > > > > during some other refactoring and the test for GMII looked weird to me > > > > so I went and investigated. > > > > > > > > Could you please help me identify that Fixes: tag? Just for my own > > > > understanding of what caused this added requirement for GMII on ports > > > > with internal PHY. > > > > > > I have absolutely no idea. I don't think any "requirement" has ever been > > > added - phylib has always defaulted to GMII, so as the driver stood when > > > it was first submitted on Oct 18 2021, I don't see how it could have > > > worked, unless the DT it was being tested with specified a phy-mode of > > > "internal". As you were the one who submitted it, you would have a > > > better idea. > > > > > > The only suggestion I have is to bisect to find out exactly what caused > > > the GMII vs INTERNAL issue to crop up. > > > > Alright, thanks for the quick response. Maybe Luiz has a better idea, otherwise > > I will try bisecting if I find the time. > > I don't know. I just got hit by the issue after a rebase (sorry, I > don't know exactly from which commit I was rebasing). > But I did test the net (!-next) and left a working commit note. You > can diff 3dd7d40b43..a5dba0f20. > If I'm to guess, I would blame: > > 21bd64bd717de: net: dsa: consolidate phylink creation Why do you suspect that commit? I fail to see any functional change in that commit that would cause the problem. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!