kernel_optimize_test/arch/arm/mach-bcm
Lorenzo Pieralisi 925d31668d PCI: controller: Move PCI_DOMAINS selection to arch Kconfig
Commit 51bc085d64 ("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: 51bc085d64 ("PCI: Improve host drivers compile test coverage")
Link: https://lkml.kernel.org/r/20180612170229.GA10141@roeck-us.net
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <helgaas@kernel.org>
Acked-by: Jan Kiszka <jan.kiszka@siemens.com>
Acked-by: Ley Foon Tan <ley.foon.tan@intel.com>
Acked-by: Rob 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>
2018-06-26 15:37:37 -05:00
..
bcm_5301x.c ARM: BCM5301X: Add back handler ignoring external imprecise aborts 2016-11-16 12:39:05 -08:00
bcm_cygnus.c
bcm_hr2.c ARM: bcm: Add support for Broadcom Hurricane 2 SoC 2017-10-12 11:30:20 -07:00
bcm_kona_smc.c ARM: remove duplicate 'const' annotations' 2017-05-19 10:12:55 +02:00
bcm_kona_smc.h
bcm_nsp.c
bcm63xx_pmb.c ARM: BCM63xx: Remove unused pmb_dn variable 2016-02-02 10:47:08 -08:00
bcm63xx_smp.c ARM: 8641/1: treewide: Replace uses of virt_to_phys with __pa_symbol 2017-02-28 11:06:10 +00:00
bcm63xx_smp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
bcm63xx.c
board_bcm281xx.c arm: Remove unnecessary of_platform_populate with default match table 2016-06-23 14:58:37 -05:00
board_bcm2835.c irqchip: bcm2836: Move SMP startup code to arch/arm (v2) 2017-09-25 11:52:26 -07:00
board_bcm21664.c ARM: SoC platform updates for v4.8 2016-08-01 18:27:08 -04:00
board_bcm23550.c ARM: Add support for Broadcom BCM23550 SoC 2016-06-06 11:47:28 -07:00
brcmstb.c soc: brcmstb: biuctrl: Move to early_initcall 2017-12-20 17:37:44 -08:00
Kconfig PCI: controller: Move PCI_DOMAINS selection to arch Kconfig 2018-06-26 15:37:37 -05:00
kona_l2_cache.c ARM: bcm: fix missing include of kona_l2_cache.h 2016-06-08 10:17:15 -07:00
kona_l2_cache.h
Makefile ARM: bcm: Add support for Broadcom Hurricane 2 SoC 2017-10-12 11:30:20 -07:00
platsmp-brcmstb.c ARM: 8641/1: treewide: Replace uses of virt_to_phys with __pa_symbol 2017-02-28 11:06:10 +00:00
platsmp.c ARM: bcm2836: Send event when onlining other cores 2017-09-25 11:52:28 -07:00
platsmp.h irqchip: bcm2836: Move SMP startup code to arch/arm (v2) 2017-09-25 11:52:26 -07:00