]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
Merge branches 'pci/demodularize-hosts' and 'pci/host-request-windows' into next
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 1 Aug 2016 17:23:57 +0000 (12:23 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 1 Aug 2016 17:23:57 +0000 (12:23 -0500)
* pci/demodularize-hosts:
  PCI: xgene: Make explicitly non-modular
  PCI: thunder-pem: Make explicitly non-modular
  PCI: thunder-ecam: Make explicitly non-modular
  PCI: tegra: Make explicitly non-modular
  PCI: rcar-gen2: Make explicitly non-modular
  PCI: rcar: Make explicitly non-modular
  PCI: mvebu: Make explicitly non-modular
  PCI: layerscape: Make explicitly non-modular
  PCI: keystone: Make explicitly non-modular
  PCI: hisi: Make explicitly non-modular
  PCI: generic: Make explicitly non-modular
  PCI: designware-plat: Make it explicitly non-modular
  PCI: artpec6: Make explicitly non-modular
  PCI: armada8k: Make explicitly non-modular
  PCI: artpec: Add PCI_MSI_IRQ_DOMAIN dependency
  PCI: artpec: Add Axis ARTPEC-6 PCIe controller driver
  PCI: Add DT binding for Axis ARTPEC-6 PCIe controller
  PCI: generic: Select IRQ_DOMAIN

* pci/host-request-windows:
  PCI: versatile: Simplify host bridge window iteration
  PCI: versatile: Request host bridge window resources with core function
  PCI: tegra: Request host bridge window resources with core function
  PCI: tegra: Remove top-level resource from hierarchy
  PCI: rcar: Simplify host bridge window iteration
  PCI: rcar: Request host bridge window resources with core function
  PCI: rcar Gen2: Request host bridge window resources
  PCI: rcar: Drop gen2 dummy I/O port region
  ARM: Make PCI I/O space optional
  PCI: mvebu: Request host bridge window resources with core function
  PCI: generic: Simplify host bridge window iteration
  PCI: generic: Request host bridge window resources with core function
  PCI: altera: Simplify host bridge window iteration
  PCI: altera: Request host bridge window resources with core function
  PCI: xilinx-nwl: Use dev_printk() when possible
  PCI: xilinx-nwl: Request host bridge window resources
  PCI: xilinx-nwl: Free bridge resource list on failure
  PCI: xilinx: Request host bridge window resources
  PCI: xilinx: Free bridge resource list on failure
  PCI: xgene: Request host bridge window resources
  PCI: xgene: Free bridge resource list on failure
  PCI: iproc: Request host bridge window resources
  PCI: designware: Simplify host bridge window iteration
  PCI: designware: Request host bridge window resources
  PCI: designware: Free bridge resource list on failure
  PCI: Add devm_request_pci_bus_resources()

14 files changed:
1  2  3 
MAINTAINERS
arch/arm/kernel/bios32.c
drivers/pci/bus.c
drivers/pci/host/Kconfig
drivers/pci/host/pci-host-common.c
drivers/pci/host/pci-host-generic.c
drivers/pci/host/pci-mvebu.c
drivers/pci/host/pci-rcar-gen2.c
drivers/pci/host/pci-tegra.c
drivers/pci/host/pci-thunder-ecam.c
drivers/pci/host/pci-thunder-pem.c
drivers/pci/host/pci-xgene.c
drivers/pci/host/pcie-rcar.c
include/linux/pci.h

diff --cc MAINTAINERS
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index f0ca6de0d87eaaf7ec8168bbf358b77bb8b9e20f,c5cbaf1e60e01e86e38a58d7e42de6fa2df15da8,6eaceab1bf043e2d5006adddfb1fc3c9d6188d31..c05ea9d72f693f38203e98ae92c4c95df4dab661
    */
   
   #include <linux/kernel.h>
- -#include <linux/module.h>
+ +#include <linux/init.h>
   #include <linux/of_address.h>
   #include <linux/of_pci.h>
 ++#include <linux/pci-ecam.h>
   #include <linux/platform_device.h>
   
 --#include "../ecam.h"
 --
   static struct pci_ecam_ops gen_pci_cfg_cam_bus_ops = {
        .bus_shift      = 16,
        .pci_ops        = {
Simple merge
Simple merge
index c388468c202a75efd28bef26eaafb190690c5856,54098a822714735163232c6e23e88895b761c41f,6e6ef0d3d739b50a635b56441488beea9ce7030d..584777e0ad79e8b337ade4ee5af9407ce7775794
@@@@ -623,21 -625,21 -622,11 +624,11 @@@@ static int tegra_pcie_setup(int nr, str
        sys->mem_offset = pcie->offset.mem;
        sys->io_offset = pcie->offset.io;
   
--      err = devm_request_resource(pcie->dev, &pcie->all, &pcie->io);
-       if (err < 0)
-               return err;
-  
-       err = devm_request_resource(pcie->dev, &ioport_resource, &pcie->pio);
-       if (err < 0)
-               return err;
-  
-       err = devm_request_resource(pcie->dev, &pcie->all, &pcie->mem);
++      err = devm_request_resource(pcie->dev, &iomem_resource, &pcie->io);
        if (err < 0)
                return err;
   
 -      err = devm_request_resource(pcie->dev, &ioport_resource, &pcie->pio);
 -      if (err < 0)
 -              return err;
 - 
 -      err = devm_request_resource(pcie->dev, &pcie->all, &pcie->mem);
 -      if (err < 0)
 -              return err;
 - 
--      err = devm_request_resource(pcie->dev, &pcie->all, &pcie->prefetch);
--      if (err)
--              return err;
++      pci_ioremap_io(pcie->pio.start, pcie->io.start);
   
        pci_add_resource_offset(&sys->resources, &pcie->pio, sys->io_offset);
        pci_add_resource_offset(&sys->resources, &pcie->mem, sys->mem_offset);
Simple merge
index 91f6fc68d374ccffcf5b25cf9b9995e0b8c7230c,7b335e62758502815571be5450fa07ae19bf2ca9,9b8ab94f3c8c88dc2fac62f504e2ce1d0b04f8c6..6abaf80ffb395d48668dc995782cdb4b53ff4067
    */
   
   #include <linux/kernel.h>
- -#include <linux/module.h>
+ +#include <linux/init.h>
   #include <linux/of_address.h>
   #include <linux/of_pci.h>
 ++#include <linux/pci-ecam.h>
   #include <linux/platform_device.h>
   
 --#include "../ecam.h"
 --
   #define PEM_CFG_WR 0x28
   #define PEM_CFG_RD 0x30
   
Simple merge
index 35092188039b99264f7911a3fdd91005c043d4d0,04b8357f48205bf995909ac3c31ad61d8981a87b,6546ca79f18838bce973b50046892bc45be65027..65db7a2215090ff4508141dc131fb37104b9a34b
@@@@ -936,13 -938,12 -936,8 +938,7 @@@@ static const struct of_device_id rcar_p
        { .compatible = "renesas,pcie-r8a7795", .data = rcar_pcie_hw_init },
        {},
   };
- -MODULE_DEVICE_TABLE(of, rcar_pcie_of_match);
-  
-  static void rcar_pcie_release_of_pci_ranges(struct rcar_pcie *pci)
-  {
-       pci_free_resource_list(&pci->resources);
-  }
   
 - static void rcar_pcie_release_of_pci_ranges(struct rcar_pcie *pci)
 - {
 -      pci_free_resource_list(&pci->resources);
 - }
 - 
   static int rcar_pcie_parse_request_of_pci_ranges(struct rcar_pcie *pci)
   {
        int err;
Simple merge