From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 88E5FC2BD09 for ; Mon, 1 Jul 2024 17:24:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=MopHsqmL4JGofn6I5W27rWsi3/nIIoFlcb8YfJF6SUc=; b=C1KwbPH4uVEN3iESG0MQ7v/YId sjyLgccZmUUOjGZOVOKvtdxJksmPKT1Qktt9gZ60LTK8zG5jixlfSW23HYsFLETjwyyX/NUJqfp28 S/eKnoPpAnV+sZB+LC15RjHXXhvXKxOf/wlfbAQSNAR30xWgSMiR1Zci+A41p1CrbWAWKjFda7Zxa SH6HZVtWoufGlzmFjFWl7TOYLRHKjJLmvzrXSyhnx6WBHSbT1IPv9KcMcBmgi2a3vISmz/1bQLssL wIpvkbaKYxDidsbKPdCmYcGfGOBSmuw81kBxCwD17pGGQ7JzYgFyJScOsKoH2S+PViDHd6t2RU7Nj 3333Avhw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOKko-00000004Iqn-4C8d; Mon, 01 Jul 2024 17:23:51 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOKke-00000004Io3-3aKu for linux-arm-kernel@lists.infradead.org; Mon, 01 Jul 2024 17:23:42 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 28495CE1A52; Mon, 1 Jul 2024 17:23:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1AB83C116B1; Mon, 1 Jul 2024 17:23:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1719854618; bh=OHZLx8pPNgesHGu9A+Up6rEjvpM2KHacrpLcYCQi8Fw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NfDLNjx6l2FtHqQy31axlYyHzNMshF+YdnpeoGQ1iZSH2kPIee82B9MbSxGe/WB2d JvCFcOA6kcB6lD10YLjhVAMOvKtzvYUxpYbPE/zV7yuJeTwKtodWsmUIVd6ZYtLTgd q8RB8EVy6xne5GL8wBkhmKqDi19qmS3lOAQFqc1CFK14X/0tdl6+3JB0crdZQRv3Jo 0Nrzntqydg287dp/JcgYoN8TnYsLEhYa4lroXwNsKPNVxoLHlVlBicSYMylwFfE66X k7qSNr7qIxECUaIE7dOpYG4q6K+MHc9T/YW6IPrYkntNDJrH3+C6vD6mVAB4Vxj3xl 2pgvT7v8QIq4g== Date: Mon, 1 Jul 2024 11:23:37 -0600 From: "Rob Herring (Arm)" To: Serge Semin Cc: Alexandre Torgue , Giuseppe Cavallaro , netdev@vger.kernel.org, "David S . Miller" , Krzysztof Kozlowski , devicetree@vger.kernel.org, Jakub Kicinski , Conor Dooley , Eric Dumazet , Paolo Abeni , linux-kernel@vger.kernel.org, Jose Abreu , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH net-next] dt-bindings: net: dwmac: Validate PBL for all IP-cores Message-ID: <171985461601.140520.15616660629845565811.robh@kernel.org> References: <20240628154515.8783-1-fancer.lancer@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240628154515.8783-1-fancer.lancer@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240701_102341_092806_7C043765 X-CRM114-Status: GOOD ( 11.95 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, 28 Jun 2024 18:45:12 +0300, Serge Semin wrote: > Indeed the maximum DMA burst length can be programmed not only for DW > xGMACs, Allwinner EMACs and Spear SoC GMAC, but in accordance with > [1, 2, 3] for Generic DW *MAC IP-cores. Moreover the STMMAC driver parses > the property and then apply the configuration for all supported DW MAC > devices. All of that makes the property being available for all IP-cores > the bindings supports. Let's make sure the PBL-related properties are > validated for all of them by the common DW *MAC DT schema. > > [1] DesignWare Cores Ethernet MAC Universal Databook, Revision 3.73a, > October 2013, p.378. > > [2] DesignWare Cores Ethernet Quality-of-Service Databook, Revision 5.10a, > December 2017, p.1223. > > [3] DesignWare Cores XGMAC - 10G Ethernet MAC Databook, Revision 2.11a, > September 2015, p.469-473. > > Signed-off-by: Serge Semin > > --- > > The discussion where we agreed to submit this change: > Link: https://lore.kernel.org/netdev/20240625215442.190557-2-robh@kernel.org > > --- > .../devicetree/bindings/net/snps,dwmac.yaml | 80 ++++++------------- > 1 file changed, 26 insertions(+), 54 deletions(-) > Reviewed-by: Rob Herring (Arm)