Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1119952rwb; Fri, 28 Jul 2023 05:13:09 -0700 (PDT) X-Google-Smtp-Source: APBJJlHtKpPMn1VETOYdOf5bJFpyCQLidmR9iFMLPi1zPSDqMuHhg74d+jMm5qCFfTEpHRCe2sIy X-Received: by 2002:aa7:c149:0:b0:522:29ee:2ab with SMTP id r9-20020aa7c149000000b0052229ee02abmr2033047edp.14.1690546388987; Fri, 28 Jul 2023 05:13:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690546388; cv=none; d=google.com; s=arc-20160816; b=bvYo1V76xyFUMBiIOd/YpZWlgzD9tvHpJPnd3cOaL8M6f64VBJ3fOkoTu2ffmTEr7T qDX0QtSNzd3D8ShWtmez4Ph4eMkeIjBQAitWWQ0Na7JqOF2hUvj07yD59JzgRrkwfFEU 00s8sk8zOk53br1Y9XlzndCx4JeghJBiuLPHv1X0KjaIt1bpAJo7w67qK4tIb/IZ4yo0 miS7Wrb2LPVP2aSmivPNzeDi0yspS3TRgO/HBI2ony9Mpnr18iKFy+5LYnEPb6+BC1Yx ExSVfLNHgxbEVZj8Orz0XAhwoXDhlQJc1cQiHcvIoWcUOFn0kKxhli9pxD7jUgOsXfTq Ps4w== 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=5lg2qp127qDy2Ty+Zx1hs3JtpWGC2XwC3zOlFUtjQ5A=; fh=k1F9X9E7izBIJ0MD/1AHvqb8KeHdIMy3m0DM00rhsJE=; b=e2BlIxAlghty2flT640gi/xxRV0vrSreyU5yuPd8AUkw8oFRE9NFSjEq/ZDaniTarj vKqbdhUYU1Nlss4XsAf0aCquRICTFcUMAHHkT+wUzqLUAIM66jVobX3xbnVkLIR3sBIB GUpGMiySHL4K+0TVg11jCijSBwn2APIRd7TtypIwJalXSJ/I5JRjrYDO9xwgK2/1ERST CcErFJSKcusFiuAjsN3Pj8incuQb5BGhNf6bNEZDxpK7+uEgJjUMeZmwfujDSGnvllZc ppH6AhKO8in5dPFBhqHH5fCMSQaSzSmLEcbwSLzz347s2pEvZ50MlfIE8vdaLO7W9VcA yCTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=trC36qPC; 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 a8-20020aa7d908000000b0051de30de0c4si2410611edr.595.2023.07.28.05.12.37; Fri, 28 Jul 2023 05:13:08 -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=trC36qPC; 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 S236202AbjG1LOf (ORCPT + 99 others); Fri, 28 Jul 2023 07:14:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236192AbjG1LOd (ORCPT ); Fri, 28 Jul 2023 07:14:33 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C82D73A93 for ; Fri, 28 Jul 2023 04:14:32 -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 6616B62005 for ; Fri, 28 Jul 2023 11:14:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AF74FC433C7; Fri, 28 Jul 2023 11:14:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690542871; bh=DyopT+4UgnWothBICg+l70RvQhLb7xR2eXZ5gYcIXuY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=trC36qPC+VVT4J8dMMkBUfRd3XToGXizQz/qb9QJxJ3cPqPmHa8FNSsyIfcslTJrJ cnx413cijMJbF8azIrd71l0KpNzulTPP1Yskvm3kLiVEauHBbq7N5WwLOMkzwPb6wv 6Nd+K3GyZw4jUFtYuQsixklgz3YuexWuiZXJpGciuBNUbZri3egK8hKuzgfH7DrPQa It28yztF3KkuJmIrWiKIkkmH/vQQxOhynx7IXaaqv6hCRx0cURbp8gum0+HBPPj8mX E+nI0+TG8S4plwzoMoyaKRYOJZeiGqmBkIOuv+FkXv+Rsp/QTI88ZepyUh5n6envhn EvvfmBBXv/4KQ== Date: Fri, 28 Jul 2023 12:14:26 +0100 From: Mark Brown To: Ard Biesheuvel Cc: Masahisa Kojima , 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: References: <20230727-synquacer-net-v1-1-4d7f5c4cc8d9@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="N2aIURLae8eqFiup" Content-Disposition: inline In-Reply-To: X-Cookie: Ontogeny recapitulates phylogeny. X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,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 --N2aIURLae8eqFiup Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jul 28, 2023 at 07:45:44AM +0200, Ard Biesheuvel wrote: > On Thu, 27 Jul 2023 at 23:52, Mark Brown wrote: > > As documented in acd7aaf51b20 ("netsec: ignore 'phy-mode' device > > property on ACPI systems") the SocioNext SynQuacer platform ships with > > firmware defining the PHY mode as RGMII even though the physical > > configuration of the PHY is for TX and RX commits. Since > > bbc4d71d63549bc ("net: phy: realtek: fix rtl8211e rx/tx delay config") > > this has caused misconfiguration of the PHY, rendering the network > > unusable. > Wouldn't this break SynQuacers booting with firmware that lacks a > network driver? (I.e., u-boot?) > I am not sure why, but quite some effort has gone into porting u-boot > to this SoC as well. Yes, it'd be break them. I wasn't aware that any other firmwares existed. --N2aIURLae8eqFiup Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmTDoxEACgkQJNaLcl1U h9DRGQf/Yz8ze1JwwcnvNBbJMrRkJxjbXPDtWcHPUHch9LjBwLY2LO7zEAz9Mp9K 6idj6J5RcdvRXAbgAA/Zq4H1OHcvwGGlppKuyVvi9Q79yQZtZSVHXr3kiwyYiyxa VNqCgVhCkYR5FQbvrH4/9/cv7F8w3fweznRDSF0rBNd8GQHG5N7id/AHrOqhg7K4 mxzdMsAVDfO5wU+JNrziF+v979F76t1PkvrNkCmbvqcAYcWyXWMFekjIYil82Y18 zrNqaWWMRJmycVR9Rr1UQvWNhqWyKVHz5IUBaP3mIpV53qplr17FiJkfwrw5gM6q 8IRIOf5vI9mcQeCoByDoCbVQKu1z4g== =7npc -----END PGP SIGNATURE----- --N2aIURLae8eqFiup--