Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp874584lqb; Wed, 29 May 2024 13:14:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVq7tVgzThUrmVfNaawlAYLKN49jVEOWX54IUa3GjxemZR2Jhks0CvwQixzICTSBv+aZjYq1GCsY6RU9iRy15grUuztoGdldl1CtbeYlw== X-Google-Smtp-Source: AGHT+IHNS7AsbU1TS4VLqiUl9rtO/o/fQGaPBAYWqPUmAjE+uwTW1ceyBwT7+nB/EAhoZsSfVzl7 X-Received: by 2002:a17:906:1145:b0:a63:535b:b316 with SMTP id a640c23a62f3a-a65e8f74f9bmr14517966b.44.1717013656456; Wed, 29 May 2024 13:14:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717013656; cv=pass; d=google.com; s=arc-20160816; b=WgzmVO5cVCNwQirVfNCuwrsf/lwCaVTTXI9EQ1ya18DEX2jmHYOeHzZLJBgScGTNj0 2mvamRWRiL2Fmk9Nm0LRHy/ANch6/WuY7H4cmP4v0IHr9gH59H7pYUJt6MIntng/i6o5 NcAWwBpjZZhcjdVjRwsddqJaIeu0RmTzcreUf7wCsVXPQ+AK2Kz6UdubtTprGOIAgnNB F9zn177UbROO4dGSVpihglqCj0zIkpxii6a7iiGSxq0t3d8mkNUWEc62IGNsGl6T0s8d mo6z8m7tt/71pIZMO0kLC2eCMLJsAC7FVYQWA88zw8X3vVXSgQlUc9irq60QxTy82xsc oHaw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=eQFXKnSfwk440wscnRX9cECtvXQvJsH6al9gvAq5Rss=; fh=17aH0rSGh7ufeIzO/JCzcTnxEMFOqTNsDyZmkJHdzmk=; b=sjfeZM6BHKnn5OPoAtRzcmQNx2gjhJhJkkjXxIN/Jd0pQFpG+JVTrfkGoF0h1mWEXP Uoi28RXuGjSOFSfuamq5yfWy+S+InfInrBIzybfLmh9uuJQG2uH6/y5wzgFpcfKnT595 aTphIUpvyhT4AEDzd5kQGqLUdG7lWtetjE7qUHRDOhaOxMuHjStbRQqKfbh3HouKBYCS TqkcVCOC8HI/YSmjvuLyRPaxhpcbZSDgNB4FOxy6hRBJc48EpYu0+g31Qdz6XioA+GZ7 LS5DmGHNbqiZU72S2iMgpmxD/g8NoxddMGSiBxVsIjvdqCdmZEWWqsPFIX4Q4VGpDwWR uIqQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=qYza4Rbd; arc=pass (i=1 dkim=pass dkdomain=armlinux.org.uk dmarc=pass fromdomain=armlinux.org.uk); spf=pass (google.com: domain of linux-kernel+bounces-194646-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194646-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a626cc4193asi645853166b.306.2024.05.29.13.14.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 13:14:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194646-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=qYza4Rbd; arc=pass (i=1 dkim=pass dkdomain=armlinux.org.uk dmarc=pass fromdomain=armlinux.org.uk); spf=pass (google.com: domain of linux-kernel+bounces-194646-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194646-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 845791F241E7 for ; Wed, 29 May 2024 20:14:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 86A9A1C68AF; Wed, 29 May 2024 20:13:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="qYza4Rbd" Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [78.32.30.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CCCC426AD3; Wed, 29 May 2024 20:13:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=78.32.30.218 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717013637; cv=none; b=HKNaaHyn2r/MOFPpvDZvyDapuPihly4tDxIe4/BcHX1a6oEbqTw5VzX04G5FVceCiVh9hPsQGvdKt6DbTNglwvQlGv0xCFQANVGj4B0I8sGv4dvnjc6MOqQ05p9iRWSOUriSPrHpzE4JkPpE/9AbcKBWNwyDPv2E8sjxME76HUY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717013637; c=relaxed/simple; bh=8CHIv4RsOjRcg0/LYPFDzPHZMyekDKwfcWoqLpavYC8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=PCS3yZvOPdPUrpUA/N+vKi5LcslePR6fEiFArs74lUjrz5demZcRMvFOaIGFq6OGgwzYf6FhEehi+uHCeVBuupskQdOvmo7epD03C/EoAxC2B214HQ9AB5+7/YTXTXMqZARMyKl4vzB9f/hMqQCF+/q82leFacsoEBGnfaJStyI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk; spf=none smtp.mailfrom=armlinux.org.uk; dkim=pass (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b=qYza4Rbd; arc=none smtp.client-ip=78.32.30.218 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=armlinux.org.uk DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: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=eQFXKnSfwk440wscnRX9cECtvXQvJsH6al9gvAq5Rss=; b=qYza4Rbd8T0Qi9wO8nvW/LXuGl fDAszPm46VwyPttxInXsRB84FuTKZ9Iu+Oyhhedj3Q6B4bpxl6YVwP7egkoUC5DKplO6DK9Emvs88 6CpNDvmyIv5mxDI5yfXOaxA1hA8JlC+QYtHNu4QRNIbVKTfrJNaAc1UjvJbUrCoVHcZUDngkKGqWh L19sqtn8cWjJOEmUWL/g2S854UIvlXsPGWaZOFrKc0sKNeoMURyrPTf7rhDG2I6pwy7jNvK4no9NR KEUo+RhIg3QkVYdFxUGSwogACot3hB2ijFK9CgE4014SnI23PFmVgPqcMYH/v2CTfRQz7IezsSE82 eIUJgdgA==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:51848) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sCPg4-0006ct-13; Wed, 29 May 2024 21:13:40 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1sCPg4-0004UO-PS; Wed, 29 May 2024 21:13:40 +0100 Date: Wed, 29 May 2024 21:13:40 +0100 From: "Russell King (Oracle)" To: Andrew Lunn Cc: Sneh Shah , Andrew Halaney , Vinod Koul , Bhupesh Sharma , Alexandre Torgue , Jose Abreu , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@quicinc.com Subject: Re: [PATCH net-next] net: stmmac: dwmac-qcom-ethqos: Add support for 2.5G SGMII Message-ID: References: <20231218071118.21879-1-quic_snehshah@quicinc.com> <4zbf5fmijxnajk7kygcjrcusf6tdnuzsqqboh23nr6f3rb3c4g@qkfofhq7jmv6> <8b80ab09-8444-4c3d-83b0-c7dbf5e58658@quicinc.com> <8f94489d-5f0e-4166-a14e-4959098a5c80@quicinc.com> <67553944-5d3f-4641-a719-da84554c0a9f@lunn.ch> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <67553944-5d3f-4641-a719-da84554c0a9f@lunn.ch> Sender: Russell King (Oracle) On Wed, May 29, 2024 at 04:28:16PM +0200, Andrew Lunn wrote: > > Qualcomm ethernet HW supports 2.5G speed in overclocked SGMII mode. > > we internally term it as OCSGMII. > > So it still does SGMII inband signalling? Not 2500BaseX signalling? It > is not actually compatible with 2500BaseX? > > > End goal of these patches is to enable SGMII with 2.5G speed support. > > The patch in these series enabled up SGMII with 2.5 for cases where we > > don't have external phy. ( mac-to-mac connectivity) > > So the other end needs to be an over clocked SGMII MAC, not 2500BaseX? > > > The new patch posted extends this for the case when the MAC has an > > external phy connected. ( hence we are advertising fr 2.5G speed by adding > > 2500BASEX as supported interface in phylink) > > And i assume it does not actually work against a true 2500BaseX > device, because it is doing SGMII inband signalling? I really hope the hardware isn't using any SGMII inband signalling at 2.5G speeds. Other devices explicitly state that SGMII inband signalling while operating the elevated 2.5G speed is *not* supported! -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!