]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
PCI: Enable PCI_DOMAINS along with generic PCI host controller
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 15 May 2018 09:07:07 +0000 (11:07 +0200)
committerBjorn Helgaas <helgaas@kernel.org>
Wed, 30 May 2018 16:35:30 +0000 (11:35 -0500)
The generic PCI host controller is often instantiated by hypervisors, and
they may add several of them or add them in addition to a physical host
controller like the Jailhouse hypervisor is doing.  Therefore, allow for
multiple domains so that we can handle them all.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/Kconfig

index 0d0177ce436cc5288be440ef522a06d5d3503fe7..3d25b35bb5ab657e93525761245765ee819bf1a5 100644 (file)
@@ -68,6 +68,7 @@ config PCI_HOST_GENERIC
        depends on (ARM || ARM64) && OF
        select PCI_HOST_COMMON
        select IRQ_DOMAIN
+       select PCI_DOMAINS
        help
          Say Y here if you want to support a simple generic PCI host
          controller, such as the one emulated by kvmtool.