Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp890743lqj; Mon, 3 Jun 2024 04:17:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV1z8pTXQBPQtei8gC2MK4dA54zW9eBR4DJAmOxRvo6/7mVK7JqOScUMgFaM069eKrlQz34jiM9zuuiChSEN5jIzjS13RlbFKOKqScMcA== X-Google-Smtp-Source: AGHT+IG/3Iw/N+8xRZy+60dEU8XA/p0S185R0+Z6RqYZCqzjNuNyJLX9uEEGrWCmFSVpep1b+uQV X-Received: by 2002:a05:6808:2029:b0:3c5:f4b3:e0e3 with SMTP id 5614622812f47-3d1e35b9bf6mr10210482b6e.41.1717413448297; Mon, 03 Jun 2024 04:17:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717413448; cv=pass; d=google.com; s=arc-20160816; b=Gy98Kedn+AvSSpa7rhRfHLHgc9BbwYaSBeEPGYh/2xDt0MC1unkdhr3g0UYPOq2vqm 2mJfT1BXpK8dT0xQ+YrJVs8KxQEy27jFA9rX8hPNABvTEZQin51yjE8r8imbrcsHjqae CHm1Is2hh4hCLqWIFsjIFY+IjpP+fraElxKHRhuNqc7To8n28jWdrUun4rEor7SZE8Gp hsUcCVC0QazJzAHS7FEJa9iCjN0I+N/HdO3EUqYoKZYa3jUsSLs7Oy4x4KxzGBUcuwvr 2WfouRAFwQHStAEh8NuV8lrL3WqFrkQ3BHpHFSOrbvWLMLD3NQKb8tMiddXaMyTBGtQ4 887A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=4dBJ7CRFnEtRJnVMM/5nRbR4DBCRRfHzth9KUplaXFw=; fh=/LCUH6QpX1qTfVxC+3kHtQxQ4GNbSw+sCkm854NckZU=; b=C2knfFmAoPNnPWsalrq5va7kmi/H2IrMU4SV/Gt4FudatsmOWdbJudRib2HZUb9JK0 zOBgrwLQUPF6dtlHTcUxHWMz70xgR3HbJRfA0gNCA5oMybFLjQyR98O22uQLKtd8AChJ TT9Fbch8czwLInxgDuGfyc4eDBFL6NmU+BlV3p7KcGh9fcsC+dbmkG5s4/7tX6VrHvlx Zk+fw1guQigGNNHcLeAeF1/BQi/aUsxnv6B8YYG6HHgrTx0lhUmlpQR4R0jJJ25XEnyh iB9tu8YZ1us7+lhBCx+iplabP7SnYL69/uGa5tqee+LmSOdVraA/DCvnSwWLNYF07YJp FiLQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=OR15NPJ8; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-199030-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199030-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6ae4a733c00si83617356d6.41.2024.06.03.04.17.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 04:17:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199030-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=OR15NPJ8; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-199030-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199030-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id AA5F31C21AD1 for ; Mon, 3 Jun 2024 11:17:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B546F84A3B; Mon, 3 Jun 2024 11:16:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="OR15NPJ8" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (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 663DB82887; Mon, 3 Jun 2024 11:16:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717413380; cv=none; b=k/I8rRKSB5+KtsffNFj1PpKyOjEFvfh7Rev/a9KMSHaVVqkkCfHtJvhE47bY4rsu1e7Ptip8c4zSJjgS7FcCdTZjabATnQXE4XqPqP8cOLI88+KFMul+afhopfqr0rWGMGaYCUeJkCEZoQ8w15cWvfwpwJaJinsrJYnE7XoPz/g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717413380; c=relaxed/simple; bh=nRZipdwaROuzknbfoTC6gTOb8SzX/WtVN3NQQWClArk=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=lhfgX2futEdE9QBzqMimsOLB8et3isNS96SbEuOJA6ZwLrh8GgptCIJUsXVTFQawqkxmczl1DwI/A5EDWmglzonAngCDIIJEyAzWuc5ogH3j29xCIo8RSUegpGH4o19cL3v60f6lFD+5Rn4PGayrH9qjpMh+YZQqMms97Z8Zw/Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=OR15NPJ8; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 452NubkQ017720; Mon, 3 Jun 2024 11:15:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= 4dBJ7CRFnEtRJnVMM/5nRbR4DBCRRfHzth9KUplaXFw=; b=OR15NPJ85m8dw4nX CxLgZZ1jmE2iD13o2dHk+AV40nv2xuct3SPRFyoJoJhLqjKsbPKG6kJT1CFh4NFO 2gH+bqJ7foyqb7+TURaiK1oKt5sw1SP5Vhn4/TcrJ4Wg1R+JwvFg3fnJwHb7bndy Rr0p5HwYZAaMisq9pyQZ3wJOKROdd0cFFMfq24HZD99d0g9+PiVHcMlpNZ7I1k59 PTLDC1blK8AHieZJmYmmZAVvf5C7PXpxMyrfh5Z6QJ59luFi1hINo9JAHwPzGyQD UuhvBQ7eZKqu33zH+kNzYGeSYXPdUPfCkg7pJQqdZGpRkAp0DVSPUM+LG5yRjylQ +IRBjA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yfw59kjx4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 03 Jun 2024 11:15:42 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 453BFfv5000885 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 3 Jun 2024 11:15:41 GMT Received: from [10.217.90.34] (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Mon, 3 Jun 2024 04:15:33 -0700 Message-ID: <0f0df372-29b5-4daf-8e54-4157e8ab1a98@quicinc.com> Date: Mon, 3 Jun 2024 16:45:30 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next] net: stmmac: dwmac-qcom-ethqos: Add support for 2.5G SGMII To: "Russell King (Oracle)" , Andrew Lunn CC: Andrew Halaney , Vinod Koul , Bhupesh Sharma , Alexandre Torgue , Jose Abreu , "David S. Miller" , Eric Dumazet , "Jakub Kicinski" , Paolo Abeni , Maxime Coquelin , , , , , , 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> Content-Language: en-US From: Sneh Shah In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: eljy9ZgYrskT4Ir30jUQ98wP83GwYNmB X-Proofpoint-ORIG-GUID: eljy9ZgYrskT4Ir30jUQ98wP83GwYNmB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.12.28.16 definitions=2024-06-03_07,2024-05-30_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 malwarescore=0 spamscore=0 lowpriorityscore=0 priorityscore=1501 suspectscore=0 adultscore=0 clxscore=1011 mlxlogscore=978 bulkscore=0 phishscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406030094 On 5/30/2024 1:43 AM, Russell King (Oracle) wrote: > 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! Do we mean SGMII autoneg by SGMII inband signalling? Our hardware doesn't support autoneg for 2.5G mode in SGMII. >