Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2816389rdh; Sun, 26 Nov 2023 22:13:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IGOUsksQuNtzAEo03k7grxI6rbP+Vi7rep8u1Q4YOvs7+W0i/Wif34GmMv8S3cltF3E2f+M X-Received: by 2002:a05:6a20:e12a:b0:187:e646:4faf with SMTP id kr42-20020a056a20e12a00b00187e6464fafmr10761927pzb.14.1701065592504; Sun, 26 Nov 2023 22:13:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701065592; cv=none; d=google.com; s=arc-20160816; b=hGKJ5ZedCzx8GT41lTRaByCicBZH7d790Px3r/bcvTnpfgdCcV0XuFZ49uzsB3QboY MOCWtJ+IOAJTiIvPrHNoLr9CcQL3jXoA9rIAi7rsdG13efL17HC3vcXgp01qieeSK4dl 4J1WnVsCVi02veAXSkQWlVQb+/Tp5NI4bRd2v6JwZM/RD7e0wJ/UJJXB/+3Kw4EkGLvh KBc/IzIQ5Xt+bQKUM+FzOpTS5C53WZhop4zuEazJXUvYMET/URwBzuocroBoLEDFjEcA AAPr1GFUcy1iVhKeauhf1OSbwFbSVQa4TIQfwzMIUs0MW5ATQzlIN1oHbEvnAagIE3Df LUAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Nw//Q0T2ItPW3xNVWkuPhtnEwG+agGNfwZ8OqqbER20=; fh=ZoErjO2MLR0XM6Q8GNIl9AcvFW3gKOlOPA3jpMfjlwE=; b=PrllA0oLSccrbYjOA+3TZdr762WVfOzoKuXrd1VVVZO+G7ol7USAmTK//s3K1Jxlkp /kBvTETsmWrJQMuGDt9nVeGlElQCrvBH44DDJLNJb6v07ccVv50vdZu3HEK1ODRKU8/K SoNb704WsmlUXxV8tsllVEtyHLpPIlpJ6qrJqQkKfErpmc8jBL6acn1GjWYM0ora1KAO MASNFCmpqgXAD0ppkigKoNZBotFvSrcfdrVZcV9suIcWKhvbzEbjXyLyKqx1VkiDFTnq NeJCc23s70ti/7NUhePFmYJkqTLzYkooGJNRRq/H6Tk57+hLFGGsRANwbaOoKVh+Z6AK FqAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=mrDBRmM4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id j9-20020a63e749000000b005bda77217eesi9169547pgk.209.2023.11.26.22.13.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 22:13:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=mrDBRmM4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 9E49680615CA; Sun, 26 Nov 2023 22:13:01 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229966AbjK0GMp (ORCPT + 99 others); Mon, 27 Nov 2023 01:12:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229509AbjK0GMo (ORCPT ); Mon, 27 Nov 2023 01:12:44 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A33AE1; Sun, 26 Nov 2023 22:12:50 -0800 (PST) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AR263eq015676; Mon, 27 Nov 2023 06:12:32 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=Nw//Q0T2ItPW3xNVWkuPhtnEwG+agGNfwZ8OqqbER20=; b=mrDBRmM4W5BJJ/RSJMrSSZWtX2600J7lqT6+tPcBO04E4iZJYGBnHPJ+Ghf3EJ2gMSc+ vG5zwZit2gtQRyVmK2SRKtxo0eYfSYIyFNQpjU1AD6D3ZYfDuLJZCOtFrNHmcBi28EsE yUC/3+4l1xmfqEdkTpstxa9ZrOH4SuRohg/Obv8z2QdUuERkvrrLuk3kMHiIEx4zeCRw xhy5W4RBjkxJ1QLN8tuU/+MZJ1fAWkq8Kg5as/pmiRPh2QcZ9ZUe2ARnI5FbygdaGlxH zpczCysdzm1io+zxnBB7fD7vfLWQM0/qqOEjUyROIfNBLYOgKYHqsF/gQ7rJubx7VryO Ew== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uk7xmbew3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 27 Nov 2023 06:12:31 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AR6CUCX020583 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 27 Nov 2023 06:12:30 GMT Received: from [10.253.33.46] (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Sun, 26 Nov 2023 22:12:27 -0800 Message-ID: <826700de-ed89-4ed9-b225-e0453ecbfd3f@quicinc.com> Date: Mon, 27 Nov 2023 14:12:12 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 1/6] net: phy: introduce core support for phy-mode = "10g-qxgmii" To: Andrew Lunn CC: , , , , , , , , , , , , , References: <20231126060732.31764-1-quic_luoj@quicinc.com> <20231126060732.31764-2-quic_luoj@quicinc.com> Content-Language: en-US From: Jie Luo In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: LpBQzuSRG-iAGm7WdZcBygis0OlOfSLD X-Proofpoint-GUID: LpBQzuSRG-iAGm7WdZcBygis0OlOfSLD X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-27_03,2023-11-22_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 adultscore=0 mlxlogscore=800 clxscore=1015 suspectscore=0 priorityscore=1501 lowpriorityscore=0 spamscore=0 phishscore=0 impostorscore=0 bulkscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311270041 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sun, 26 Nov 2023 22:13:01 -0800 (PST) On 11/27/2023 1:20 AM, Andrew Lunn wrote: > On Sun, Nov 26, 2023 at 02:07:27PM +0800, Luo Jie wrote: >> From: Vladimir Oltean >> >> 10G-QXGMII is a MAC-to-PHY interface defined by the USXGMII multiport >> specification. It uses the same signaling as USXGMII, but it multiplexes >> 4 ports over the link, resulting in a maximum speed of 2.5G per port. >> >> Some in-tree SoCs like the NXP LS1028A use "usxgmii" when they mean >> either the single-port USXGMII or the quad-port 10G-QXGMII variant, and >> they could get away just fine with that thus far. But there is a need to >> distinguish between the 2 as far as SerDes drivers are concerned. > > Can this is split into two patches? This patch is a single logical for introducing the mode 10g-qxgmii, looks it's better to keep it within a single patch. > >> switch (interface) { >> case PHY_INTERFACE_MODE_USXGMII: >> - caps |= MAC_10000FD | MAC_5000FD | MAC_2500FD; >> + caps |= MAC_10000FD | MAC_5000FD; >> + fallthrough; > > This change seems to refer to the second paragraph, where as the rest > of the code is about the first. Or does splitting this cause a bisect > problem? > > Andrew Since the caps change is related to the new added interface mode 10g-qxgmii, it is reasonable to keep the changes integrated here.