Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp974673pxb; Tue, 9 Feb 2021 18:32:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJxf+i8MhNJM6BCjx+fZZY3HyXkEUTy0k+ZuWt7kfp5WTLoXnbiCZnuan4K41Hr7Qy4XQxXI X-Received: by 2002:a17:906:e092:: with SMTP id gh18mr681003ejb.389.1612924376850; Tue, 09 Feb 2021 18:32:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612924376; cv=none; d=google.com; s=arc-20160816; b=buqGbJ4C0qVUBmmftGshom4/sXhKKb3UK/BfawaQ1n6ysvxgQx5NbAZS1CpySpcxuV FQ2GJG37CNmPus4TzPdlvwLiFK8BXd2Pyf2HG4UKhlK+zd6GOh14XXgc/kyBh52UhdCF l+EjozQ7Hdr2c7mXcbSzDzbBW3OaNtGgXVsXfUdOTZPiy7JrMFMCGPNDye91y3R6VECp JZsXZ3DCtNm5sSf3A7Xg5ufkxXYcUAvKer1lFSrReUFz0ACY1mi2BDQ/Z8aItYmGi8qY b6bYZj4LWxpQVco8YS0lsnpHd+ndmCFTLBC7x3zgP/6LXTVg6E8Uk+S1qxHKdrnB9eho 9QPQ== 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; bh=IQP10qC7oAq/RJ07k/tRZrjj198XF4+od+LvLy7fF9Y=; b=z1sjTD5EYTCXsQmKFGZX/sTP8eWWP7JJqjMEULvgVWUj3g0SPEg5zoGQIc/t8TLduG NrNMfk5joEw8ivD0PBmS+wbmIjtUZ/Duu5NIcvyX45eH8ZV5DdMJq+67tB4W+M1k2peS OPoXPAm1SKPqd3qKTrYKW39x6a8jJCAr6DgKcjZLIxwDVs4GGaEzFL2rZtCUvPxOx2/r uP+hbgpYV9ImC9VXTCBHaTjjh1GXWtliDBR5SLnL+6De5XYERM3MWpNQijqqiAl6Z5l9 TF8pYpn0TLhxdJkmSBB7/0hIw2L7ViPVU/0UBlKtFpESq6uCCyAvV1120mtIlMEaUnX0 L+UA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d24si443137edy.17.2021.02.09.18.32.34; Tue, 09 Feb 2021 18:32:56 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233767AbhBJCby (ORCPT + 99 others); Tue, 9 Feb 2021 21:31:54 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:59222 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233870AbhBJCIg (ORCPT ); Tue, 9 Feb 2021 21:08:36 -0500 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1l9ev1-005Dzn-5T; Wed, 10 Feb 2021 03:07:51 +0100 Date: Wed, 10 Feb 2021 03:07:51 +0100 From: Andrew Lunn To: Michael Walle Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Heiner Kallweit , Russell King , "David S . Miller" , Jakub Kicinski Subject: Re: [PATCH net-next 7/9] net: phy: icplus: select page before writing control register Message-ID: References: <20210209164051.18156-1-michael@walle.cc> <20210209164051.18156-8-michael@walle.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210209164051.18156-8-michael@walle.cc> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 09, 2021 at 05:40:49PM +0100, Michael Walle wrote: > Registers >= 16 are paged. Be sure to set the page. It seems this was > working for now, because the default is correct for the registers used > in the driver at the moment. But this will also assume, nobody will > change the page select register before linux is started. The page select > register is _not_ reset with a soft reset of the PHY. > > Add read_page()/write_page() support for the IP101G and use it > accordingly. > > Signed-off-by: Michael Walle Reviewed-by: Andrew Lunn Andrew