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=-5.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,USER_AGENT_MUTT autolearn=ham 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 1B4BAC282C2 for ; Thu, 7 Feb 2019 13:59:50 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DD81A2175B for ; Thu, 7 Feb 2019 13:59:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Gft9wwFb"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="Obd6U6sB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DD81A2175B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lunn.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=j0zjDZCAN/A7uyM2op1Fv17NUdoEPmycb/U3fTJlVFU=; b=Gft9wwFbzyzEHI r4PKY+wpUziI9SSldXFlE8ATdgzpeCNgArz7JO2begQ1U1Gwrx9BcB8uvTiXqNG/qWmx/ClFSS2vN IHyE99U5+Te7CYX08m8bNu66DHO9O2+Pv/2+ERVuEnEKezslWdO5ukMDsu45xSAya9U0uybBdN9Nb vt79+aWAr9qOVMmGaAozUF3AbzNVbqqacdT2QG+E/IvNdKgunCoGjao6JisFaKhOezXrcQRQmZM06 domXXlJauAbOpqBYkNo6CPILMXsekLbvN+Jz33a7oFHKpMbMPjyODRBYnvCU9+fJPbLlo7EWiO9J5 3JhfzxTA3Dj7HlAcYwjw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1grkDS-0005Hs-NC; Thu, 07 Feb 2019 13:59:46 +0000 Received: from vps0.lunn.ch ([185.16.172.187]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1grkDP-0005HU-GU for linux-arm-kernel@lists.infradead.org; Thu, 07 Feb 2019 13:59:44 +0000 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 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-Disposition: inline In-Reply-To: <20190207094939.27369-3-maxime.chevallier@bootlin.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190207_055943_701416_4F42E09F X-CRM114-Status: UNSURE ( 8.46 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Florian Fainelli , Antoine Tenart , netdev@vger.kernel.org, gregory.clement@bootlin.com, Russell King , linux-kernel@vger.kernel.org, nadavh@marvell.com, thomas.petazzoni@bootlin.com, miquel.raynal@bootlin.com, stefanc@marvell.com, mw@semihalf.com, davem@davemloft.net, linux-arm-kernel@lists.infradead.org, Heiner Kallweit Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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=-5.3 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS, URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham 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 3FE77C282C2 for ; Thu, 7 Feb 2019 13:59:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0B49F2175B for ; Thu, 7 Feb 2019 13:59:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="Obd6U6sB" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727074AbfBGN7m (ORCPT ); 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