Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1642246imu; Wed, 12 Dec 2018 01:33:44 -0800 (PST) X-Google-Smtp-Source: AFSGD/VZVEOLg3gzEm4+6bRwQuuX8UBe6o9QcELddtypxWocZ0qcXPQ4SJxZX7hnEgf6J+z+2Az3 X-Received: by 2002:a17:902:9b93:: with SMTP id y19mr19408695plp.336.1544607224245; Wed, 12 Dec 2018 01:33:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544607224; cv=none; d=google.com; s=arc-20160816; b=AB/qVw53UkvIfKvhda2NyBoLfciSDvPaoqMIW/+/+0NJC6sKm4imteW/Y7qWc+vhJC VAbhhlukBDYkWWeWAeSLkkw75UQaTEgvk/hqGn6y6hRyXxN/lRS1qqQrtGpeo5VPrUmS fXqcqTkaDwo7+vdj5pmedtKs+D5quuc0jkfGv5Lx3zeQn9h0bhSM+OFV+aRnHqDqON0Z XcD0GI9EyqNg3B7gVUMZmDOyT6iSvZ6yxsENNANlgC+yKJiwi2i9p04uYaC77uR3NVcY 40nlh7PyAIdoJcecpAAX4bSCXQZMKLLA6QNGgfdcXxJF9BDaSFi2OepXE50re4KsCSNX pIFg== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=0URd5VW8QDArdLfQJoQ1ho4pfEZt77LuqygUfeuv6mM=; b=rKadxvMt8sQfzX+zJ32pNgKKvwokXoafVftc/eDpACPFmss6CX2ikheKgMuQUT+plW RKRFepbyTkgf/sq1NCUbwe5LION9sSXcdw1WLMc9mZ/zAdsMz++yVPtlJ7bpZ3tIx+aA Zryzuu9oUOGijghkJ4V4Nd+VIMptjrKaMPLEcEHYvN1DdrODKTMT46LeNb0EvcRS9Lmb 2QbTZvOKM4dB2+XcAKnK39pO83env8iotAmBYgS1tvibZtecmxEO3FW6Roy6aUlX+AqZ UPrOfkU+eyyAwO7W1p+OAN+G7Gid4fNBxrpHZUjRiZtFq2ZX1xLI4EB2to19e4RofPYm fveg== 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 z14si13714497pga.349.2018.12.12.01.33.28; Wed, 12 Dec 2018 01:33:44 -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 S1726915AbeLLJcZ (ORCPT + 99 others); Wed, 12 Dec 2018 04:32:25 -0500 Received: from mail.bootlin.com ([62.4.15.54]:55205 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726478AbeLLJcZ (ORCPT ); Wed, 12 Dec 2018 04:32:25 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id 0960120763; Wed, 12 Dec 2018 10:32:23 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.2 Received: from localhost (aaubervilliers-681-1-89-7.w90-88.abo.wanadoo.fr [90.88.30.7]) by mail.bootlin.com (Postfix) with ESMTPSA id D2A3D206DC; Wed, 12 Dec 2018 10:32:12 +0100 (CET) Date: Wed, 12 Dec 2018 10:32:13 +0100 From: Antoine Tenart To: Stefan Chulski Cc: Russell King - ARM Linux , Antoine Tenart , "davem@davemloft.net" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "thomas.petazzoni@bootlin.com" , "maxime.chevallier@bootlin.com" , "gregory.clement@bootlin.com" , "miquel.raynal@bootlin.com" , Nadav Haklai , Yan Markman , "mw@semihalf.com" , Baruch Siach Subject: Re: [PATCH net] net: mvpp2: 10G modes aren't supported on all ports Message-ID: <20181212093213.GB3219@kwain> References: <20181211163228.26130-1-antoine.tenart@bootlin.com> <20181211163635.GG30658@n2100.armlinux.org.uk> <7b61c1fbf51a409684568216e799ebe3@IL-EXCH01.marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7b61c1fbf51a409684568216e799ebe3@IL-EXCH01.marvell.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stefan, On Tue, Dec 11, 2018 at 09:11:31PM +0000, Stefan Chulski wrote: > > > > > Are these modes supported on anything except port 0? If not, you should be > > rejecting these, rather than just treating them as RGMII. > > In CP115(which has PPv2) PHY_INTERFACE_MODE_10GKR supported on ports 0 and 1 > PHY_INTERFACE_MODE_XAUI/PHY_INTERFACE_MODE_RXAUI supported only on port 0. That's right. But I think we need to first fix this, and then when adding support for the cp115 we'll rework this. We will need a way to differentiate the CP110 PPv2 from the CP115 PPv2. Thanks! Antoine -- Antoine T?nart, Bootlin Embedded Linux and Kernel engineering https://bootlin.com