Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4495734rwd; Sun, 4 Jun 2023 06:35:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4DMkUYWYQosKqkTenTpR3/ytwqs/I5m+4JbPnu2B4CA9Pw+ufrboWDJUSMZZC9hw5DASUu X-Received: by 2002:a17:902:ab59:b0:1aa:d235:6dd4 with SMTP id ij25-20020a170902ab5900b001aad2356dd4mr5169174plb.19.1685885756724; Sun, 04 Jun 2023 06:35:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685885756; cv=none; d=google.com; s=arc-20160816; b=iQ7ec+Noc2mVR+haf8ryzjqGgL1HKqvTCAaOINPOvRCx6aLr0e/tmsIdziaUtQLZG/ FHAKFx2gH+EqtSWWsK4d7xREZTfgz6KvoXdPIt7gwz9iU3FR/x1MWQqFsmnL7gOHEkll vtaFq/UW9XBvOmsddV71zlwJpGHZnnT01mRGloD92UMSl+T5u1PPle2LKffHsgD2c7ft H0EcH0/w/1CSnJ/JmAXtqajiiXIAquKmn3BWlZVVAP5Hh7bDZ/7xleS9W17ohUTtvdQb SNyIigebi62FZaFgy7fTZmsXsCWxTWcD7bKXr0Tmj4P+zyDgxJ63AVvdSIGrrLvw4WVz UwSw== 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=UzzrhBNawZ31nGxvXXuqa4J3SochyxihEmrfIV4DZvY=; b=kSM38kTrQBI1rKDmOl7j3ppP3k4Kk7m7dIrdaMwhevwz9hd29o9aMUDAn65IA2wBdE evLZQ9cqpvUFtXhy7kJjHbx93t/OBhB55CFJz9IaHzva+fq0xPfN6v7NsAVCEg9tLmKg ptMSu9vplzTSeE4pr2+YBLnBv9hpGlM/y9d/D1/sREHuIhbRXMJsAe+Vk/xs7uX4RKeI xafNnxnAxtWJc1LFECIHUjYWCjC6uZM3Cq7gF/VPoBA12AS4TPWS2aV8xXKnn/bzr4sU 5cRwvrcOgsPchudzTnrk06wI/mHSJKh3wRkE+K3iDx3Zjt/yBjfplFvaUhVhSt5sEffb tcLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=PelkEpSR; 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 x10-20020a170902ec8a00b001aaf4d2eef6si4212212plg.370.2023.06.04.06.35.44; Sun, 04 Jun 2023 06:35:56 -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=PelkEpSR; 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 S231825AbjFDNHk (ORCPT + 99 others); Sun, 4 Jun 2023 09:07:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229611AbjFDNHi (ORCPT ); Sun, 4 Jun 2023 09:07:38 -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 1267BB8; Sun, 4 Jun 2023 06:07:35 -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=UzzrhBNawZ31nGxvXXuqa4J3SochyxihEmrfIV4DZvY=; b=PelkEpSR3NnJ2cgM83e2WDHOll K07RelK5yOLv8J8HBKdF4PjKS1SkWSDmh0aM/GN3rj9Po+21pkbm8ZHmV5kIt0quivrYckxH04EiK mI1MgVfcMFmLFzY3ggf8RfPa3mzXd3eXaBrRDmy7z5L+mhMCqN/ZSDgGPws7EdlP72LEE7kE0nKcz 5iYspNj739l3n5PHgOsxOYfDIn7+ZAPay1zcnPaHHnaeC1WMmPikJDR3htiVWtbafIsvxmjBSAEHZ qUdKdxUUkFtdLuVA/sxGTMvlfy12PskuB5qGj9LNbWg+eo8D3OXdWofb2nJSTEEIlOx0CCt/xFHci Zwsje9xw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:48974) 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 1q5nRx-0002cf-68; Sun, 04 Jun 2023 14:07:13 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1q5nRr-00054c-EH; Sun, 04 Jun 2023 14:07:07 +0100 Date: Sun, 4 Jun 2023 14:07:07 +0100 From: "Russell King (Oracle)" To: Vladimir Oltean Cc: =?utf-8?B?QXLEsW7DpyDDnE5BTA==?= , Sean Wang , Landen Chao , DENG Qingfang , Daniel Golle , Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Richard van Schagen , Richard van Schagen , Frank Wunderlich , Bartel Eerdekens , erkin.bozoglu@xeront.com, mithat.guner@xeront.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH net-next 08/30] net: dsa: mt7530: change p{5,6}_interface to p{5,6}_configured Message-ID: References: <20230522121532.86610-9-arinc.unal@arinc9.com> <20230522121532.86610-9-arinc.unal@arinc9.com> <20230524175107.hwzygo7p4l4rvawj@skbuf> <576f92b0-1900-f6ff-e92d-4b82e3436ea1@arinc9.com> <20230526130145.7wg75yoe6ut4na7g@skbuf> <7117531f-a9f2-63eb-f69d-23267e5745d0@arinc9.com> <826fd2fc-fbf8-dab7-9c90-b726d15e2983@arinc9.com> <20230604125517.fwqh2uxzvsa7n5hu@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230604125517.fwqh2uxzvsa7n5hu@skbuf> Sender: Russell King (Oracle) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 Sun, Jun 04, 2023 at 03:55:17PM +0300, Vladimir Oltean wrote: > On Sun, Jun 04, 2023 at 01:18:04PM +0100, Russell King (Oracle) wrote: > > I don't remember whether Vladimir's firmware validator will fail for > > mt753x if CPU ports are not fully described, but that would be well > > worth checking. If it does, then we can be confident that phylink > > will always be used, and those bypassing calls should not be necessary. > > It does, I've just retested this: > > [ 8.469152] mscc_felix 0000:00:00.5: OF node /soc/pcie@1f0000000/ethernet-switch@0,5/ports/port@4 of CPU port 4 lacks the required "phy-handle", "fixed-link" or "managed" properties > [ 8.494571] mscc_felix 0000:00:00.5: error -EINVAL: Failed to register DSA switch > [ 8.502151] mscc_felix: probe of 0000:00:00.5 failed with error -22 ... which isn't listed in dsa_switches_apply_workarounds[], and neither is mt753x. Thanks. So, that should be sufficient to know that the CPU port will always properly described, and thus bypassing phylink in mt753x for the CPU port should not be necessary. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!