From: Bjorn Helgaas Subject: Re: [PATCH v3 19/25] PCI: of: Add inbound resource parsing to helpers Date: Tue, 29 Oct 2019 17:12:24 -0500 Message-ID: <20191029221224.GA117069@google.com> References: <20191029110751.GB27171@e121166-lin.cambridge.arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20191029110751.GB27171@e121166-lin.cambridge.arm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Lorenzo Pieralisi Cc: Heiko Stuebner , Karthikeyan Mitran , linux-pci@vger.kernel.org, Linus Walleij , Thomas Petazzoni , Toan Le , Will Deacon , Rob Herring , Ryder Lee , Michal Simek , Christoph Hellwig , linux-rockchip@lists.infradead.org, bcm-kernel-feedback-list@broadcom.com, Shawn Lin , Ray Jui , Hou Zhiqiang , Simon Horman , linux-mediatek@lists.infradead.org, Andrew Murray , Matthias Brugger , linux-arm-kernel@lists.infradead.org, Scott Branden , Jingoo Han , rfi@lists.rocketboar List-Id: linux-rockchip.vger.kernel.org On Tue, Oct 29, 2019 at 11:07:51AM +0000, Lorenzo Pieralisi wrote: > On Mon, Oct 28, 2019 at 11:32:50AM -0500, Rob Herring wrote: > > Extend devm_of_pci_get_host_bridge_resources() and > > pci_parse_request_of_pci_ranges() helpers to also parse the inbound > > addresses from DT 'dma-ranges' and populate a resource list with the > > translated addresses. This will help ensure 'dma-ranges' is always > > parsed in a consistent way. > > > > Cc: Jingoo Han > > Cc: Gustavo Pimentel > > Cc: Lorenzo Pieralisi > > Cc: Bjorn Helgaas > > Cc: Thomas Petazzoni > > Cc: Will Deacon > > Cc: Linus Walleij > > Cc: Toan Le > > Cc: Ley Foon Tan > > Cc: Tom Joseph > > Cc: Ray Jui > > Cc: Scott Branden > > Cc: bcm-kernel-feedback-list@broadcom.com > > Cc: Ryder Lee > > Cc: Karthikeyan Mitran > > Cc: Hou Zhiqiang > > Cc: Simon Horman > > Cc: Shawn Lin > > Cc: Heiko Stuebner > > Cc: Michal Simek > > Cc: rfi@lists.rocketboards.org > > Cc: linux-mediatek@lists.infradead.org > > Cc: linux-renesas-soc@vger.kernel.org > > Cc: linux-rockchip@lists.infradead.org > > Tested-by: Thomas Petazzoni # for AArdvark > > Reviewed-by: Andrew Murray > > Acked-by: Gustavo Pimentel > > Signed-off-by: Rob Herring > > --- > > v2: > > - Fix crash in INIT_LIST_HEAD when ib_resources is NULL > > --- > > .../pci/controller/dwc/pcie-designware-host.c | 3 +- > > drivers/pci/controller/pci-aardvark.c | 2 +- > > drivers/pci/controller/pci-ftpci100.c | 3 +- > > drivers/pci/controller/pci-host-common.c | 2 +- > > drivers/pci/controller/pci-v3-semi.c | 3 +- > > drivers/pci/controller/pci-versatile.c | 3 +- > > drivers/pci/controller/pci-xgene.c | 3 +- > > drivers/pci/controller/pcie-altera.c | 2 +- > > drivers/pci/controller/pcie-cadence-host.c | 2 +- > > drivers/pci/controller/pcie-iproc-platform.c | 3 +- > > drivers/pci/controller/pcie-mediatek.c | 2 +- > > drivers/pci/controller/pcie-mobiveil.c | 3 +- > > drivers/pci/controller/pcie-rcar.c | 3 +- > > drivers/pci/controller/pcie-rockchip-host.c | 3 +- > > drivers/pci/controller/pcie-xilinx-nwl.c | 3 +- > > drivers/pci/controller/pcie-xilinx.c | 3 +- > > drivers/pci/of.c | 45 ++++++++++++++++++- > > drivers/pci/pci.h | 8 +++- > > include/linux/pci.h | 9 ++-- > > 19 files changed, 82 insertions(+), 23 deletions(-) > > Hi Bjorn, > > please let me know if you are OK with this patch, the series is > ready to go upstream IMO. Yep, looks good to me. If you want it: Acked-by: Bjorn Helgaas