Article View: linux.kernel.netdev
Article #4765Re: [PATCH net 2/2] dt-bindings: net: qcom,ipq9574-ppe: Apply PPE constraints to all switch ports
From: Krzysztof Kozlowski
Date: Mon, 19 Oct 2026 06:55
Date: Mon, 19 Oct 2026 06:55
46 lines
7325 bytes
7325 bytes
On Fri, Oct 16, 2026 at 05:01:40PM +0200, Til Kaiser wrote:
> The generic ethernet-switch schema accepts both ports and ethernet-ports
> containers and both port and ethernet-port child nodes. The PPE binding
> only applies its port constraints to ethernet-port nodes with addresses
> matching [1-6]+ inside ethernet-ports.
>
> As a result, ethernet-port@7 with reg = <7> is accepted without the PPE
> port ID limit. The alternative container and child naming forms also
> bypass the required PPE clocks and resets.
>
> Match the same container and child node patterns as ethernet-switch.yaml
> so that every accepted switch port receives the PPE constraints. Keep
> the valid port IDs constrained by reg.
>
> Fixes: 1898fc572118 ("dt-bindings: net: Add PPE for Qualcomm IPQ9574 SoC")
Nothing to be fixed here, really, drop.
> Signed-off-by: Til Kaiser <mail@tk154.de>
> ---
> Documentation/devicetree/bindings/net/qcom,ipq9574-ppe.yaml | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/net/qcom,ipq9574-ppe.yaml b/Documentation/devicetree/bindings/net/qcom,ipq9574-ppe.yaml
> index 6d0b21a10732..a5e8aab500ed 100644
> --- a/Documentation/devicetree/bindings/net/qcom,ipq9574-ppe.yaml
> +++ b/Documentation/devicetree/bindings/net/qcom,ipq9574-ppe.yaml
> @@ -173,9 +173,10 @@ properties:
> - interrupts
> - interrupt-names
>
> - ethernet-ports:
> +patternProperties:
> + "^(ethernet-)?ports$":
Why are you reverting the review? The name is ethernet-ports.
> patternProperties:
> - "^ethernet-port@[1-6]+$":
> + "^(ethernet-)?port@[0-9a-f]+$":
Same here.
Best regards,
Krzysztof
Technical Details
Message-ID:
<20261019-pristine-brainy-guppy-eb2af2@quoll>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-348318-linux-kernel-netdev=dewy.ruReferences:
<20261016150140.929729-1-mail@tk154.de> <20261016150140.929729-3-mail@tk154.de>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-348318-linux-kernel-netdev=dewy.ru From: krzk@kernel.org (Krzysztof Kozlowski) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net 2/2] dt-bindings: net: qcom,ipq9574-ppe: Apply PPE constraints to all switch ports Date: Mon, 19 Oct 2026 08:55:44 +0200 Organization: Usenet Network Message-ID: <20261019-pristine-brainy-guppy-eb2af2@quoll> References: <20261016150140.929729-1-mail@tk154.de> <20261016150140.929729-3-mail@tk154.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Injection-Info: usenet.network; logging-data="3530524"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:TlrD/LLMB+7/+7+w2326BtPX+Sg= sha256:uaWoE1zCpQ5t40fi7rN21ZTC6HASkbSAV4yi/P37a48= sha1:p8hUPFfeVjwedR8PC07Tn/G5AIU= sha256:qkfcSrhUP5i2K0pFYG6HQjGx/9oHYB4XpVFkiuChZFQ= Content-Disposition: inline List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 0994C110928; Mon, 19 Oct 2026 09:56:08 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.74 X-Spam-Status: No, score=-3.74 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.34, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DdM14epCrG4B; Mon, 19 Oct 2026 09:56:01 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-348318-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id F232511092F; Mon, 19 Oct 2026 09:55:52 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id 36D0A3EA1E; Mon, 19 Oct 2026 06:55:49 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8E08A468C26; Mon, 19 Oct 2026 06:55:48 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="YgB1giYD" X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 565B125392A; Mon, 19 Oct 2026 06:55:47 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792392948; cv=none; b=ZErdc6AAQ6LtmXtwveAkTtZHDrsMbAcgLaUMUwZsPMzEsWK4w7f0sQ2AyxiISsFELCEVaxKE77IdapSHua24GmZha50Vvp//ez5MDG+Oy3QXv9REs7Xu8uQm7+IotNucGPMjVF3WHQH91IDTfUgEL4O/Olh1BBDzdcYsYMJIfJE= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792392948; c=relaxed/simple; bh=nVPR/wVfw88sj38qQgKSyYoONX1twjU6nqbBIWBVGTs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BtlkqgEr4lGx2aDgvLC7cL3ahbvUJpbE/vLME2x45Q/x7gr4ZKX2m2fH6C1z0aNAGK+c7uGgp+Dc5LUVC6NOkPfsuF0FGrDBWV8y7GyIgU5y+jbAk72nLICDaO7q/b0UpL2kN0fGPQ6KNySqGNhoPGBS3cDi3AO65B5WfJn0SNs= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=YgB1giYD; arc=none smtp.client-ip=100.103.45.18 X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6ADCB1F000C4; Mon, 19 Oct 2026 06:55:46 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1792392947; bh=1K8qIit/bBE/r3ctFbU5AiNYL7DN74LzCmsZIKix1go=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=YgB1giYDu4H1Vw5Mu7creBaShHjfY4tCXT2ctTHX++UE04vpMdu1+UEfiKIc86AUq xtcFTFmLzEZ0bVBW9dmA30qXXdw5csN09ke4DjGleSaSfls0SBIL9mEWABecjsjzQM OPNCrVW5GFmWRzEkBRt1VPEP83Tt+V4N96u9WXKk6K4bayL5r+dC12xj1Y7HPNhj16 bfA/PsKba+aY0cgRNDEG9RzZin+c6sohNox19L7ZBvBXiH+8DIMhOOEFUN/HlP+y6N 1J9Q0gbOmx6+FHVX2/A7QMN9Dr8s0d8CVZKXTMDqlGbDCPII3LNIqQzoinuLtmtdV+ /zY+NPbNihyhg== X-Cc: netdev@vger.kernel.org, jie.luo@oss.qualcomm.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, linux-kernel@vger.kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, quic_leiwei@quicinc.com, quic_suruchia@quicinc.com, quic_pavir@quicinc.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-In-Reply-To: <20261016150140.929729-3-mail@tk154.de>