Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2066391iof; Tue, 7 Jun 2022 18:37:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylYu5lvAJncfUidKI30+ITOLxNqPDwi0sZP1DsWo6l5Av+cyK46AXunXCgO2ey9yKetCI+ X-Received: by 2002:a65:5786:0:b0:3fd:7145:ceef with SMTP id b6-20020a655786000000b003fd7145ceefmr16510966pgr.361.1654652256877; Tue, 07 Jun 2022 18:37:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654652256; cv=none; d=google.com; s=arc-20160816; b=XjwTjJIi/pZZH7jklU4WJyu4m1X+GIPESgiC/GoFYLyYO/ZlQnOHEs6YNUwwg1hfmK dsJqQ2VZIhA/RBM1ccKq6S8Jn1Rz79fw32AjoMaz6wIwZfNoTxmbqPl6Y0CCNBozcjUy Z4y/zU8dwRl5wgRPEreoAMBCvnqeEyDAsKkxaAfBMDZ4Ux8U9ZdZFAZJJLSFjD8UDpCJ xyC2/zI6lbulV0rCizt9UhzfD/vIIf2IW7ZpIAnRx9xSVs+MLez1WUWQA7nFQQMRct6M phoZXAgwZvdDhIXs5Eza2oUZdBkUeFAFLiokPDSg3+sdO5G3GRej0lRmrPXOSZj845WQ CBBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=gtNkKx+/2unC1GVaVBioVyWR0yH6yoHaqdLuh5hJp/o=; b=XhAYLMoRQtGQO/rsSlZQaFu1gHJKBr8gXmUq/AvAVLsTwk1EAhRwcLrL4R1v8ZrLQM GeQqC8Ykbl1as5SftwTqonp3n6813AkjGiLxkzGI56VrFA2IaryJbwm4ktDX65UHg2cS PjPiDdT+RbPqwo73WXBNsNk813faKbeSP61m2dGJ1mLYmsH9gfvRJpm4RfbugSydgHhD U8trkLd5VhdNzYnzoot5huPl7sS6gWlNyKVg+3o+YzDxjTunqUuGumFM7REWTOvqQc/c VRHTXLDefgA0n2qpzrG57lfFEp7RdJP7KrvDj8U6sDWZ+kh37u+9UXLrM4502P5MkioF rhlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=lklB9Z7u; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id j3-20020a170903028300b00164ade949b8si30755757plr.301.2022.06.07.18.37.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 18:37:36 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=lklB9Z7u; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7FF6A2A3A24; Tue, 7 Jun 2022 18:25:14 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244970AbiFGNxE (ORCPT + 99 others); Tue, 7 Jun 2022 09:53:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235829AbiFGNxB (ORCPT ); Tue, 7 Jun 2022 09:53:01 -0400 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E16721839C; Tue, 7 Jun 2022 06:52:59 -0700 (PDT) Received: by mail-pf1-x42d.google.com with SMTP id w21so15646718pfc.0; Tue, 07 Jun 2022 06:52:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gtNkKx+/2unC1GVaVBioVyWR0yH6yoHaqdLuh5hJp/o=; b=lklB9Z7ui0Me1WyhjYW5weDEqwQWv8gVnvpq527Tlr5bK3xBk0ywRf88dv/fiV8LCG pnkP9WT+01Y5TWgpzuNXW4cU0VQ+E3QIHMeT8LgD1ffYSA6cG3ErnuC8megHSuDixfsA LuZZAzmgxRlYvV46AKXK4f8i//El4ofTh6swpXKah0qQnSQYTPKFMug1BGKHcmzOeOSw y4V4Z3R/ZkTXF5Mrl7RctK6oOeJyubpgTUFQxE6bg/WKUz7aTWHbNxs7fJvxYCZA2A09 kESFLzVHB+r0Pyc6N1BUI8qhxwdVwJXYD3SKMxzmJXP15KF9Bcn0nCg6mWviJAvUFS9c dQWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gtNkKx+/2unC1GVaVBioVyWR0yH6yoHaqdLuh5hJp/o=; b=rNUGicjL9hdZ55hFNYVuRAeI32qx6Q1Rq1S3MzP5XZ0EE99HaLE0370P34Dy2sX9p6 UMMzXUaDrE9lL5CENNCxqfIckgvOEyy7Eur+UhUsDfYP00ir5WMrFhNtBQn0s9QLWKkh sLriJ92v6FMM7TrIVYllA8pBAjEKPwmm+1TxKts46A5TnJgIB7vxCZKrnBawaG0tDfQ7 KjwFSL6KYktaCZXuNw2ldSB8bQUY+ODGrjGMx22tJnAv4QLDFfhX+eo24xoBA5niCyfS VOvoqkb8XYYzNH9JlNnY4AKRbh4tcbtrNqWG7yvhO+K+gQrpCOwF3cLJ4lbwrKmLiA9V w8JA== X-Gm-Message-State: AOAM533OE6AoeHPRgpTTEtNPUSmFUegZL/65K6EWf79DVR5RQ1q9C7Ne Tw/pgYFAMYaKtJKDLG9m2dYIjOfT5a1mIeIsuBs= X-Received: by 2002:a05:6a00:130e:b0:51b:c19c:44b0 with SMTP id j14-20020a056a00130e00b0051bc19c44b0mr29801979pfu.21.1654609979348; Tue, 07 Jun 2022 06:52:59 -0700 (PDT) MIME-Version: 1.0 References: <20220606130130.2894410-1-alvin@pqrs.dk> <20220606134708.x2s6hbrvyz4tp5ii@bang-olufsen.dk> In-Reply-To: <20220606134708.x2s6hbrvyz4tp5ii@bang-olufsen.dk> From: Luiz Angelo Daros de Luca Date: Tue, 7 Jun 2022 10:52:48 -0300 Message-ID: Subject: Re: [PATCH net] net: dsa: realtek: rtl8365mb: fix GMII caps for ports with internal PHY To: =?UTF-8?Q?Alvin_=C5=A0ipraga?= Cc: "Russell King (Oracle)" , =?UTF-8?Q?Alvin_=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" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 > > > 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 Regards, Luiz