Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp994503pxb; Tue, 9 Feb 2021 19:18:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJx58ra4GpCjp5+11mXZxF4ob8P7v7lg49Nzs7CKA/yWW5zfm8cls6lHH+valfTvclVAw2n1 X-Received: by 2002:a17:906:719:: with SMTP id y25mr867690ejb.180.1612927081925; Tue, 09 Feb 2021 19:18:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612927081; cv=none; d=google.com; s=arc-20160816; b=bkjteefR4OoQ4Tbv0lb988af6XAT4GlVQZ+k4fnkl4T3AJ80516f32MWUIb+dE9cpe obNJgRbWyaKuz4gOWPPhoZuPqrhpgTAS5R7bf4Sytefn5fpJAqR8vQd7IP0CFbxHRAVb pYH5tDiQV9sNx4kVvJ5NYR8DdkBo4buwOuhDb6s8olNNu/h5cxhb4QkERs08UA72fVW0 zoZkgATf/qY2PxnfKQOVM2Dj1m1cKj8FuR7zfFn0qYnGKJeG0jHU7c1XR2jZF92l6qS8 wGS693xMSb4J4otWIdMot/CpZejsSZWpNILPivRAfWQ+yORx2y9kJ0xppRxQz7F+Y8rI iGtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=qgjO/6O6/GHv5ONViL/FqI7BSwMcToNyR5mKAZxLc1o=; b=td/c7SU8MUCEuHPsf70SP5TnH8i0jLMYGHeky9bxJSwkGs73TXznyqlIbBMYc+eVXJ q1+aPERXZFsqAtnvQJxF+8vHIXtG6pm+uMUFQ3Tywrx/Ef6HTRasWPgmf7H4zI35uP/P jIIFG53SKHPmlftQwR7DN0fREZ1tN+eHIGHcSNl2Inv4YpMip560YwmiBsuEzwFy2meU R/UkUnU6501JCHS5DhQp23W7kod//SGUqUgXXz1Hup7K7e7TdEODLwfXKWB5O3PeL7X+ Ux5iLA8vvJzO9XLPPBNx8A6pzfGemlX1LMIIJfkgL3gcLLTHqbN4290IltQnw8axViq7 bCVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=ekteLdye; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g7si546552edh.31.2021.02.09.19.17.38; Tue, 09 Feb 2021 19:18:01 -0800 (PST) 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=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=ekteLdye; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232304AbhBILCs (ORCPT + 99 others); Tue, 9 Feb 2021 06:02:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232103AbhBIK5a (ORCPT ); Tue, 9 Feb 2021 05:57:30 -0500 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F27EC061794; Tue, 9 Feb 2021 02:56:50 -0800 (PST) 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=qgjO/6O6/GHv5ONViL/FqI7BSwMcToNyR5mKAZxLc1o=; b=ekteLdyeIn9VGB/6gjGX30LkE +v2HdWGWFMllCW2pOoCzuoYT1R27oUhe53z7JtRXQyUtYfxYa6CJVWMt82KhFGyfdDq1MvqsFbfZj JGeGW6XO6oxQH+JM1eZBqcGcrcGBYeuKWMOFN59kFM3VkPvaywD5+DZMKRNdeIbvBQuEaMg7I0rqC 5JqybgKTHQ75PFp+Q2mTSimNC3NcjIPnUFDhPsBJyIiivKxyCCsKY8wCHI+Wv8DIQU6PpV1HO8dRA phyEfTaJK2UXC1nOHC51wZhkcbDCeIcFROx3qGeF96hZl1kzYb+kO3qarhnrfYMu1T0BzczIZK+bP HzkPABXTA==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:41154) by pandora.armlinux.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l9QhL-0003JT-Go; Tue, 09 Feb 2021 10:56:47 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1l9QhK-0003zb-Ca; Tue, 09 Feb 2021 10:56:46 +0000 Date: Tue, 9 Feb 2021 10:56:46 +0000 From: Russell King - ARM Linux admin To: Heiner Kallweit Cc: Serge Semin , Jose Abreu , Andrew Lunn , Joao Pinto , linux-kernel@vger.kernel.org, Alexandre Torgue , netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, Serge Semin , Alexey Malahov , Jose Abreu , Pavel Parkhomenko , Maxime Coquelin , Jakub Kicinski , Giuseppe Cavallaro , Vyacheslav Mitrofanov , "David S. Miller" , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 01/20] net: phy: realtek: Fix events detection failure in LPI mode Message-ID: <20210209105646.GP1463@shell.armlinux.org.uk> References: <20210208140341.9271-1-Sergey.Semin@baikalelectronics.ru> <20210208140341.9271-2-Sergey.Semin@baikalelectronics.ru> <8300d9ca-b877-860f-a975-731d6d3a93a5@gmail.com> <20210209101528.3lf47ouaedfgq74n@mobilestation> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: Russell King - ARM Linux admin Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 09, 2021 at 11:37:29AM +0100, Heiner Kallweit wrote: > Right, adding something like a genphy_{read,write}_mmd() doesn't make > too much sense for now. What I meant is just exporting mmd_phy_indirect(). > Then you don't have to open-code the first three steps of a mmd read/write. > And it requires no additional code in phylib. ... but at the cost that the compiler can no longer inline that code, as I mentioned in my previous reply. (However, the cost of the accesses will be higher.) On the plus side, less I-cache footprint, and smaller kernel code. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!