Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1532273rwb; Fri, 28 Jul 2023 10:42:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlFB1LOKdj69vXiHvtJqtoifZj9d8r+k+AkpfRO7zO32rjDHSU3+1Jx4GbSZEX2jMQG2kTqT X-Received: by 2002:a17:906:20d1:b0:99b:4790:a4d4 with SMTP id c17-20020a17090620d100b0099b4790a4d4mr63407ejc.38.1690566153756; Fri, 28 Jul 2023 10:42:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690566153; cv=none; d=google.com; s=arc-20160816; b=oC9h7vlVJFusE/EPQLD5fTTprGzist9VsNFlFFAUbHeefbhUXKLKk/hfVdPpmZbpC6 FiEtIFTHAlEAO+I103E4iLzsykv04bW0xPV/9MWkbWNSUcGc1BBeRdtJnBUfq80vA00J Fb1SLDxCnYOallHCgoPFFMH1UYeN6pG83YbtEPFl5Wqs5k3Ha216S8I1tc0Ha1dJbiDs reOvYM+R/Nn2FHNlZ/ZBBvEIeiOB5Pdv36Pj81n4HARltySn4V5gFcd0oBt4GO0MA7mV IhbEfWDGyF1MFqEPrrh/Jy6XvDAxh0ZhGLTVS6h6x2NjD5yuS72q8Ndb070FAoIbgPxU ud8A== 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=SoDMDuX7TciJeErn+Kr6fE9R9AQKT+BTgaL6xC4jssU=; fh=yajL2OxVS6u9/pE9yNMP5WVVFSE6KkSMX8FHBh8fsS4=; b=Zy1jiNRpSmlEH16cXJf3I4TIDunVIJ/svnYpI0h83TuN1PITF9gMkfZsV2IxFJ5m7w suLtYXkkthVI2lEhBwAn/IwjPapZ4MS2pq19+Sif3UDT7KfMq9YTTP3NJvklDqSLrPtd yWXW7UvLYHjhc9BX0vv33YnHkTZ2aEB9mKBYYjPMMn6OtDIM/t+YaIx+xsqBKXR9a1Vo Xh+V/Gbs74G7LqQLuJWfPOexEn5DIYksqf0q3EH6aWSHUWBeT3J8mBNgIdGpGG6aNCA4 2oed+KF2TJBASHtsJO7xqgDUgoOSO+VfoemAmJprEQKfy1N+Hhv0UeAEjO+yyVjlsQTs 6dOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qRj94Pm6; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id va16-20020a17090711d000b0099290e2c162si3330250ejb.444.2023.07.28.10.42.09; Fri, 28 Jul 2023 10:42:33 -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=@kernel.org header.s=k20201202 header.b=qRj94Pm6; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230259AbjG1RL6 (ORCPT + 99 others); Fri, 28 Jul 2023 13:11:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231468AbjG1RL4 (ORCPT ); Fri, 28 Jul 2023 13:11:56 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29ACEB5 for ; Fri, 28 Jul 2023 10:11:49 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3B738621B1 for ; Fri, 28 Jul 2023 17:11:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B54DC433C7; Fri, 28 Jul 2023 17:11:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690564308; bh=AAaybvDEoIYa8SNwcf6zrgWekWtZs1E1cclOj0P0xGQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qRj94Pm6uKJdU81TDj0CI2H2F5aueaFXcQOpL2ab7dqaF0YKwUW/Eu6Me390hnDVd qzm1D1+ausnsuksANnQ8IVrUjHo9n4CEPSNXp3003IWdC/eh7Ju6IMC8WHubGtylgr h4cdhGVTqzCCqXsWDpH3SF5ctIWUMNVCIZybx0F4tqzza8YmiKX1HLYwNmvce8wY0I qPPvekKRYgafITZ3msu86uLoujFMgH/lBXiRvOgSOqowlHR3Kn7mNUv3DWuhmzb1ee /NqGU+5zFqgGblsEYaAKdgVzXpgB+butnhbKyRqZIG2DDTiiDJ1ERCTu7oW9xwQP/y 4Q1rZk1WIYSww== Date: Fri, 28 Jul 2023 18:11:43 +0100 From: Mark Brown To: Andrew Lunn Cc: Masahisa Kojima , Ard Biesheuvel , Jassi Brar , Ilias Apalodimas , "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: <8ed87590-4f0e-423a-a326-c4f6bef24596@sirena.org.uk> References: <20230727-synquacer-net-v1-1-4d7f5c4cc8d9@kernel.org> <6766e852-dfb9-4057-b578-33e7d6b9e08e@lunn.ch> <46853c47-b698-4d96-ba32-5b2802f2220a@sirena.org.uk> <7f21c1d3-331d-4bff-8a4c-f6e235a3dd6a@lunn.ch> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="lq4m8BNCVR9lFfHi" Content-Disposition: inline In-Reply-To: <7f21c1d3-331d-4bff-8a4c-f6e235a3dd6a@lunn.ch> X-Cookie: Ontogeny recapitulates phylogeny. X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,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 --lq4m8BNCVR9lFfHi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jul 28, 2023 at 07:07:36PM +0200, Andrew Lunn wrote: > On Fri, Jul 28, 2023 at 09:35:00PM +0900, Masahisa Kojima wrote: > > "rgmii-id" is correct, configured by board level. > > The latest EDK2 firmware was already modified to use the correct value > > for DT(Thank you, Ard). > > http://snapshots.linaro.org/components/kernel/leg-96boards-developerbox-edk2/100/ Thanks, that does seem to be working. > If the firmware has been fixed, i would actually do something like: > err = of_get_phy_mode(pdev->dev.of_node, &priv->phy_interface); > if (err) > return err; > if (of_machine_is_compatible("socionext,developer-box") && > priv->phy_interface != PHY_INTERFACE_MODE_RGMII_ID) { > pr_warn(FW_WARN, "Working around broken firmware. Please upgrade your firmware"); > priv->phy_interface = PHY_INTERFACE_MODE_RGMII_ID; > } It is not clear to me that the release channels for this firmware are sufficiently clear to users for this to be constructive. --lq4m8BNCVR9lFfHi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmTD9soACgkQJNaLcl1U h9D4Sgf/UHOMDMFTFA+SW8Kb+pTyDRKEvHUDBcGyL2NKYKqFb1wFaFceH334F9QQ dO1YmxicEUWeQva2NfhfNVdSHu6mJzG5Hkvrlr65LAzzIG+AFtPgLZwZfWQpXfNs kPuLBMQQCSnV8XQhkFrgc4buO2hEjwEVukFzAi+sLUbY2UdTGgVjCjM2JrAYcEtQ Njv4bXo4I3wgEq6cOt8VUTqaMQiVxsdQVcz9s7w/kg6yLooJmq+4aZRDlGcfWXkj ly8kK7uBq4BAM8yEnhi/Gcb8rAQ0ac1ZHLzymAtSe/YdcMwrsFoDw6OD+OohP+6v QGrwZEUDeoZOzerlcdhg98wQxl9wUg== =LWJ8 -----END PGP SIGNATURE----- --lq4m8BNCVR9lFfHi--