1. 10 7月, 2018 2 次提交
  2. 30 6月, 2018 9 次提交
  3. 27 6月, 2018 2 次提交
    • L
      PCI: controller: Move PCI_DOMAINS selection to arch Kconfig · 925d3166
      Lorenzo Pieralisi 提交于
      Commit 51bc085d ("PCI: Improve host drivers compile test coverage")
      added configuration options to allow PCI host controller drivers to be
      compile tested on all architectures.
      
      Some host controller drivers (eg PCIE_ALTERA) config entries select the
      PCI_DOMAINS config option to enable PCI domains management in the kernel.
      Now that host controller drivers can be compiled on all architectures, this
      triggers build regressions on arches that do not implement the PCI_DOMAINS
      required API (ie pci_domain_nr()):
      
        drivers/ata/pata_ali.c: In function 'ali_init_chipset':
        drivers/ata/pata_ali.c:469:38: error: implicit declaration of function 'pci_domain_nr'; did you mean 'pci_iomap_wc'?
      
      Furthemore, some software configurations (ie Jailhouse) require a
      PCI_DOMAINS enabled kernel to configure multiple host controllers without
      having an explicit dependency on the ARM platform on which they run.
      
      Make PCI_DOMAINS a visible configuration option on ARM so that software
      configurations that need it can manually select it and move the PCI_DOMAINS
      selection from PCI controllers configuration file to ARM sub-arch config
      entries that currently require it, fixing the issue.
      
      Fixes: 51bc085d ("PCI: Improve host drivers compile test coverage")
      Link: https://lkml.kernel.org/r/20180612170229.GA10141@roeck-us.netReported-by: NGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: NLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
      Signed-off-by: NBjorn Helgaas <helgaas@kernel.org>
      Acked-by: NJan Kiszka <jan.kiszka@siemens.com>
      Acked-by: NLey Foon Tan <ley.foon.tan@intel.com>
      Acked-by: NRob Herring <robh@kernel.org>
      Cc: Scott Branden <scott.branden@broadcom.com>
      Cc: Will Deacon <will.deacon@arm.com>
      Cc: Russell King <linux@armlinux.org.uk>
      Cc: Guenter Roeck <linux@roeck-us.net>
      925d3166
    • A
      PCI: Initialize endpoint library before controllers · 68bb22e9
      Alan Douglas 提交于
      The endpoint library must be initialized before its users, which are in
      drivers/pci/controllers.  The endpoint initialization currently depends on
      link order.
      
      This corrects a kernel crash when loading the Cadence EP driver, since it
      calls devm_pci_epc_create() and this is only valid once the endpoint
      library has been initialized.
      
      Fixes: 6e0832fa ("PCI: Collect all native drivers under drivers/pci/controller/")
      Signed-off-by: NAlan Douglas <adouglas@cadence.com>
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      68bb22e9
  4. 26 6月, 2018 1 次提交
  5. 16 6月, 2018 14 次提交
  6. 15 6月, 2018 11 次提交
  7. 14 6月, 2018 1 次提交