Subject: Re: [PATCH 06/11] PCI: of: Add inbound resource parsing to helpers

From: Thomas Petazzoni <[email-masked]>
Date: Wed, 25 Sep 2019 11:00:13 +0200

On Tue, 24 Sep 2019 16:46:25 -0500
Rob Herring <[email-masked]> 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 <[email-masked]>
> Cc: Gustavo Pimentel <[email-masked]>
> Cc: Lorenzo Pieralisi <[email-masked]>
> Cc: Bjorn Helgaas <[email-masked]>
> Cc: Thomas Petazzoni <[email-masked]>
> Cc: Will Deacon <[email-masked]>
> Cc: Linus Walleij <[email-masked]>
> Cc: Toan Le <[email-masked]>
> Cc: Ley Foon Tan <[email-masked]>
> Cc: Tom Joseph <[email-masked]>
> Cc: Ray Jui <[email-masked]>
> Cc: Scott Branden <[email-masked]>
> Cc: [email-masked]
> Cc: Ryder Lee <[email-masked]>
> Cc: Karthikeyan Mitran <[email-masked]>
> Cc: Hou Zhiqiang <[email-masked]>
> Cc: Simon Horman <[email-masked]>
> Cc: Shawn Lin <[email-masked]>
> Cc: Heiko Stuebner <[email-masked]>
> Cc: Michal Simek <[email-masked]>
> Cc: [email-masked]
> Cc: [email-masked]
> Cc: [email-masked]
> Cc: [email-masked]
> Signed-off-by: Rob Herring <[email-masked]>
> ---
>  .../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          |  2 +-
>  drivers/pci/controller/pci-versatile.c        |  2 +-
>  drivers/pci/controller/pci-xgene.c            |  1 +
>  drivers/pci/controller/pcie-altera.c          |  2 +-
>  drivers/pci/controller/pcie-cadence-host.c    |  2 +-
>  drivers/pci/controller/pcie-iproc-platform.c  |  1 +
>  drivers/pci/controller/pcie-mediatek.c        |  2 +-
>  drivers/pci/controller/pcie-mobiveil.c        |  4 +-
>  drivers/pci/controller/pcie-rcar.c            |  3 +-
>  drivers/pci/controller/pcie-rockchip-host.c   |  3 +-
>  drivers/pci/controller/pcie-xilinx-nwl.c      |  2 +-
>  drivers/pci/controller/pcie-xilinx.c          |  2 +-
>  drivers/pci/of.c                              | 44 ++++++++++++++++++-
>  drivers/pci/pci.h                             |  8 +++-
>  include/linux/pci.h                           |  2 +
>  19 files changed, 72 insertions(+), 18 deletions(-)

for the AArdvark bits:

Tested-by: Thomas Petazzoni <[email-masked]>
(on Armada 3720-DB, with a E1000E NIC)

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

_______________________________________________
linux-arm-kernel mailing list
[email-masked]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel