Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp290375pxj; Thu, 3 Jun 2021 06:50:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGbe77yAVpCgz6S2OBHGh8HBsan3/GcgZbxixHnaRCuvYkfGPrDjFg4iqrFrfxLpwtGr4K X-Received: by 2002:a50:fc84:: with SMTP id f4mr24667729edq.252.1622728233180; Thu, 03 Jun 2021 06:50:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622728233; cv=none; d=google.com; s=arc-20160816; b=VT5Dw7eOAVLb0qzGm7Gszd/heRQohrJ9t2bjrBFqdzED1SxsVK8Q3FRj2y+shbA3+W /zeUajmPC48+Fvg0p6rhWvERoLS/IDO5JFgWYrKJNtYaiBzgbsNiV7lUEGLgf5nBkOlc a50t3ly4wouc/Q/T4twPQ9UFexZnfFwBtN/Bn8F6zglJj9g4t3mkddg8CPm3yo1IdmBc SdttQRB5aBaXFaYJS9SkdZkhdqWRNNY10jSg+1TxIg0w9jGtDXZbKbg+LqkzLw/lf/Co T/CyN59g6CjWNZ7DensllUw5WdsiTzH5IsaM/09kj7KGdQSxj7/GPWr1r5g9cvjddyMZ XlSA== 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=QlhaCMUqZtCg3qakQldsporL1nDLMTcjY1NaDx201K8=; b=0gWDQZj05oBYBq39e5sO2+mygNQBcAtP15EWsd4QX8Lvl/N5uQBsKrSYSFMGr6VcUU Sm64BT3sfsLjuXNt/9FBVek7gPGl4jv3FX1cl7lry59Z1+d2kZsy91Kej+KZgIgh6LL/ T1FsODI3fO8d5bcx4GLbgJAudDaApraa0Ciequ4koFbz06w9u6oFWkFOIByisyY6zLYS wLItoZ1mhHLdzDgaaCDXFwwK5BMyrXAn7lEh0qqfvUc9asJ1heCAz4nzaZC+p2Erksxa EowqCHt746VTCmqhiIUcViGzq9DvUZ0Xa0GlvcJvqex7S0uOlUZ4TegrQrMYwafQrnGo 0oBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Vh0oF+Hi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x2si2340510ejs.442.2021.06.03.06.50.09; Thu, 03 Jun 2021 06:50:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Vh0oF+Hi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230128AbhFCNtm (ORCPT + 99 others); Thu, 3 Jun 2021 09:49:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229967AbhFCNtl (ORCPT ); Thu, 3 Jun 2021 09:49:41 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A299C06174A; Thu, 3 Jun 2021 06:47:57 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id b11so7210877edy.4; Thu, 03 Jun 2021 06:47:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=QlhaCMUqZtCg3qakQldsporL1nDLMTcjY1NaDx201K8=; b=Vh0oF+HindfSV0XGe82AFy+QuEUOKjyVL8LmuvHXkOndpkGG7jgtSkNwhRT5Sj+uuL z3ETKB8rQHlI1ECmP6Ec5BcJzcKGp6SCJgx9JfBxu3flGhC/yB6evq2pzE3kWAWdDp2y 1KOX8S8Tbo6hZVl0Cb4o3VQ4KY6mLjWDMGbiHnZnKa4mkaCyyPVeEKVUliA8u8IDJu6g FYqx36yQu0MMI1pjHWufYQc7n8xxt53MsTo7HCMjB4YlQvk/cEUHD0592Yng6zmUDG9M MTaCI3xP8OytO7s4X9xQQPAOGc2xfmFH/LGeHM+PlND0rCB3UoxoHjxF6x4Hw5yt2HAr Bbcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=QlhaCMUqZtCg3qakQldsporL1nDLMTcjY1NaDx201K8=; b=s6sjzMAJGBemcCWd/F6/WZqCUoNArFx+DUwC+8LxnZmQw7cMnbhsd20VrkqREJB66s P7na/rGu1FNJCM8FzUDJjaF4F/gd7ZhVqTN4Sqw3No7yxzRgsJOaoYe2eE78TrN5h8UF JWjUQYRL0TykgSLeDAThxuKSyvqqbvmnYzR+XxkSD6uiE3a7l6cVHRn5tqgtC7IocUqZ vmuK7bQuVegqvl4t3QtxRYGmDS0Xpf4QdDRYy0eUrJgKTMNPvDZm+3KGwgPO52WpwrgJ PqpgwG9xOgg2NDRiXWzyvK/XDQ12AtLvXiiR0hKuRJhATWQRNOk8RYKvT3FCwf6pQJI4 3iQg== X-Gm-Message-State: AOAM533CJqgPCpgfxa/tMn2jlQijdLzaj0uUs4FRoKLOoZHIvruZoPwf C7Bh04CO5A7z+yu1HW7mnOQ= X-Received: by 2002:a50:fd0d:: with SMTP id i13mr44463701eds.163.1622728075107; Thu, 03 Jun 2021 06:47:55 -0700 (PDT) Received: from skbuf ([188.26.52.84]) by smtp.gmail.com with ESMTPSA id cw10sm1103773ejb.62.2021.06.03.06.47.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Jun 2021 06:47:54 -0700 (PDT) Date: Thu, 3 Jun 2021 16:47:52 +0300 From: Vladimir Oltean To: "Sit, Michael Wei Hong" Cc: "Russell King (Oracle)" , "Jose.Abreu@synopsys.com" , "andrew@lunn.ch" , "hkallweit1@gmail.com" , "kuba@kernel.org" , "netdev@vger.kernel.org" , "peppe.cavallaro@st.com" , "alexandre.torgue@foss.st.com" , "davem@davemloft.net" , "mcoquelin.stm32@gmail.com" , "Voon, Weifeng" , "Ong, Boon Leong" , "Tan, Tee Min" , "vee.khee.wong@linux.intel.com" , "Wong, Vee Khee" , "linux-stm32@st-md-mailman.stormreply.com" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [RESEND PATCH net-next v4 0/3] Enable 2.5Gbps speed for stmmac Message-ID: <20210603134752.6kjkhzbxmhz3nfyu@skbuf> References: <20210603115032.2470-1-michael.wei.hong.sit@intel.com> <20210603130851.GS30436@shell.armlinux.org.uk> <20210603132809.2z3jhpuxaryaql6v@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 03, 2021 at 01:43:09PM +0000, Sit, Michael Wei Hong wrote: > Vladimir, > > > -----Original Message----- > > From: Vladimir Oltean > > Sent: Thursday, June 3, 2021 9:28 PM > > To: Russell King (Oracle) > > Cc: Sit, Michael Wei Hong ; > > Jose.Abreu@synopsys.com; andrew@lunn.ch; > > hkallweit1@gmail.com; kuba@kernel.org; > > netdev@vger.kernel.org; peppe.cavallaro@st.com; > > alexandre.torgue@foss.st.com; davem@davemloft.net; > > mcoquelin.stm32@gmail.com; Voon, Weifeng > > ; Ong, Boon Leong > > ; Tan, Tee Min > > ; vee.khee.wong@linux.intel.com; > > Wong, Vee Khee ; linux-stm32@st- > > md-mailman.stormreply.com; linux-arm- > > kernel@lists.infradead.org; linux-kernel@vger.kernel.org > > Subject: Re: [RESEND PATCH net-next v4 0/3] Enable 2.5Gbps > > speed for stmmac > > > > Michael, > > > > On Thu, Jun 03, 2021 at 02:08:51PM +0100, Russell King (Oracle) > > wrote: > > > Hi, > > > > > > On Thu, Jun 03, 2021 at 07:50:29PM +0800, Michael Sit Wei Hong > > wrote: > > > > Intel mGbE supports 2.5Gbps link speed by overclocking the > > clock > > > > rate by 2.5 times to support 2.5Gbps link speed. In this mode, > > the > > > > serdes/PHY operates at a serial baud rate of 3.125 Gbps and > > the PCS > > > > data path and GMII interface of the MAC operate at 312.5 > > MHz instead of 125 MHz. > > > > This is configured in the BIOS during boot up. The kernel > > driver is > > > > not able access to modify the clock rate for 1Gbps/2.5G mode > > on the > > > > fly. The way to determine the current 1G/2.5G mode is by > > reading a > > > > dedicated adhoc register through mdio bus. > > > > > > How does this interact with Vladimir's "Convert xpcs to > > phylink_pcs_ops" > > > series? Is there an inter-dependency between these, or a > > preferred > > > order that they should be applied? > > > > > > Thanks. > > > > My preferred order would be for my series to go in first, if > > possible, because I don't have hardware readily available to test, > > and VK already has tested my patches a few times until they > > reached a stable state. > > > > I went through your patches and I think rebasing on top of my > > phylink_pcs_ops conversion should be easy. > > > > Thanks. > Sure! I am okay to let you merge your codes and rebase my changes later on > Do let me know when I can start rebasing and send in the next revision Well, you are already copied to my patches, so you should get the notification email at the same time as I would. https://patchwork.kernel.org/project/netdevbpf/cover/20210602162019.2201925-1-olteanv@gmail.com/