Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp177391imj; Thu, 7 Feb 2019 02:32:13 -0800 (PST) X-Google-Smtp-Source: AHgI3IZHw/6O+406QSwUi1AZRMZzgEDShKGNXEnHP5sL646DDPSwPAphwo01eiXUR4bJ8FU8IVOl X-Received: by 2002:a63:6506:: with SMTP id z6mr14217668pgb.334.1549535532951; Thu, 07 Feb 2019 02:32:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549535532; cv=none; d=google.com; s=arc-20160816; b=UaJZHC3qVpHOM3wRouy/dO0Jh3wjxfV3hK0B30EmfZguoIiEqg2Osz4ypJZavyn1dV cF8V8sgRo5aHLc14Ue8CHqJp5Lf5seMr4R5P4Wy6Li8hTr8twusxvwJ/vc4uYQfRR0j9 zCS024B+MuSPI4gjsANhDAk2K/X8kp2SVbjJpLSQCaB/WWR+Hh4pnEQ6athoGjvNQ9FB UvysMJ95PNiTKyuVZHZPLxFG/QT3pLLX1dO2YP9lcgs25GzpYrgdma/t+lqUOwLnPz27 6wahJnQJp1yg7zLNnLU4SQtw0/mOB/ev8PQyi5SQSF93/DWutVWxg39/69Mk+RYKDuPS FLag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=hxj5yjS1iAsEuK+jf++peqor4LhdPlNZ8A1uqecnIds=; b=kB+GAZiCwZazOPclIrn6l2T+JxH9248XpCQvdh8Z9AttZTjrkjw3Mp69h8T4hh46Kl dzKaMadneYH8cLRv8dl7bt0Hk/VQpXJd4G3axRm/zvG81BatOFUC1XOau/LJVngC3ANO K4OkK2dS57cjvIdtfWBEby9yaWKk9NvH+JTLLy1gkUDkRnUcwoIvNnseK1K43mS1TPvK evJeXz0lS2rg0Z33r1WAfgMo5OKnoRvx3/pMYz1M7rgk6KURelG1d5QQtA0jcq12ilKZ I+enhef3qS/QhTbWOKuzOO68UasLNZrOciJQlsliqfm7HoeBXHOcdFD+X5ITkY57MXIB sJdQ== ARC-Authentication-Results: i=1; mx.google.com; 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 n13si1667977pgp.307.2019.02.07.02.31.56; Thu, 07 Feb 2019 02:32: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; 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 S1726750AbfBGKbw (ORCPT + 99 others); Thu, 7 Feb 2019 05:31:52 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:55359 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726549AbfBGKbv (ORCPT ); Thu, 7 Feb 2019 05:31:51 -0500 Received: from bootlin.com (aaubervilliers-681-1-80-177.w90-88.abo.wanadoo.fr [90.88.22.177]) (Authenticated sender: maxime.chevallier@bootlin.com) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 8ED7210000F; Thu, 7 Feb 2019 10:31:47 +0000 (UTC) Date: Thu, 7 Feb 2019 11:31:46 +0100 From: Maxime Chevallier To: davem@davemloft.net Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Lunn , Florian Fainelli , Heiner Kallweit , Russell King , linux-arm-kernel@lists.infradead.org, Antoine Tenart , thomas.petazzoni@bootlin.com, gregory.clement@bootlin.com, miquel.raynal@bootlin.com, nadavh@marvell.com, stefanc@marvell.com, mw@semihalf.com Subject: Re: [PATCH net-next v2 01/10] net: phy: Update PHY linkmodes after config_init Message-ID: <20190207113146.4a033fd4@bootlin.com> In-Reply-To: <20190207094939.27369-2-maxime.chevallier@bootlin.com> References: <20190207094939.27369-1-maxime.chevallier@bootlin.com> <20190207094939.27369-2-maxime.chevallier@bootlin.com> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello everyone, On Thu, 7 Feb 2019 10:49:30 +0100 Maxime Chevallier wrote: >We want to be able to update a PHY's supported list in the config_init >callback, so move the Pause parameters settings from phydrv->features >after calling config_init to make sure these parameters aren't >overwritten. I realised that I did not include updating the modes according to the limitations imposed by of_set_phy_supported in this series. If there's a speed limitation set in the DT, it could be overwritten by config_init. I'll respin the series with this addition, sorry about that. Maxime