Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6752246rdb; Tue, 2 Jan 2024 12:04:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IH8LTmB+wlTKiZWetY1KmhC4K6OneWSUoyc0ysKseVCR0+G71X8ABSlHMpjR1Kg+TVehsv+ X-Received: by 2002:a17:903:1ce:b0:1d4:829:fede with SMTP id e14-20020a17090301ce00b001d40829fedemr21970157plh.125.1704225874948; Tue, 02 Jan 2024 12:04:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704225874; cv=none; d=google.com; s=arc-20160816; b=fMmiWEPZlg8er9dagqO3IQeSRa3nwmdILFUMqyi0bJ9e0tHCZVmMeHfvgszL0bgQyO jzciQqzP31Eb9S4q7WqIh8TlTLNH7YBmU+LFQFA07C5YHi3j7HfWzfri7lOPUNpKNBLo A6gGnXj9MOSmFfQ1Oo9tg3zpelqwj2I7+ecTIQVPLzx5kO+eVviJabl5ZXJtBu7nDPwm KMkcloR7cEUrcnpanEhVwoogi8mrGgVZat2iV8Ccw+htg3BtfRN2LY3bfBOFdX/ioIrZ XjGVegF6YK4Qd8CpySpgetYf/hOkNpeWfCZNrM3jSkotCSSvDx0/E5jjx8hkt4hS/Wmg IFew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=9ipidn9DdcAG05+2ISRwacXC4HlVwQBjrEQo8ewArjc=; fh=wjzr5rRi4MtkWTMnnW3EjdZSpncIazyqZGzW5u9d+lQ=; b=ifuF8jVyQgvAoRiRWifpbUE9HxKy2y24PN/ANr45grb2N5Tylcf8v6/Qkaz427KXBT zZjdcCsemmyweX0qplZd9c2Org6G3IzSjS36rTBO7HWA/V0ywl4lUlkhMGIdOyDqy84N oszqW95ocieR4TVd3zN6NKhUgUe174cE0PTY2yao0kyaVPqgnT+UHPGBX1Xj7Kr31dOg 61IVhvfoYWCMeDnEkFYbPTnNYIFb07dU2z5l/R0KEvoGiFXMNZVrGp03jc12/hNZqg3Q IxtuhLrbc2u/UEBPNHPgkDsaqlFZ04HR9QKNFSY1Gu7mvEuNz2Jsat3tvUPWc0Nkq/P+ 87gw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-14792-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14792-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id j4-20020a170902da8400b001d3a67ed545si18725244plx.84.2024.01.02.12.04.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 12:04:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14792-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-14792-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14792-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 995852847AE for ; Tue, 2 Jan 2024 20:04:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 904E41640F; Tue, 2 Jan 2024 20:04:26 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [185.142.180.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 85C3616400; Tue, 2 Jan 2024 20:04:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=makrotopia.org Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96.2) (envelope-from ) id 1rKkzf-0000Qg-1y; Tue, 02 Jan 2024 20:04:09 +0000 Date: Tue, 2 Jan 2024 21:01:23 +0100 From: Daniel Golle To: Eric Woudstra Cc: "Russell King (Oracle)" , Alexander Couzens , Andrew Lunn , Heiner Kallweit , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Frank Wunderlich , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH RFC net-next] net: pcs: pcs-mtk-lynxi fix mtk_pcs_lynxi_get_state() for 2500base-x Message-ID: References: <20240102074408.1049203-1-ericwouds@gmail.com> <92190426-3614-4774-9E9F-18F121622788@gmail.com> <74223164-ab50-4d6d-a4f4-561b0a70d396@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <74223164-ab50-4d6d-a4f4-561b0a70d396@gmail.com> On Tue, Jan 02, 2024 at 08:33:32PM +0100, Eric Woudstra wrote: > [...] > > So if phylink_mii_c22_pcs_decode_state() should not set the speed, then it is not correctly set somewhere else. Yes, but the fix should go to pcs-mtk-lynxi.c and you don't need to change phylink for it to work. This should be enough: https://patchwork.kernel.org/project/netdevbpf/patch/091e466912f1333bb76d23e95dc6019c9b71645f.1699565880.git.daniel@makrotopia.org/