Message ID | 96078df4bfb6bb252e9a0a447a65a47c70d1fe7d.1574929426.git.eswara.kota@linux.intel.com |
---|---|
State | New |
Headers | show |
Series | Fix build warning and errors | expand |
On 11/28/19 12:31 AM, Dilip Kota wrote: > Kernel compilation fails for i386 architecture as PCI_MSI_IRQ_DOMAIN > is not set. > > Synopsys DesignWare framework depends on the PCI_MSI_IRQ_DOMAIN. > So mark the Intel PCIe controller driver dependency on PCI_MSI_IRQ_DOMAIN > as it uses the Synopsys DesignWare framework. > > Reported-by: Randy Dunlap <rdunlap@infradead.org> > Signed-off-by: Dilip Kota <eswara.kota@linux.intel.com> Passes my previously failing kernel configs. Thanks. Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested > --- > 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 e580ae036d77..d8116ed7f3a4 100644 > --- a/drivers/pci/controller/dwc/Kconfig > +++ b/drivers/pci/controller/dwc/Kconfig > @@ -212,6 +212,7 @@ config PCIE_ARTPEC6_EP > config PCIE_INTEL_GW > bool "Intel Gateway PCIe host controller support" > depends on OF && (X86 || COMPILE_TEST) > + depends on PCI_MSI_IRQ_DOMAIN > select PCIE_DW_HOST > help > Say 'Y' here to enable PCIe Host controller support on Intel >
diff --git a/drivers/pci/controller/dwc/Kconfig b/drivers/pci/controller/dwc/Kconfig index e580ae036d77..d8116ed7f3a4 100644 --- a/drivers/pci/controller/dwc/Kconfig +++ b/drivers/pci/controller/dwc/Kconfig @@ -212,6 +212,7 @@ config PCIE_ARTPEC6_EP config PCIE_INTEL_GW bool "Intel Gateway PCIe host controller support" depends on OF && (X86 || COMPILE_TEST) + depends on PCI_MSI_IRQ_DOMAIN select PCIE_DW_HOST help Say 'Y' here to enable PCIe Host controller support on Intel
Kernel compilation fails for i386 architecture as PCI_MSI_IRQ_DOMAIN is not set. Synopsys DesignWare framework depends on the PCI_MSI_IRQ_DOMAIN. So mark the Intel PCIe controller driver dependency on PCI_MSI_IRQ_DOMAIN as it uses the Synopsys DesignWare framework. Reported-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Dilip Kota <eswara.kota@linux.intel.com> --- drivers/pci/controller/dwc/Kconfig | 1 + 1 file changed, 1 insertion(+)