Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751824AbbKVJlo (ORCPT ); Sun, 22 Nov 2015 04:41:44 -0500 Received: from mail-lf0-f54.google.com ([209.85.215.54]:36096 "EHLO mail-lf0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751105AbbKVJlh (ORCPT ); Sun, 22 Nov 2015 04:41:37 -0500 Subject: Re: [PATCH 10/13] ARM: mvebu: add buffer manager nodes to armada-38x.dtsi To: Marcin Wojtas , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org References: <1448178839-3541-1-git-send-email-mw@semihalf.com> <1448178839-3541-11-git-send-email-mw@semihalf.com> Cc: davem@davemloft.net, linux@arm.linux.org.uk, sebastian.hesselbarth@gmail.com, andrew@lunn.ch, jason@lakedaemon.net, thomas.petazzoni@free-electrons.com, gregory.clement@free-electrons.com, simon.guinot@sequanux.org, nadavh@marvell.com, alior@marvell.com, xswang@marvell.com, myair@marvell.com, nitroshift@yahoo.com, jaz@semihalf.com, tn@semihalf.com From: Sergei Shtylyov Message-ID: <56518DCE.2010309@cogentembedded.com> Date: Sun, 22 Nov 2015 12:41:34 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <1448178839-3541-11-git-send-email-mw@semihalf.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1518 Lines: 50 Hello. On 11/22/2015 10:53 AM, Marcin Wojtas wrote: > Armada 38x network controller supports hardware buffer management (BM). > Since it is now enabled in mvneta driver, appropriate nodes can be added > to armada-38x.dtsi - for the actual common BM unit (bm@c8000) and its > internal SRAM (bm-bppi), which is used for indirect access to buffer > pointer ring residing in DRAM. > > Pools - ports mapping, bm-bppi entry in 'soc' node's ranges and optional > parameters are supposed to be set in board files. > > Signed-off-by: Marcin Wojtas > --- > arch/arm/boot/dts/armada-38x.dtsi | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > > diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi > index b7868b2..b9f4ce2 100644 > --- a/arch/arm/boot/dts/armada-38x.dtsi > +++ b/arch/arm/boot/dts/armada-38x.dtsi > @@ -539,6 +539,14 @@ > status = "disabled"; > }; > > + bm: bm@c8000 { The ePAPR standard tells us to give generic names to the device nodes, hence this should be named "buffer-manager" (?). [...] > @@ -617,6 +625,16 @@ > #size-cells = <1>; > ranges = <0 MBUS_ID(0x09, 0x15) 0 0x800>; > }; > + > + bm_bppi: bm-bppi { And this one "memory" (?). [...] MBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/