Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp388144imj; Thu, 7 Feb 2019 06:00:07 -0800 (PST) X-Google-Smtp-Source: AHgI3IafGwen8nRSORSD2lJu9fmej+aftN/AKc9JLHvp1sLYmLK8C/5cxu80QeCBkQctQJXP6MOm X-Received: by 2002:a17:902:a586:: with SMTP id az6mr16540500plb.298.1549548007475; Thu, 07 Feb 2019 06:00:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549548007; cv=none; d=google.com; s=arc-20160816; b=FPEFcWAwl0ENCwBDsH2vazcCqP5sErRgPph2aYeaRb907iDtBn107Ic+08Raiz7w3j SsYwS7F7/hvHgqIbWPbp6/Mv2XkcWNIte6LB83qreyToR0sEP7tzPqIr77Js+ELZkn06 cQZbHZ1giZ28+w3a9bzujpFl4RUKS1CJjk2coqvx5iikXQju9j+H2MTYPGAzwlmvcUeW qxrrfdZBq2Iasx7J8WXiqgGyJB8Pv1enQiPuUwMBuDYaCZsvXpEgoGBPRhmRbpbmf4LJ 20yj5es9IkLgqzWBxipj5wFA5Sz7skLCILzdy6xupZAE6vCITM+7l82QLqSA6BC9Ihum a2vQ== 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=MHHtCsoQdBIpDqpQB8CcP8mcYGHnSvU4DJ9anatzKPE=; b=0HBHAhf+x2I37I2dmOgubVW7avpX7RqKXtXKFm8XcOGhlxESdqZ4cqNyENZSRf3Fw2 wy4L70RKapB7RkNCybjLr54Ah9JZVN4Zaz52MUbbfHqcCpYQ1yBaM49KL9LNWqojSm1p GguIlygSaDravhaXuU+iPLP1+lwr00lh6oHTTaWJZOyMnzRayIPToYlavcUnhcoKc6Bk WkBnuI+mLNu5usIjQ250qh0pDfcJnOAnxeG6kvhEIRfEJbx7RjQfW4322HGjagD98MmN asKFOmZlfPgD3ztlTGAOGgwfZ+aziw2SJHQX1FWyln4N5QbfeJVMN5M1AF8nKndfrXqd oEJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=Obd6U6sB; 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 f7si2865724plr.96.2019.02.07.05.59.51; Thu, 07 Feb 2019 06:00:07 -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=Obd6U6sB; 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 S1727057AbfBGN7m (ORCPT + 99 others); Thu, 7 Feb 2019 08:59:42 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:42426 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726782AbfBGN7m (ORCPT ); Thu, 7 Feb 2019 08:59:42 -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=MHHtCsoQdBIpDqpQB8CcP8mcYGHnSvU4DJ9anatzKPE=; b=Obd6U6sBiWm1B6RyOFtp8V4v98 1JeO/avOG2Aqag5sW3q8apaLY8ui22TkzlD7DUXkDdR7zHihd423f0cqy4Wrjg544bJB890hf1c/X k/M7Y3B05VhW50sfaB5dMS9DQUtlTdECxmblCj9mACbV5qdO7tJay2PyfVaThDVNM44E=; Received: from andrew by vps0.lunn.ch with local (Exim 4.89) (envelope-from ) id 1grkDK-0006qj-7U; Thu, 07 Feb 2019 14:59:38 +0100 Date: Thu, 7 Feb 2019 14:59:38 +0100 From: Andrew Lunn To: Maxime Chevallier 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 02/10] net: phy: Mask-out non-compatible modes when setting the max-speed Message-ID: <20190207135938.GG32483@lunn.ch> References: <20190207094939.27369-1-maxime.chevallier@bootlin.com> <20190207094939.27369-3-maxime.chevallier@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190207094939.27369-3-maxime.chevallier@bootlin.com> 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 Thu, Feb 07, 2019 at 10:49:31AM +0100, Maxime Chevallier wrote: > When setting a PHY's max speed using either the max-speed DT property > or ethtool, we should mask-out all non-compatible modes according to the > settings table, instead of just the 10/100BASET modes. > > Signed-off-by: Maxime Chevallier > Suggested-by: Russell King Reviewed-by: Andrew Lunn Andrew