Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp4611972rwb; Tue, 8 Aug 2023 10:57:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHa2IcxuJykUMhOe1Pg1729ytit2yy87wtK6M4QQnRqFCj2XPnV2RYAEOG0wZPhNY21hQZP X-Received: by 2002:a05:6a20:320c:b0:13c:8e50:34b8 with SMTP id hl12-20020a056a20320c00b0013c8e5034b8mr212819pzc.35.1691517476656; Tue, 08 Aug 2023 10:57:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691517476; cv=none; d=google.com; s=arc-20160816; b=tVzTJTzp8TlOPA7H6z30KnswnY5xDV7d5fm7v8EcgQN6La5lf5lHE+63DRy6VX4gAt RHvxmNleVSuPwaPm2PgSsgPeONPJMbFIwx6yTMnygYxkPUWFZdXftkuXP4K1/3jTx4dc 6l7NVCd2xYFNBTCwgVwRKZqOxzdrGmzz9VQLCh+xXz7jvyjqh3L3KXHNYpAuyoTy7VUs ThOxatNdZZcXxBEs/YDbb+oF5f+M7YBHK/qTRM9nvHzLlyIhPW4VWUpkXGYVLGNnrjwM RcrjC6lT8yfiE3whNbminmBGmrU2pVenuq521pfuOrV/UlFOa7dcijk2x8eYoWhrW4R+ jkvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=CwajJG0YDTOJ+GPRjRaoxWTZyIk3QAUkzo3iYqenwDE=; fh=Ck3BT+C1Y5kU3P5UcxuUAgfMJUS5qohYoJGkIssTlX4=; b=lBJza5WeQNmmDrriftiW/82oNJsPYk3CiC65Mbyy3dYoa5fSlCrc62bUYJVXhxSZLo F8tqIPAdl1ChjXO2lWqfBtE22c6p2j4xapXTiWpyPkRgu4FBsTsL2usrUlhPMd7KtcKV bETbUDOhgNlOCHp9KzFDxWjobj3ZbxNFGApulRADwhIj1n2S9QBWvSX2gUgsUSmMlZwV c6dA6LiUylC+w2B4hrs21AGfVtFLJDbeYwHQpgocdgNPEBNm1kiovHN1vr2QRAIrUFvq B45I6SEuDbSrDvOyhpC7X6O+kbzVrS2QVAcozJRrzLBi8KkzgKhtQuWZVWheQbEXK1ZX 7sIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Z+hgCruQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t189-20020a6381c6000000b00563ddd523a9si7577344pgd.348.2023.08.08.10.57.43; Tue, 08 Aug 2023 10:57:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Z+hgCruQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232037AbjHHQpQ (ORCPT + 99 others); Tue, 8 Aug 2023 12:45:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232505AbjHHQoS (ORCPT ); Tue, 8 Aug 2023 12:44:18 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B3169184; Tue, 8 Aug 2023 08:56:04 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 649B76241E; Tue, 8 Aug 2023 07:40:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B0A0AC433C7; Tue, 8 Aug 2023 07:40:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691480403; bh=eeHnU9sbaREHfqMBo/78Xdyc8QmRfoP3LwM2oF3Vyok=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Z+hgCruQm2uu/S7DddPGDxVKQgZvYiSoMBPLPwLN1VBSNtr1u+085A9QUxiiQx+JK ihi46jANzuFJVh09X1hBEsF3bxP2GSt83pj3cuGRAyOe9h6LM9eXBxkutgo1IgrvDL f3yo2TgB2qyRua3/sXAXbwzhVMdhV8sqzKqIYPA1Xj8Or1oo37VODb2bCuePorzrNF 34O/jZcESdCYCDASlx6PMDnfLROZAlprRs/E8YvlwqZEn0AIsxOIgA0BRAWg72/yUq jVSwW/JCR38PnZWOuHI+BA/nUboHh4EBAouw3W1ljvmg6T6MCcVWNqxKj3/kHuX5QR g9kS4Mu6EAj8A== Date: Tue, 8 Aug 2023 08:39:58 +0100 From: Conor Dooley To: Jisheng Zhang Cc: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH net-next v2 09/10] dt-bindings: net: snps,dwmac: add per channel irq support Message-ID: <20230808-clapper-corncob-0af7afa65752@spud> References: <20230807164151.1130-1-jszhang@kernel.org> <20230807164151.1130-10-jszhang@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="KvLkMguropyELtMw" Content-Disposition: inline In-Reply-To: <20230807164151.1130-10-jszhang@kernel.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 --KvLkMguropyELtMw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 08, 2023 at 12:41:50AM +0800, Jisheng Zhang wrote: > The IP supports per channel interrupt, add support for this usage case. >=20 > Signed-off-by: Jisheng Zhang > --- > .../devicetree/bindings/net/snps,dwmac.yaml | 33 +++++++++++++++++++ > 1 file changed, 33 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Docu= mentation/devicetree/bindings/net/snps,dwmac.yaml > index 5d81042f5634..5a63302ad200 100644 > --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml > +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml > @@ -109,6 +109,7 @@ properties: > - description: The interrupt that occurs when Rx exits the LPI sta= te > - description: The interrupt that occurs when Safety Feature Corre= ctible Errors happen > - description: The interrupt that occurs when Safety Feature Uncor= rectible Errors happen > + - description: All of the rx/tx per-channel interrupts > =20 > interrupt-names: > minItems: 1 > @@ -118,6 +119,38 @@ properties: > - const: eth_lpi > - const: sfty_ce > - const: sfty_ue > + - const: rx0 > + - const: rx1 > + - const: rx2 > + - const: rx3 > + - const: rx4 > + - const: rx5 > + - const: rx6 > + - const: rx7 > + - const: rx8 > + - const: rx9 > + - const: rx10 > + - const: rx11 > + - const: rx12 > + - const: rx13 > + - const: rx14 > + - const: rx15 > + - const: tx0 > + - const: tx1 > + - const: tx2 > + - const: tx3 > + - const: tx4 > + - const: tx5 > + - const: tx6 > + - const: tx7 > + - const: tx8 > + - const: tx9 > + - const: tx10 > + - const: tx11 > + - const: tx12 > + - const: tx13 > + - const: tx14 > + - const: tx15 I don't think Rob's comment about having added 2 interrupts but 32 interrupt names has been resolved. Did you actually test putting this many interrupts into a node? AFAICT, any more than 6 will cause complaints. Thanks, Conor. --KvLkMguropyELtMw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZNHxTgAKCRB4tDGHoIJi 0onpAPsG6snh0PH1bQ597oct8Uh4jQLMK5o7U0UogD2+jX8qKQD+Mew24QNaxdd5 CIffFZC7Y1NgpuTfzG6Dej4xrzYwBAU= =WzEI -----END PGP SIGNATURE----- --KvLkMguropyELtMw--