linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] PCI: controller: dwc: Make PCI_IMX6 depend on PCIEPORTBUS
@ 2018-12-06  7:45 Andrey Smirnov
  2018-12-06  8:10 ` Baruch Siach
  2018-12-06 10:28 ` Lucas Stach
  0 siblings, 2 replies; 12+ messages in thread
From: Andrey Smirnov @ 2018-12-06  7:45 UTC (permalink / raw)
  To: linux-pci
  Cc: Andrey Smirnov, bhelgaas, cphealy, l.stach, Leonard Crestez,
	A.s. Dong, Richard Zhu, linux-imx, linux-arm-kernel,
	linux-kernel

Building a kernel with CONFIG_PCI_IMX6=y, but CONFIG_PCIEPORTBUS=n
produces a system where built-in PCIE bridge (16c3:abcd) isn't bound
to pcieport driver. This, in turn, results in a PCIE bus that is
capable of enumerating attached PCIE device, but lacks functional
interrupt support.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---

Assuming this is a reasonable dependency, shold this be done to more
than just i.MX6 driver?

 drivers/pci/controller/dwc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pci/controller/dwc/Kconfig b/drivers/pci/controller/dwc/Kconfig
index 2b139acccf32..44ededbeab85 100644
--- a/drivers/pci/controller/dwc/Kconfig
+++ b/drivers/pci/controller/dwc/Kconfig
@@ -92,6 +92,7 @@ config PCI_IMX6
 	bool "Freescale i.MX6 PCIe controller"
 	depends on SOC_IMX8MQ || SOC_IMX6Q || (ARM && COMPILE_TEST)
 	depends on PCI_MSI_IRQ_DOMAIN
+	depends on PCIEPORTBUS
 	select PCIE_DW_HOST
 
 config PCIE_SPEAR13XX
-- 
2.19.1


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-12-12  8:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-06  7:45 [PATCH] PCI: controller: dwc: Make PCI_IMX6 depend on PCIEPORTBUS Andrey Smirnov
2018-12-06  8:10 ` Baruch Siach
2018-12-06 15:45   ` Robert Hancock
2018-12-06 15:50     ` Lucas Stach
2018-12-06 16:10       ` Robert Hancock
2018-12-06 21:41         ` Robert Hancock
2018-12-06 10:28 ` Lucas Stach
2018-12-06 20:20   ` Trent Piepho
2018-12-07  4:55   ` Andrey Smirnov
2018-12-07 13:11     ` Niklas Cassel
2018-12-07 23:57       ` Andrey Smirnov
2018-12-12  8:11         ` Richard Zhu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).