Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2812407imu; Sun, 27 Jan 2019 13:55:22 -0800 (PST) X-Google-Smtp-Source: ALg8bN60zLwHgUjIXSADnrD6jqbI7riBoUPajUI9haOV1vHni41yCh/VcQIDMK/+K3G6bUoQXShW X-Received: by 2002:a17:902:f81:: with SMTP id 1mr18795644plz.174.1548626122688; Sun, 27 Jan 2019 13:55:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548626122; cv=none; d=google.com; s=arc-20160816; b=Ta8AyHUIFLjqDfdB3QHV8FfFjL7bL+d1td6nDF2du0QB6NwVuBhIRBf/wfCYDKg3WQ Gb4+eGdhlPPHdb4NMharmCyokwypFZFXHnpePoZg2G9Kawybpi9y/0YR6d8UlaMsxdt/ asgZr9F0kdU3oNGpEQfyU3Z828YH/PhsSCWig0WkOcMRVvcyjvC3DunLGxBU5khEwp+w fKMI8JwsGvd7kK4vuU2mNH65cMVLOYxDUadLqvAXmOeP6b7wqC0zv+F3uLOzfc9bHrKk TS/l+M1ONTvakhuy08ExW4HTroNxJNzV4KiIIlog7iSESM3GSf/p+XT2RCszFy2UdVYN lJsw== 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=HIllJydWQs4BgpNdQuZJ42RBbRrcF00xi7uMR9vl+1M=; b=jtdU1ZbQ8CunLkxiywP9rEiQMk7toR3bT95ZV0HuWi0f3b1IkFU9V3zAXFeW+Z03+6 GjeGxCwHHvwf56FdCM2T1u5VUBYD3iT/DcvnKCNzyO4K0kjY8DqtZ9CGZU9dXqmt/Hdx pNLnYI2A+K3YD+yMYhQLQgyMOmi7MjrpP+tsGJF1KHzTuJQd/RSjZTOTUsjYVjutHJ23 vt7fEzGPo0V8dzZFVz+z3fhY1hlXFf22ODwJICe8oOwO/8B74IdUWnqOItuZZA0b3pGU eAItZMo9zgnsC7XUeJxTkqjIz9x6ItfqJsGx5cPrQpCLZQFLuLQILfmIeRmQz5cPAB5t 3SQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=i5Hbb1c8; 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 145si31655915pga.396.2019.01.27.13.54.56; Sun, 27 Jan 2019 13:55:22 -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=i5Hbb1c8; 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 S1726994AbfA0Vq6 (ORCPT + 99 others); Sun, 27 Jan 2019 16:46:58 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:56790 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726302AbfA0Vq6 (ORCPT ); Sun, 27 Jan 2019 16:46:58 -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=HIllJydWQs4BgpNdQuZJ42RBbRrcF00xi7uMR9vl+1M=; b=i5Hbb1c8idjc/UP+HBVLMtZfDp TiNDrvcO4QRHMWkEKVoXxeeEYqrsuv5NmJh1B/P2VMeX0RtOxKII1dSeBgok2AM8ei7LaSVFZHhZM 7Lpxa6/hayMwMv95HF1tF1iuWd1d3uHHwojDKhX09XcWKihrkXtXoVG8fB4HuqlTsWTQ=; Received: from andrew by vps0.lunn.ch with local (Exim 4.89) (envelope-from ) id 1gnsGS-000135-Nw; Sun, 27 Jan 2019 22:46:52 +0100 Date: Sun, 27 Jan 2019 22:46:52 +0100 From: Andrew Lunn To: David Miller Cc: miquel.raynal@bootlin.com, vivien.didelot@gmail.com, f.fainelli@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, gregory.clement@bootlin.com, antoine.tenart@bootlin.com, maxime.chevallier@bootlin.com, nadavh@marvell.com Subject: Re: [PATCH net-next v2 0/2] mv88e6xxx DSA suspend to RAM support Message-ID: <20190127214652.GB32046@lunn.ch> References: <20190125095507.29334-1-miquel.raynal@bootlin.com> <20190127.132250.578158295862987283.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190127.132250.578158295862987283.davem@davemloft.net> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jan 27, 2019 at 01:22:50PM -0800, David Miller wrote: > From: Miquel Raynal > Date: Fri, 25 Jan 2019 10:55:05 +0100 > > > After a first attempt of bringing S2RAM support to the DSA switch, it > > has been reported that a part of the configuration was lost during the > > cycle. This second version adds a first patch that saves the rules in > > a per-chip list when they are applied, so that in the second patch we > > bring S2RAM support by also re-applying these rules. > ... > > It seems like the discussion on patch #1 has hit a brick wall. > > The last suggestion was to use: > > + switch (mode) { > + case PHY_INTERFACE_MODE_2500BASEX: > + phydev->speed = SPEED_2500; > + break; > + case PHY_INTERFACE_MODE_10GKR: > + phydev->speed = SPEED_10000; > + break; > + > > in dsa_port_fixed_link_register_of(), but that doesn't work > because swphy will fail without speed=1000 in the dts. > > Well, whatever is decided, the commit message need to be updated > to explain why this course of action for the most immediate fix > was ultimately taken. Hi David Err. I think you are replying to the wrong patch? This comment fits to https://www.spinics.net/lists/netdev/msg546662.html Although i don't like it, i think for the moment we are going to have to accept the proposed fix. Andrew