From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8ADB4C433ED for ; Mon, 17 May 2021 11:01:38 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 575386100A for ; Mon, 17 May 2021 11:01:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 575386100A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=FNsmuzf+63/wqvvlKsmb0qC0Qwf2ullZuq6makBz5PY=; b=Nocx5+PLytwmGFGDdU9+YeqKx 8/d//zNnxmkjHXiGfM9d+JmRoDi5t44wnEe77ZtiYQ9KkUdcf6/rcJA5DUP8WuD8bnsDkIhVWhiDf Iw87AnZInmJls59xS+tUvPjPs6JOPnax+hW2G3RuVqKbPpUDoK0O3Quu3WZ0qvF+arCOGItiVECb8 1WVdSpyJEcTTEkCO75MTqC5U6I4n2MBOl9rWE3gxvMKJ5nzNNhrsGABHtdf43Kd8akVbrNK5E5wis AO08xOC00IM/PgBidXgINkliTYQOuMZYs832oMPsfJcqRfLDybvTUae4Ph98nctJXK+RqStkp7mUw WE+v5VKaQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1liayJ-00EfBv-2L; Mon, 17 May 2021 10:59:39 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liavz-00Ef0T-Qg for linux-arm-kernel@desiato.infradead.org; Mon, 17 May 2021 10:58:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=/jXKRvEAGHf4XcoVw2En2iOfrxY4eQ22yvfNze/jORc=; b=BvXRA3vlxxtkeBQX6xXnvQEjNU BnlJtXDQJezdGSrnJ51z/3/YcsNRwdcK/xDfcb7SDVTjLhcP9k5PGawVA6udSeSA98Q6Q1Di9jHbI OHseqp11rGQTyocSJxTw3ggxzxBXnFoTgN/u7zWRC0pG7y0ix5/16xqC9H7s4ZOMKLs78HjA/qmhx Mo8IEY6CgAMAtc7VPFbkRKivm98BUte47MQRW3CrybrFlN88wwEDUbUzOXJpDEmrAA6kZT9+ejS3x 9iJYAlwTCg+IDCAEePhYr1BxuLPxzHxksann/Oq0Tuxnu1jknbmW2Nh2OaFsiTKR+Mh1CKHoq3fn4 moZEXcVQ==; Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liavx-00DhBJ-2R for linux-arm-kernel@lists.infradead.org; Mon, 17 May 2021 10:57:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=/jXKRvEAGHf4XcoVw2En2iOfrxY4eQ22yvfNze/jORc=; b=lqRFR80I/wSPtHYniW1bDyEUf cUrsWt0HhhyqUWfhPPBnUvFm8Eki/Z25W8/fBog//DEmgWyVPtEDcT2EQJDBjAE99yRG8uZONXwC1 xo153AxgP/6c7ejMd2dWgtsbEDTG1DGQTxUvc+26zHmsRR6MJmz/yknSly84bMdz8RLxOVpXc5utZ beYdwnC6JwOs8ZrZnz1VIXQPQ8kNflGlZqImlC7vcQeOj0v5P47JGRbNqpSJc6PKKiUv8u/tiRdof k954LYDr6WpuIg0fBhub1a8aXk8Yo+WZTSPxFXo75chhgvUx02SKd1/9BR5vHNWBF0khhIZnrI/Zd tK0xR2UMw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:44096) by pandora.armlinux.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1liatI-0002KM-FV; Mon, 17 May 2021 11:54:28 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1liatE-0006st-Fw; Mon, 17 May 2021 11:54:24 +0100 Date: Mon, 17 May 2021 11:54:24 +0100 From: "Russell King (Oracle)" To: Michael Sit Wei Hong Cc: 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, weifeng.voon@intel.com, boon.leong.ong@intel.com, tee.min.tan@intel.com, vee.khee.wong@linux.intel.com, vee.khee.wong@intel.com, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 2/2] net: stmmac: Add callbacks for DWC xpcs Energy Efficient Ethernet Message-ID: <20210517105424.GP12395@shell.armlinux.org.uk> References: <20210517094332.24976-1-michael.wei.hong.sit@intel.com> <20210517094332.24976-3-michael.wei.hong.sit@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210517094332.24976-3-michael.wei.hong.sit@intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210517_035713_130597_A435EA03 X-CRM114-Status: GOOD ( 10.27 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, May 17, 2021 at 05:43:32PM +0800, Michael Sit Wei Hong wrote: > Link xpcs callback functions for MAC to configure the xpcs EEE feature. > > The clk_eee frequency is used to calculate the MULT_FACT_100NS. This is > to adjust the clock tic closer to 100ns. > > Signed-off-by: Michael Sit Wei Hong What is the initial state of the EEE configuration before the first call to stmmac_ethtool_op_set_eee()? Does it reflect the default EEE settings? -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel