Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 401A6C61D97 for ; Sun, 29 Jan 2023 21:54:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235312AbjA2VyY (ORCPT ); Sun, 29 Jan 2023 16:54:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234383AbjA2VyV (ORCPT ); Sun, 29 Jan 2023 16:54:21 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AF081E2A9; Sun, 29 Jan 2023 13:53:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=CaFo3H1tDG5YMgySek3qKOsvTMfAin67h2iUOrGlz8g=; b=UXuuezEkqZE1PX2b3wGWaWB6dR gFrCYpHGFUAWuB1iqKBbxt4B449orPwnFIpoQ0SymV1bjX1OV5zgMw1B2iUQqmEEbBpcap1E+0UwI Kbl5orR6eLG+Q3zvR7SSxjpV4WfMkJGlEAn962BEtov1wBq08FyjrrWef+iDsAt2Pq9Y=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1pMFbx-003WTb-Vf; Sun, 29 Jan 2023 22:53:17 +0100 Date: Sun, 29 Jan 2023 22:53:17 +0100 From: Andrew Lunn To: Chris Healy Cc: hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, neil.armstrong@linaro.org, khilman@baylibre.com, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, jeremy.wang@amlogic.com, Chris Healy Subject: Re: [PATCH 1/1] net: phy: meson-gxl: Add generic dummy stubs for MMD register access Message-ID: References: <20230129022615.379711-1-cphealy@gmail.com> 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 > > Hi Chris > > > > This change in itself makes sense. But i wounder if we should also > > change phy_init_eee(). It reads the EEE Ability register. The 2018 > > version of the standard indicates the top two bits are reserved and > > should be zero. We also don't have any PHY which supports 100GBase-R > > through to 100Base-TX. So a read of 0xffff suggests the PHY does not > > support EEE and returning -EPROTONOSUPPORT would be good. > > > This seems like a good change to make in phy_init_eee(). I should be > able to do this. Can this be done in a subsequent patch or does this > need to be present to land this meson specific PHY patch? They are independent, submit them in whatever order you want. But doing it first will make it easier to test it actually works. Andrew