From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8E2FDC282C4 for ; Thu, 7 Feb 2019 10:31:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 689172147C for ; Thu, 7 Feb 2019 10:31:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726715AbfBGKbw (ORCPT ); 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: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@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