This is my resurected attempt at adding support for generic PCI host bridge controllers that make use of device tree information to configure themselves. I've tagged it as v8 although the patches have now been reshuffled in order to ease adoption so referring to the older versions might be a bit of a hoop jumping exercise. Changes from v7: - Reordered the patches so that fixes and non-controversial patches from v7 can be accepted more easily. If agreed I can split the series again into patches that can be upstreamed easily and ones that still need discussion. - Moved the of_create_host_bridge() function to drivers/of/of_pci.c to better reflect its target use. - Added the function to remap the bus I/O resources that used to be provided in my arm64 patch series and (re)named it pci_remap_iospace() - Removed error code checking from parsing and mapping of IRQ from DT in recognition that some PCI devices will not have legacy IRQ mappings. v7 thread here with all the historic information: https://lkml.org/lkml/2014/3/14/279 Best regards, Liviu Liviu Dudau (9): Fix ioport_map() for !CONFIG_GENERIC_IOMAP cases. pci: Export find_pci_host_bridge() function. pci: Introduce pci_register_io_range() helper function. pci: OF: Fix the conversion of IO ranges into IO resources. pci: Create pci_host_bridge before its associated bus in pci_create_root_bus. pci: Introduce a domain number for pci_host_bridge. pci: of: Parse and map the IRQ when adding the PCI device. pci: Add support for creating a generic host_bridge from device tree pci: Remap I/O bus resources into CPU space with pci_remap_iospace() drivers/of/address.c | 108 ++++++++++++++++++++++++++++++++++++ drivers/of/of_pci.c | 135 +++++++++++++++++++++++++++++++++++++++++++++ drivers/pci/host-bridge.c | 21 ++++++- drivers/pci/pci.c | 37 +++++++++++++ drivers/pci/probe.c | 68 ++++++++++++++++------- include/asm-generic/io.h | 2 +- include/linux/of_address.h | 14 +---- include/linux/of_pci.h | 10 ++++ include/linux/pci.h | 15 +++++ 9 files changed, 376 insertions(+), 34 deletions(-) -- 2.0.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html