From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Subject: Re: [v2 3/6] of: address: add support to parse PCI outbound-ranges Date: Thu, 19 Dec 2019 17:31:29 -0600 Message-ID: <20191219233129.GA5484@bogus> References: <20191213084748.11210-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20191213084748.11210-4-prabhakar.mahadev-lad.rj@bp.renesas.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: "Lad, Prabhakar" Cc: Bjorn Helgaas , Mark Rutland , Geert Uytterhoeven , Magnus Damm , Kishon Vijay Abraham I , Marek Vasut , Yoshihiro Shimoda , PCI , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , Arnd Bergmann , Greg Kroah-Hartman , Andrew Murray , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "linux-kernel@vger.kernel.org" , moderated list:ARM/FREESCALE IMX / List-Id: linux-rockchip.vger.kernel.org On Mon, Dec 16, 2019 at 08:49:23AM +0000, Lad, Prabhakar wrote: > Hi Rob, > > Thank you for the review. > > On Fri, Dec 13, 2019 at 8:37 PM Rob Herring wrote: > > > > On Fri, Dec 13, 2019 at 2:48 AM Lad Prabhakar > > wrote: > > > > > > From: "Lad, Prabhakar" > > > > > > this patch adds support to parse PCI outbound-ranges, the > > > outbound-regions are similar to pci ranges except it doesn't > > > have pci address, below is the format for bar-ranges: > > > > > > outbound-ranges = > > upper32_size lower32_size>; > > > > You can't just make up a new ranges property. Especially one that > > doesn't follow how 'ranges' works. We already have 'dma-ranges' to > > translate device to memory addresses. > > > > Explain the problem or feature you need, not the solution you came up > > with. Why do you need this and other endpoint bindings haven't? > > > rcar SoC's supports multiple outbound region for mapping the PCI address > locally to the system. This lead to discussion where there exist controllers > which support regions for high/low priority transfer and similarly regions > for large/small memory allocations, as a result a new ranges property was > added, where we can specify the flags which would indicate how the outbound > region can be used during requests. What are the flags? Rob