Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp384251imj; Thu, 7 Feb 2019 05:56:11 -0800 (PST) X-Google-Smtp-Source: AHgI3IYTeCHJkBByMDiluwGSTY5dmcO7WKcZ7fmzZetIiFOi12wQvx1I5/W4WZwSfJJtywXM4MZn X-Received: by 2002:a17:902:690c:: with SMTP id j12mr16383077plk.206.1549547770988; Thu, 07 Feb 2019 05:56:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549547770; cv=none; d=google.com; s=arc-20160816; b=vF/zTvIgpYbBJanvFm4xtjOau2Ykek1skvWAaZg6pM0ZwLTp1bTsPgEuW41aKlOse2 JEHI9CC8qK3Sa0VTZKamWdQ6BuT95BPjZP3XHGFfY2ZFgHagSNDGlUz6b3+rC7/AVa/x YI7oD0F9KP46iG//o09pZxmBCE1nahpKsUc1knHaIya8TlbcL5XfkpJcv5SuRRz9Q6TO KdpvmNe6SR139/LbBTyKfkVZNSemfH4HHVU5YMvWJEDGLGKKvmmCkWdkBaH6XttQbjC9 GNTOGoqAOvBUnKaK+Dz5OXCND5+VFIowGPkxybW5az5uC+25BAj66io+EPFXml/avbUY v/JQ== 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=aU4c2wZ2jNR6Rd8PYmVEnJjMjuT5nKNm54oqI+lwyHc=; b=slW+SNa0dSOww9pVfU3E1g9rvcVu2vMDCKKsNrZz8LdFISPciqr5SF+6NpfWoi89rq tb9dk2Y1EUgutRmS0/H3fWwQboC7mcaTD72JL0AKGGkj+1iZ91yd4VEsthxJHwFEHU4q xUtwmIZaLaQWpnGkLYiK37hl2QnfMf4mFBMXD3rctRb75fmo6o4N1Y2/VGJotyq7pmYi 8VTZjwSlgQDStgbeh4TyyRPy4GM/kkhDRQhcfoaU7HpljJubwlq8R/G2nbwQ72aqjXRc WqCtDyUKj+6m+I9zgFRYHuvwdcvRQYD6DITpyR4S8N+ObeEIP6Gkl23RzDjfr4aY7Hw+ fRYA== 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 w16si9641252plk.192.2019.02.07.05.55.54; Thu, 07 Feb 2019 05:56:10 -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 S1727090AbfBGNzY (ORCPT + 99 others); Thu, 7 Feb 2019 08:55:24 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:39719 "EHLO relay11.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726558AbfBGNzX (ORCPT ); Thu, 7 Feb 2019 08:55:23 -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 024EC100017; Thu, 7 Feb 2019 13:55:18 +0000 (UTC) Date: Thu, 7 Feb 2019 14:55:17 +0100 From: Maxime Chevallier To: Andrew Lunn Cc: davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, 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: <20190207145517.08bb8975@bootlin.com> In-Reply-To: <20190207134807.GD23970@lunn.ch> References: <20190207094939.27369-1-maxime.chevallier@bootlin.com> <20190207094939.27369-2-maxime.chevallier@bootlin.com> <20190207134807.GD23970@lunn.ch> 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 Andrew, On Thu, 7 Feb 2019 14:48:07 +0100 Andrew Lunn wrote: >On Thu, Feb 07, 2019 at 10:49:30AM +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. > >Hi Maxime > >I have a patch which makes some core changes to support PHY doing >runtime feature detection. I would prefer to use them, than this. > >Either I or Heiner will post them soon. Sure, no problem, thanks for doing this. I'll be happy to review and test that on my side. As I said, I lack the big picture view on that part so my approach was pretty naive, I'm glad you can take care of this :) Thanks, Maxime