Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2214635ybv; Fri, 14 Feb 2020 13:51:12 -0800 (PST) X-Google-Smtp-Source: APXvYqx2k3tNR59i/XLB2P0AEuTD4GMzl1mrT+x0GVfUTDQhN4cIV6fnb3KSsS8D9pBCNk6NAmz2 X-Received: by 2002:a9d:7e90:: with SMTP id m16mr3713188otp.227.1581717072660; Fri, 14 Feb 2020 13:51:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581717072; cv=none; d=google.com; s=arc-20160816; b=fSt9sW1pSozHPy2yMA81Ht5PCovIGJPjAOhBHihcvi0Exxnqh1RSjpfxk6p171Hmg0 SMt6hd/1Bgf6DmykOOfdIifxSOVNKDlboQeNfKSVQSPESo8a0e/nX33ivDXenOZo3Aei MP0HR7Qdp7gPYNmXFTVaxdqGSWbWJCesN8W/9MkJd/oZTxfqrv6cXuMW1bziaFSIF29K SXI1fzIfQ9ZKaoD6du/Z5TS0re36TyO77djaEHflOCqxZnadUcqekQVMS018p/W+4C0D lFEcTJa2Z7G73bqCxRSaBNhqgjUyRGX0N+E0+OXBlmXm9GX48vhzSxJMllXlTBY6NItv O8Ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=7iRmTIPwdVFSIEMmhYwyfw+SlQI0O1RLqb/oLphl5Ow=; b=FkK9fqk8Diu44GRHerTPsLC0gMLOlT8/CVzJ7Lv3GGxRmzlr89Dsrq7LvfbhVcz3b5 PwcNv46ylDz8I9t8wtW7X2m545lufYoA9iEIQjOIOH63QtmAv49I00nGGk2qgx8A0+bs 9os8PRDQ01mP1slldxc1AWAG43zVtl2hNY7dmC6/sC9bmtsrfFvN742ReQ66VP6YqQM5 j2tfpekmEWV7F+zK3CQK0qz+osHZq7TQSeMjDGUogon4MSR6To55AP/9y8qh9PtE6Nla JWbpJHA9ybKxHHqzbCut7tDqobXCsp95pgTTT11UgIklfAtbP8wMA/E9jo3tw5SIdfid DmhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=0Fq+suuk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h125si3147183oia.253.2020.02.14.13.51.00; Fri, 14 Feb 2020 13:51:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=0Fq+suuk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730506AbgBNVur (ORCPT + 99 others); Fri, 14 Feb 2020 16:50:47 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:47284 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729294AbgBNVur (ORCPT ); Fri, 14 Feb 2020 16:50:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender: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=7iRmTIPwdVFSIEMmhYwyfw+SlQI0O1RLqb/oLphl5Ow=; b=0Fq+suukFgH9Wv9A6xtYGcRQxl x4ke43NR8rGrvA4iaY3LmvwGynr3DGHh4xKlW6C1htwXFCoqncX+xQmbu9Zr7rhxOMar1h4CNR5Jp 6rUcsoXi2w6vLaUJQUCdRcgkO5rf8DHwqu7wZ1jhQETUWbCfSsVjInrXiFJkLQLEEQ+A=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1j2ir7-0002EK-Az; Fri, 14 Feb 2020 22:50:37 +0100 Date: Fri, 14 Feb 2020 22:50:37 +0100 From: Andrew Lunn To: Scott Branden Cc: Florian Fainelli , Heiner Kallweit , Russell King , "David S . Miller" , Ray Jui , bcm-kernel-feedback-list@broadcom.com, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Arun Parameswaran Subject: Re: [PATCH v2] net: phy: restore mdio regs in the iproc mdio driver Message-ID: <20200214215037.GR31084@lunn.ch> References: <20200214214746.10153-1-scott.branden@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200214214746.10153-1-scott.branden@broadcom.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 14, 2020 at 01:47:46PM -0800, Scott Branden wrote: > From: Arun Parameswaran > > The mii management register in iproc mdio block > does not have a retention register so it is lost on suspend. > Save and restore value of register while resuming from suspend. You actually just reconfigure, you don't save it. But that is minor. Reviewed-by: Andrew Lunn Andrew