Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1010363rwb; Fri, 28 Jul 2023 03:26:14 -0700 (PDT) X-Google-Smtp-Source: APBJJlHH9HHcm2dxjJ8iRd1PtM5s/EtB1Fwp6Exe39J0fxwhGSsjIBxU++CY2guQV8PsDkRQSvxn X-Received: by 2002:a05:6808:f11:b0:3a1:dd99:8158 with SMTP id m17-20020a0568080f1100b003a1dd998158mr2770086oiw.6.1690539973941; Fri, 28 Jul 2023 03:26:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690539973; cv=none; d=google.com; s=arc-20160816; b=WteXEnA+2jhMYo0r8Av6eLWNGKbQgyb6TLPu8ZVxWs+/akMZxDExuCHrL5hX31qgWe 5Sq9elqBRVl2/qXKPMvyuvkILBpFsLNEkBwDeEbt13auA3b2NLBVhJL0YYdmZA3yb7Ly lL+ngaB4gV5iB2345pQS11vEyHrRa1uJV0ZXrs/CttVjdvlSXFQCZApSOMtZdWNAzMHI IKFF+/DJ0IaTUp1Vnxfvis3ZILeC/ojnbFSzo+o3CPa/ZP2f1aUUzQ6ognmOE0F0Dblm YwAWK1cnD3uPpqNcs/PVPmPG3NKGAKQe/k9IEpY0Qpf8rF0vtIVRdW/eE6YICfW1pK8N g+Og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Efxv61OBl1EiofB69+walzHGXHvBZzrPaLxDwIpj2oQ=; fh=iC/RlGfyvtW3dRxMQFiyGjARIfvy46yHTAnSxbUxDas=; b=iopwkEQLFwvWHomgDDcbN0kq8Ih5iHi1MjfbQcwxryig82c6MFs/ptWTNdU63npguP eTX/obamU2OGT+J08/LibGeBjWDKZOOWTsAijNoW+wFS61dwKUcTULYubRIiZ0neOdqr O0iM8iYtziTqITrdE+XOvWUARYiPs7QCHBvgVDUtSAkut9ImE6h/HFZB3r914JkcFFvh /1GHOmb36mE/xcQ/tLQeivy/9of9JTMMasimMQKSvO57sfKvfPdpWVFZHFYiKpn69SBB FPGu6mYMTMbT5+LseAEDqus1g1fAkiedXp9fRtpiVCmBWqvz/3Ar4xMwrKvJgYH8qJX4 TQLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=cJQBpCix; 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=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k27-20020a637b5b000000b00553ebb05d23si2797029pgn.70.2023.07.28.03.26.01; Fri, 28 Jul 2023 03:26:13 -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=pass header.i=@lunn.ch header.s=20171124 header.b=cJQBpCix; 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=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234873AbjG1JCd (ORCPT + 99 others); Fri, 28 Jul 2023 05:02:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233262AbjG1JCc (ORCPT ); Fri, 28 Jul 2023 05:02:32 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D903106; Fri, 28 Jul 2023 02:02:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=Efxv61OBl1EiofB69+walzHGXHvBZzrPaLxDwIpj2oQ=; b=cJQBpCixdMKHnu++k/y74R3p+q UZgo7/3fDOmrojIZ20WoTYF3SLqVV/sR7xv9L/QXDGl+rAHR19b3w2HWownm6jVpZLlyN9y0FfA+h vrgBD9oDTbKJYBT/46TUt7rptaoWMl80ga7JNcA1Epg31i620B5NEFBEKXMi2tQnaWeM=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qPJMe-002WI0-Cv; Fri, 28 Jul 2023 11:02:24 +0200 Date: Fri, 28 Jul 2023 11:02:24 +0200 From: Andrew Lunn To: Ilias Apalodimas Cc: Ard Biesheuvel , Mark Brown , Masahisa Kojima , Jassi Brar , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: netsec: Ignore 'phy-mode' on SynQuacer in DT mode Message-ID: <777d7770-4ab6-4c69-89a4-a0b1a6abb998@lunn.ch> References: <20230727-synquacer-net-v1-1-4d7f5c4cc8d9@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 > U-Boot does support the network interface (sni-netsec.c) but I'll have to > check what that code does wrt to the PHY config. Since the interface works > I am assuming some config is done properly. It might only be done if TFTP boot is used etc. If booting from FLASH, maybe the network is not initialised, leaving the PHY in its power on default state. In general, it is much better for Linux not to assume the bootloader has configured the hardware, since developers have a choice of boot loaders. Andrew