On Tue, 24 Sep 2019 16:46:25 -0500 Rob Herring <[email protected]> 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 protected]> > Cc: Gustavo Pimentel <[email protected]> > Cc: Lorenzo Pieralisi <[email protected]> > Cc: Bjorn Helgaas <[email protected]> > Cc: Thomas Petazzoni <[email protected]> > Cc: Will Deacon <[email protected]> > Cc: Linus Walleij <[email protected]> > Cc: Toan Le <[email protected]> > Cc: Ley Foon Tan <[email protected]> > Cc: Tom Joseph <[email protected]> > Cc: Ray Jui <[email protected]> > Cc: Scott Branden <[email protected]> > Cc: [email protected] > Cc: Ryder Lee <[email protected]> > Cc: Karthikeyan Mitran <[email protected]> > Cc: Hou Zhiqiang <[email protected]> > Cc: Simon Horman <[email protected]> > Cc: Shawn Lin <[email protected]> > Cc: Heiko Stuebner <[email protected]> > Cc: Michal Simek <[email protected]> > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Signed-off-by: Rob Herring <[email protected]> > --- > .../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 protected]> (on Armada 3720-DB, with a E1000E NIC) Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
