Message ID | 20240110114033.32575-1-quic_luoj@quicinc.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-22109-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp734254dyi; Wed, 10 Jan 2024 03:45:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IEFM3WgO3NA/V3IvnOVVkbiFanQ7X/GftcCuNj4xqlx/6XtasNq75Y1s8URyxhc89++drxc X-Received: by 2002:a05:6e02:1e07:b0:360:6b3e:6e38 with SMTP id g7-20020a056e021e0700b003606b3e6e38mr1221240ila.65.1704887112952; Wed, 10 Jan 2024 03:45:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704887112; cv=none; d=google.com; s=arc-20160816; b=QIDvo/74jAJFJQHoiUejZ1APpV5ci+jFdOmVtTBI9RvEYicihA5zwQm/5ZFEZfc3w0 dB5jW2dGvX9g+UMwWERInwD+zBiH4wYg0EhukK720+faPpioeweUa17LvSP/eSvXecDP 8QBiDs053pAN0XUa2yynqb68SX4fJMLT+jyYrY/JB4w2nvn3eX9r+bjiJY+hQfqZpHNC qejJMCTlmVhKuZ9OiIXju24U+cR3sR2fIn5bBtoBrn5r7rXJ/P91h+DcI+qkdvhfAGKh of+EA36eSKLNBS521kUyEvdd4slxEu0N4kzTUJGqbRP9me4E0ltoasQ+omAnj5OHuzYv Fb7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=Uc6HnQGHRycirauuXTF2iF/cVs7k4R8jSd2350aueSQ=; fh=VedTQI6oSWbClOWrHBDAwFLFM6rT7E/sRVqm9mlOWAU=; b=fFhRmjoza0eW5N1VFcNsfle5GHZVmHYEZ5lfxP0CJs2EcLfsIiYzp30mWuskBqvy3t nM9ZkrLfj+QedEZTqPUM68ROvINWDavqpLQOwSB3F2Ermj+yYaCfReUWMLIXTQWQWfmQ 3qfTq8eJt5/3FyY2AimgRawtQt7gITSN02KLT3P0m/LGBZvSuS3HYNlfUFL7A17cQ7a+ YIKsZIz1eB1bvTkHGBn8oRSRk3AP8o+pEt17SjlZ2YLbuROV/39H208xVPShK6nPzE3W gF1vEdgQwR6RR2c1pDelY09dhtx78SE+tRhbW1M3z6P4GeP/H85Lcz3sM9y6gAwfUZxy ylJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=LHZTJjvn; spf=pass (google.com: domain of linux-kernel+bounces-22109-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22109-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id z127-20020a633385000000b005cdbf06a032si3432463pgz.716.2024.01.10.03.45.12 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 03:45:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22109-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=LHZTJjvn; spf=pass (google.com: domain of linux-kernel+bounces-22109-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22109-ouuuleilei=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 2FEA3B26ABC for <ouuuleilei@gmail.com>; Wed, 10 Jan 2024 11:42:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 71275481DB; Wed, 10 Jan 2024 11:41:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="LHZTJjvn" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 81CB5481A4; Wed, 10 Jan 2024 11:41:45 +0000 (UTC) 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 (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40A8gFV3025511; Wed, 10 Jan 2024 11:41:07 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=qcppdkim1; bh=Uc6HnQG HRycirauuXTF2iF/cVs7k4R8jSd2350aueSQ=; b=LHZTJjvnF5eF9WA78W9G/tk G4WqHnz2doW6L/FV1tWXggg1qUK52NbukhBzKXA6wtYmfoWrItLqe7TcimRp9DQF hEu/Dimy0n8NBrFaOOuXIX8h6J3VMkZgjWebHsZhFeaNBSoYNIrsMokwnd9XEz7U ZV39JzazmEK766V8hQi4mBe5cM4NL6oRLNcgpHV4XBARe9MrYfcauQd3/KoBYn0+ WPCBaqfvosyZVsbrObtAPCk26yX9zL80Nv5dpnmDxncge5Ql70dtXjdopczgnDBW kRmmhsgWPDmQKn2X8wUj8AcasYf8TvCg6tL1/Jn590O2pBFH8fJtveDEEmbsayA= = Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vh85t2dvm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 Jan 2024 11:41:06 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 40ABf5Bs018623 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 Jan 2024 11:41:05 GMT Received: from akronite-sh-dev02.qualcomm.com (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; Wed, 10 Jan 2024 03:40:55 -0800 From: Luo Jie <quic_luoj@quicinc.com> To: <agross@kernel.org>, <andersson@kernel.org>, <konrad.dybcio@linaro.org>, <davem@davemloft.net>, <edumazet@google.com>, <kuba@kernel.org>, <pabeni@redhat.com>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <conor+dt@kernel.org>, <corbet@lwn.net>, <catalin.marinas@arm.com>, <will@kernel.org>, <p.zabel@pengutronix.de>, <linux@armlinux.org.uk>, <shannon.nelson@amd.com>, <anthony.l.nguyen@intel.com>, <jasowang@redhat.com>, <brett.creeley@amd.com>, <rrameshbabu@nvidia.com>, <joshua.a.hay@intel.com>, <arnd@arndb.de>, <geert+renesas@glider.be>, <neil.armstrong@linaro.org>, <dmitry.baryshkov@linaro.org>, <nfraprado@collabora.com>, <m.szyprowski@samsung.com>, <u-kumar1@ti.com>, <jacob.e.keller@intel.com>, <andrew@lunn.ch> CC: <netdev@vger.kernel.org>, <linux-arm-msm@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-doc@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <ryazanov.s.a@gmail.com>, <ansuelsmth@gmail.com>, <quic_kkumarcs@quicinc.com>, <quic_suruchia@quicinc.com>, <quic_soni@quicinc.com>, <quic_pavir@quicinc.com>, <quic_souravp@quicinc.com>, <quic_linchen@quicinc.com>, <quic_leiwei@quicinc.com> Subject: [PATCH net-next 00/20] net: ethernet: Add qcom PPE driver Date: Wed, 10 Jan 2024 19:40:12 +0800 Message-ID: <20240110114033.32575-1-quic_luoj@quicinc.com> X-Mailer: git-send-email 2.42.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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: z3Hzf9LUPOgDMX764m98likxAW2pcZsy X-Proofpoint-GUID: z3Hzf9LUPOgDMX764m98likxAW2pcZsy X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 bulkscore=0 malwarescore=0 suspectscore=0 mlxlogscore=841 clxscore=1011 priorityscore=1501 adultscore=0 impostorscore=0 phishscore=0 spamscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401100095 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787703709255437237 X-GMAIL-MSGID: 1787703709255437237 |
Series |
net: ethernet: Add qcom PPE driver
|
|
Message
Jie Luo
Jan. 10, 2024, 11:40 a.m. UTC
The PPE(packet process engine) hardware block is available in Qualcomm IPQ chipsets that support PPE architecture, such as IPQ9574 and IPQ5332. The PPE includes integrated ethernet MAC and PCS(uniphy), which is used to connect with external PHY devices by PCS. The PPE also includes various packet processing offload capabilities such as routing and briding offload, L2 switch capability, VLAN and tunnel processing offload. This patch series enables support for the PPE driver which intializes and configures the PPE, and provides various services for higher level network drivers in the system such as EDMA (Ethernet DMA) driver or a DSA switch driver for PPE L2 Switch, for Qualcomm IPQ SoCs. The PPE driver provides following functions: 1. Initialize PPE device hardware functions such as buffer management, queue management, TDM, scheduler and clocks in order to bring up PPE device. 2. Register the PCS driver and uniphy raw clock provider. The uniphy raw clock is selected as the parent clock of the NSSCC clocks. The NSSCC clocks are registered by the dependent patchset at the link below.(Note: There are 3 PCS on IPQ9574, 2 PCS on IPQ5332 platform.) 3. Export the PPE control path API (ppe_device_ops) for use by higher level network drivers such as the EDMA(Ethernet DMA) driver. The EDMA netdevice driver depends on this PPE driver and registers the netdevices to receive and transmit packets using the ethernet ports. 4. Register debugfs file to provide access to various PPE packet counters. These statistics are recorded by the various HW counters, such as port RX/TX, CPU code and HW queue counters. The diagram and detail introduction of PPE are described in the added file: Documentation/networking/device_drivers/ethernet/qualcomm/ppe/ppe.rst, which is added by the first patch. <Documentation: networking: qcom PPE driver documentation>. PPE driver depends on the NSSCC clock driver below, which provides the clocks for the PPE driver. https://lore.kernel.org/linux-arm-msm/20230825091234.32713-1-quic_devipriy@quicinc.com/ https://lore.kernel.org/linux-arm-msm/20231211-ipq5332-nsscc-v3-0-ad13bef9b137@quicinc.com/ PPE driver also depens on the device tree patch series to bring up PPE device as below link. https://lore.kernel.org/all/20240110112059.2498-1-quic_luoj@quicinc.com/ Lei Wei (5): Documentation: networking: qcom PPE driver documentation net: ethernet: qualcomm: Add PPE L2 bridge initialization net: ethernet: qualcomm: Add PPE UNIPHY support for phylink net: ethernet: qualcomm: Add PPE MAC support for phylink net: ethernet: qualcomm: Add PPE MAC functions Luo Jie (15): dt-bindings: net: qcom,ppe: Add bindings yaml file net: ethernet: qualcomm: Add qcom PPE driver net: ethernet: qualcomm: Add PPE buffer manager configuration net: ethernet: qualcomm: Add PPE queue management config net: ethernet: qualcomm: Add PPE TDM config net: ethernet: qualcomm: Add PPE port scheduler resource net: ethernet: qualcomm: Add PPE scheduler config net: ethernet: qualcomm: Add PPE queue config net: ethernet: qualcomm: Add PPE service code config net: ethernet: qualcomm: Add PPE port control config net: ethernet: qualcomm: Add PPE RSS hash config net: ethernet: qualcomm: Export PPE function set_maxframe net: ethernet: qualcomm: Add PPE AC(admission control) function net: ethernet: qualcomm: Add PPE debugfs counters arm64: defconfig: Enable qcom PPE driver .../devicetree/bindings/net/qcom,ppe.yaml | 1330 +++++++ .../device_drivers/ethernet/index.rst | 1 + .../ethernet/qualcomm/ppe/ppe.rst | 305 ++ MAINTAINERS | 9 + arch/arm64/configs/defconfig | 1 + drivers/net/ethernet/qualcomm/Kconfig | 17 + drivers/net/ethernet/qualcomm/Makefile | 1 + drivers/net/ethernet/qualcomm/ppe/Makefile | 7 + drivers/net/ethernet/qualcomm/ppe/ppe.c | 3070 +++++++++++++++++ drivers/net/ethernet/qualcomm/ppe/ppe.h | 315 ++ .../net/ethernet/qualcomm/ppe/ppe_debugfs.c | 953 +++++ .../net/ethernet/qualcomm/ppe/ppe_debugfs.h | 25 + drivers/net/ethernet/qualcomm/ppe/ppe_ops.c | 628 ++++ drivers/net/ethernet/qualcomm/ppe/ppe_ops.h | 256 ++ drivers/net/ethernet/qualcomm/ppe/ppe_regs.h | 1106 ++++++ .../net/ethernet/qualcomm/ppe/ppe_uniphy.c | 789 +++++ .../net/ethernet/qualcomm/ppe/ppe_uniphy.h | 227 ++ include/linux/soc/qcom/ppe.h | 105 + 18 files changed, 9145 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/qcom,ppe.yaml create mode 100644 Documentation/networking/device_drivers/ethernet/qualcomm/ppe/ppe.rst create mode 100644 drivers/net/ethernet/qualcomm/ppe/Makefile create mode 100644 drivers/net/ethernet/qualcomm/ppe/ppe.c create mode 100644 drivers/net/ethernet/qualcomm/ppe/ppe.h create mode 100644 drivers/net/ethernet/qualcomm/ppe/ppe_debugfs.c create mode 100644 drivers/net/ethernet/qualcomm/ppe/ppe_debugfs.h create mode 100644 drivers/net/ethernet/qualcomm/ppe/ppe_ops.c create mode 100644 drivers/net/ethernet/qualcomm/ppe/ppe_ops.h create mode 100644 drivers/net/ethernet/qualcomm/ppe/ppe_regs.h create mode 100644 drivers/net/ethernet/qualcomm/ppe/ppe_uniphy.c create mode 100644 drivers/net/ethernet/qualcomm/ppe/ppe_uniphy.h create mode 100644 include/linux/soc/qcom/ppe.h base-commit: a7fe0881d9b78d402bbd9067dd4503a57c57a1d9
Comments
On 10/01/2024 12:40, Luo Jie wrote: > The PPE(packet process engine) hardware block is available in Qualcomm > IPQ chipsets that support PPE architecture, such as IPQ9574 and IPQ5332. > The PPE includes integrated ethernet MAC and PCS(uniphy), which is used > to connect with external PHY devices by PCS. The PPE also includes > various packet processing offload capabilities such as routing and > briding offload, L2 switch capability, VLAN and tunnel processing > offload. > > This patch series enables support for the PPE driver which intializes > and configures the PPE, and provides various services for higher level > network drivers in the system such as EDMA (Ethernet DMA) driver or a > DSA switch driver for PPE L2 Switch, for Qualcomm IPQ SoCs. net-next is closed. Best regards, Krzysztof
On Wed, Jan 10, 2024 at 01:24:06PM +0100, Krzysztof Kozlowski wrote: > On 10/01/2024 12:40, Luo Jie wrote: > > The PPE(packet process engine) hardware block is available in Qualcomm > > IPQ chipsets that support PPE architecture, such as IPQ9574 and IPQ5332. > > The PPE includes integrated ethernet MAC and PCS(uniphy), which is used > > to connect with external PHY devices by PCS. The PPE also includes > > various packet processing offload capabilities such as routing and > > briding offload, L2 switch capability, VLAN and tunnel processing > > offload. > > > > This patch series enables support for the PPE driver which intializes > > and configures the PPE, and provides various services for higher level > > network drivers in the system such as EDMA (Ethernet DMA) driver or a > > DSA switch driver for PPE L2 Switch, for Qualcomm IPQ SoCs. > > net-next is closed. Also, please try to avoid sending patch-sets with more than 15 patches for net or net-next. https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#dividing-work-into-patches
On Wed, 10 Jan 2024 19:40:12 +0800 Luo Jie wrote: > The PPE(packet process engine) hardware block is available in Qualcomm > IPQ chipsets that support PPE architecture, such as IPQ9574 and IPQ5332. What's the relationship between this driver and QCA8084? In the last month I see separate changes from you for mdio-ipq4019.c, phy/at803x.c and now this driver (none of which got merged, AFAICT.) Are you actually the author of this code, or are you just trying to upstream bunch of vendor code? Now you're dumping another 10kLoC on the list, and even though this is hardly your first posting you're apparently not aware of our most basic posting rules: https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#tl-dr The reviewers are getting frustrated. Please, help us help you. Stop throwing code at the list and work out a plan with Andrew and others on how to get something merged...
On 1/11/2024 6:24 AM, Jakub Kicinski wrote: > On Wed, 10 Jan 2024 19:40:12 +0800 Luo Jie wrote: >> The PPE(packet process engine) hardware block is available in Qualcomm >> IPQ chipsets that support PPE architecture, such as IPQ9574 and IPQ5332. > > What's the relationship between this driver and QCA8084? The PPE (packet processing engine) is the network processing hardware block in QCOM IPQ SoC. It includes the ethernet MAC and UNIPHY(PCS). This driver is the base PPE driver which brings up the PPE and handles MAC/UNIPHY operations. QCA8084 is the external 2.5Gbps 4-port PHY device, which can be connected with PPE integrated MAC by UNIPHY(PCS). Here is the relationship. PPE integrated MAC --- PPE integrated UNIPHY(PCS) --- (PCS)QCA8084. > > In the last month I see separate changes from you for mdio-ipq4019.c, > phy/at803x.c and now this driver (none of which got merged, AFAICT.) > Are you actually the author of this code, or are you just trying > to upstream bunch of vendor code? Yes, Jakub, there are two authors in these patch series, Lei Wei and me. The patches are already ready for some time, the code has been verified on the Qualcomm reference design board. These are not downstream drivers but drivers re-written for upstream. > > Now you're dumping another 10kLoC on the list, and even though this is > hardly your first posting you're apparently not aware of our most basic > posting rules: > https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#tl-dr > > The reviewers are getting frustrated. Please, help us help you. > Stop throwing code at the list and work out a plan with Andrew > and others on how to get something merged... Sorry for trouble caused, will learn about the guidance provided by the review comments, and follow up on the guidance and have the full internal review of the patch updates before pushing the patch series.
On 1/10/2024 11:44 PM, Simon Horman wrote: > On Wed, Jan 10, 2024 at 01:24:06PM +0100, Krzysztof Kozlowski wrote: >> On 10/01/2024 12:40, Luo Jie wrote: >>> The PPE(packet process engine) hardware block is available in Qualcomm >>> IPQ chipsets that support PPE architecture, such as IPQ9574 and IPQ5332. >>> The PPE includes integrated ethernet MAC and PCS(uniphy), which is used >>> to connect with external PHY devices by PCS. The PPE also includes >>> various packet processing offload capabilities such as routing and >>> briding offload, L2 switch capability, VLAN and tunnel processing >>> offload. >>> >>> This patch series enables support for the PPE driver which intializes >>> and configures the PPE, and provides various services for higher level >>> network drivers in the system such as EDMA (Ethernet DMA) driver or a >>> DSA switch driver for PPE L2 Switch, for Qualcomm IPQ SoCs. >> >> net-next is closed. > > Also, please try to avoid sending patch-sets with more than 15 patches > for net or net-next. > > https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#dividing-work-into-patches Got it, at a later point when this review resumes, we will split the PPE driver patches into two series, one is for PPE switch core feature, another is for MAC/UNIPHY features. Hope this is fine. Thanks for this comment.
On Thu, Jan 11, 2024 at 11:49:53PM +0800, Jie Luo wrote: > > > On 1/11/2024 6:24 AM, Jakub Kicinski wrote: > > On Wed, 10 Jan 2024 19:40:12 +0800 Luo Jie wrote: > > > The PPE(packet process engine) hardware block is available in Qualcomm > > > IPQ chipsets that support PPE architecture, such as IPQ9574 and IPQ5332. > > > > What's the relationship between this driver and QCA8084? > > The PPE (packet processing engine) is the network processing hardware block > in QCOM IPQ SoC. It includes the ethernet MAC and UNIPHY(PCS). This driver > is the base PPE driver which brings up the PPE and handles MAC/UNIPHY > operations. QCA8084 is the external 2.5Gbps 4-port PHY device, which can be > connected with PPE integrated MAC by UNIPHY(PCS). > > Here is the relationship. > PPE integrated MAC --- PPE integrated UNIPHY(PCS) --- (PCS)QCA8084. > > > > > In the last month I see separate changes from you for mdio-ipq4019.c, > > phy/at803x.c and now this driver (none of which got merged, AFAICT.) > > Are you actually the author of this code, or are you just trying > > to upstream bunch of vendor code? > > Yes, Jakub, there are two authors in these patch series, Lei Wei and me. > The patches are already ready for some time, the code has been verified > on the Qualcomm reference design board. These are not downstream drivers > but drivers re-written for upstream. > > > > > Now you're dumping another 10kLoC on the list, and even though this is > > hardly your first posting you're apparently not aware of our most basic > > posting rules: > > https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#tl-dr > > > > The reviewers are getting frustrated. Please, help us help you. > > Stop throwing code at the list and work out a plan with Andrew > > and others on how to get something merged... > > Sorry for trouble caused, will learn about the guidance provided by > the review comments, and follow up on the guidance and have the full > internal review of the patch updates before pushing the patch series. I renew my will of helping in any kind of manner in this, I love the intention for EDMAv2 to have an upstream driver instead of SSDK, hoping in the future to also have the same treatement for EDMAv1 (it's really a pitty to have a support hole with ipq807x not supported) Feel free to send an email or anything, considering this is massive, an extra eye before sending might make things better than reaching (I can already see this) a massive series with at least 20 revision given the complexity of this thing.
On 1/13/2024 1:56 AM, Christian Marangi wrote: > On Thu, Jan 11, 2024 at 11:49:53PM +0800, Jie Luo wrote: >> >> >> On 1/11/2024 6:24 AM, Jakub Kicinski wrote: >>> On Wed, 10 Jan 2024 19:40:12 +0800 Luo Jie wrote: >>>> The PPE(packet process engine) hardware block is available in Qualcomm >>>> IPQ chipsets that support PPE architecture, such as IPQ9574 and IPQ5332. >>> >>> What's the relationship between this driver and QCA8084? >> >> The PPE (packet processing engine) is the network processing hardware block >> in QCOM IPQ SoC. It includes the ethernet MAC and UNIPHY(PCS). This driver >> is the base PPE driver which brings up the PPE and handles MAC/UNIPHY >> operations. QCA8084 is the external 2.5Gbps 4-port PHY device, which can be >> connected with PPE integrated MAC by UNIPHY(PCS). >> >> Here is the relationship. >> PPE integrated MAC --- PPE integrated UNIPHY(PCS) --- (PCS)QCA8084. >> >>> >>> In the last month I see separate changes from you for mdio-ipq4019.c, >>> phy/at803x.c and now this driver (none of which got merged, AFAICT.) >>> Are you actually the author of this code, or are you just trying >>> to upstream bunch of vendor code? >> >> Yes, Jakub, there are two authors in these patch series, Lei Wei and me. >> The patches are already ready for some time, the code has been verified >> on the Qualcomm reference design board. These are not downstream drivers >> but drivers re-written for upstream. >> >>> >>> Now you're dumping another 10kLoC on the list, and even though this is >>> hardly your first posting you're apparently not aware of our most basic >>> posting rules: >>> https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#tl-dr >>> >>> The reviewers are getting frustrated. Please, help us help you. >>> Stop throwing code at the list and work out a plan with Andrew >>> and others on how to get something merged... >> >> Sorry for trouble caused, will learn about the guidance provided by >> the review comments, and follow up on the guidance and have the full >> internal review of the patch updates before pushing the patch series. > > I renew my will of helping in any kind of manner in this, I love the > intention for EDMAv2 to have an upstream driver instead of SSDK, hoping > in the future to also have the same treatement for EDMAv1 (it's really a > pitty to have a support hole with ipq807x not supported) > > Feel free to send an email or anything, considering this is massive, an > extra eye before sending might make things better than reaching (I can > already see this) a massive series with at least 20 revision given the > complexity of this thing. > Thanks Christian for the help. Yes, the EDMAV2 driver will be posted some time after net-next is reopen and after this PPE driver patch series resumes. The EDMAv2 driver will be posted as separate driver series, which depends on this PPE driver. Currently we plan to post the EDMAv2 driver support for IPQ5332 and IPQ9574 firstly. For IPQ807x, it is a driver for an older architecture as you can see, but we will consider this for the future. We will certainly review it internally before publishing it later for upstream review.