linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/1]Fix build warning and errors
@ 2019-11-28  8:31 Dilip Kota
  2019-11-28  8:31 ` [PATCH v1 1/1] PCI: dwc: Kconfig: Mark intel PCIe driver depends on MSI IRQ Domain Dilip Kota
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Dilip Kota @ 2019-11-28  8:31 UTC (permalink / raw)
  To: linux-pci
  Cc: lorenzo.pieralisi, gustavo.pimentel, andrew.murray, linux-kernel,
	andriy.shevchenko, rdunlap, cheol.yong.kim, chuanhua.lei,
	qi-ming.wu, Dilip Kota

Mark Intel PCIe driver depends on MSI IRQ Domain to fix
the below warnings and respective build errors.

WARNING: unmet direct dependencies detected for PCIE_DW_HOST
  Depends on [n]: PCI [=y] && PCI_MSI_IRQ_DOMAIN [=n]
  Selected by [y]:
  - PCIE_INTEL_GW [=y] && PCI [=y] && OF [=y] && (X86 [=y] || COMPILE_TEST [=n])

Dilip Kota (1):
  PCI: dwc: Kconfig: Mark intel PCIe driver depends on MSI IRQ Domain

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

-- 
2.11.0


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

* [PATCH v1 1/1] PCI: dwc: Kconfig: Mark intel PCIe driver depends on MSI IRQ Domain
  2019-11-28  8:31 [PATCH v1 0/1]Fix build warning and errors Dilip Kota
@ 2019-11-28  8:31 ` Dilip Kota
  2019-11-28 18:18   ` Randy Dunlap
  2019-11-28 10:19 ` [PATCH v1 0/1]Fix build warning and errors Lorenzo Pieralisi
  2019-12-05 16:23 ` Lorenzo Pieralisi
  2 siblings, 1 reply; 7+ messages in thread
From: Dilip Kota @ 2019-11-28  8:31 UTC (permalink / raw)
  To: linux-pci
  Cc: lorenzo.pieralisi, gustavo.pimentel, andrew.murray, linux-kernel,
	andriy.shevchenko, rdunlap, cheol.yong.kim, chuanhua.lei,
	qi-ming.wu, Dilip Kota

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(+)

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
-- 
2.11.0


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

* Re: [PATCH v1 0/1]Fix build warning and errors
  2019-11-28  8:31 [PATCH v1 0/1]Fix build warning and errors Dilip Kota
  2019-11-28  8:31 ` [PATCH v1 1/1] PCI: dwc: Kconfig: Mark intel PCIe driver depends on MSI IRQ Domain Dilip Kota
@ 2019-11-28 10:19 ` Lorenzo Pieralisi
  2019-11-28 14:46   ` Bjorn Helgaas
  2019-12-05 16:23 ` Lorenzo Pieralisi
  2 siblings, 1 reply; 7+ messages in thread
From: Lorenzo Pieralisi @ 2019-11-28 10:19 UTC (permalink / raw)
  To: Dilip Kota
  Cc: linux-pci, gustavo.pimentel, andrew.murray, linux-kernel,
	andriy.shevchenko, rdunlap, cheol.yong.kim, chuanhua.lei,
	qi-ming.wu, bhelgaas

[+Bjorn]

On Thu, Nov 28, 2019 at 04:31:12PM +0800, Dilip Kota wrote:
> Mark Intel PCIe driver depends on MSI IRQ Domain to fix
> the below warnings and respective build errors.
> 
> WARNING: unmet direct dependencies detected for PCIE_DW_HOST
>   Depends on [n]: PCI [=y] && PCI_MSI_IRQ_DOMAIN [=n]
>   Selected by [y]:
>   - PCIE_INTEL_GW [=y] && PCI [=y] && OF [=y] && (X86 [=y] || COMPILE_TEST [=n])

I don't know yet if we fix it up or I drop the series, given how
late this is in the release cycle and very short time this code
has been in -next.

Lorenzo

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

* Re: [PATCH v1 0/1]Fix build warning and errors
  2019-11-28 10:19 ` [PATCH v1 0/1]Fix build warning and errors Lorenzo Pieralisi
@ 2019-11-28 14:46   ` Bjorn Helgaas
  0 siblings, 0 replies; 7+ messages in thread
From: Bjorn Helgaas @ 2019-11-28 14:46 UTC (permalink / raw)
  To: Lorenzo Pieralisi
  Cc: Dilip Kota, linux-pci, gustavo.pimentel, andrew.murray,
	linux-kernel, andriy.shevchenko, rdunlap, cheol.yong.kim,
	chuanhua.lei, qi-ming.wu

On Thu, Nov 28, 2019 at 10:19:55AM +0000, Lorenzo Pieralisi wrote:
> [+Bjorn]
> 
> On Thu, Nov 28, 2019 at 04:31:12PM +0800, Dilip Kota wrote:
> > Mark Intel PCIe driver depends on MSI IRQ Domain to fix
> > the below warnings and respective build errors.
> > 
> > WARNING: unmet direct dependencies detected for PCIE_DW_HOST
> >   Depends on [n]: PCI [=y] && PCI_MSI_IRQ_DOMAIN [=n]
> >   Selected by [y]:
> >   - PCIE_INTEL_GW [=y] && PCI [=y] && OF [=y] && (X86 [=y] || COMPILE_TEST [=n])
> 
> I don't know yet if we fix it up or I drop the series, given how
> late this is in the release cycle and very short time this code
> has been in -next.

I think given the timing and the holiday we need to drop it for now.

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

* Re: [PATCH v1 1/1] PCI: dwc: Kconfig: Mark intel PCIe driver depends on MSI IRQ Domain
  2019-11-28  8:31 ` [PATCH v1 1/1] PCI: dwc: Kconfig: Mark intel PCIe driver depends on MSI IRQ Domain Dilip Kota
@ 2019-11-28 18:18   ` Randy Dunlap
  0 siblings, 0 replies; 7+ messages in thread
From: Randy Dunlap @ 2019-11-28 18:18 UTC (permalink / raw)
  To: Dilip Kota, linux-pci
  Cc: lorenzo.pieralisi, gustavo.pimentel, andrew.murray, linux-kernel,
	andriy.shevchenko, cheol.yong.kim, chuanhua.lei, qi-ming.wu

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
> 


-- 
~Randy
Reported-by: Randy Dunlap <rdunlap@infradead.org>

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

* Re: [PATCH v1 0/1]Fix build warning and errors
  2019-11-28  8:31 [PATCH v1 0/1]Fix build warning and errors Dilip Kota
  2019-11-28  8:31 ` [PATCH v1 1/1] PCI: dwc: Kconfig: Mark intel PCIe driver depends on MSI IRQ Domain Dilip Kota
  2019-11-28 10:19 ` [PATCH v1 0/1]Fix build warning and errors Lorenzo Pieralisi
@ 2019-12-05 16:23 ` Lorenzo Pieralisi
  2019-12-06  6:35   ` Dilip Kota
  2 siblings, 1 reply; 7+ messages in thread
From: Lorenzo Pieralisi @ 2019-12-05 16:23 UTC (permalink / raw)
  To: Dilip Kota
  Cc: linux-pci, gustavo.pimentel, andrew.murray, linux-kernel,
	andriy.shevchenko, rdunlap, cheol.yong.kim, chuanhua.lei,
	qi-ming.wu

On Thu, Nov 28, 2019 at 04:31:12PM +0800, Dilip Kota wrote:
> Mark Intel PCIe driver depends on MSI IRQ Domain to fix
> the below warnings and respective build errors.
> 
> WARNING: unmet direct dependencies detected for PCIE_DW_HOST
>   Depends on [n]: PCI [=y] && PCI_MSI_IRQ_DOMAIN [=n]
>   Selected by [y]:
>   - PCIE_INTEL_GW [=y] && PCI [=y] && OF [=y] && (X86 [=y] || COMPILE_TEST [=n])
> 
> Dilip Kota (1):
>   PCI: dwc: Kconfig: Mark intel PCIe driver depends on MSI IRQ Domain
> 
>  drivers/pci/controller/dwc/Kconfig | 1 +
>  1 file changed, 1 insertion(+)

Hi Dilip,

would you mind squashing this patch into the initial series and repost
it (rebase it against current mainline) straight away ? I will
rebase it to -rc1 and push it out next week (I am asking since then
I am afk for a month so I would like to get your code queued asap,
it is ready).

Thanks,
Lorenzo

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

* Re: [PATCH v1 0/1]Fix build warning and errors
  2019-12-05 16:23 ` Lorenzo Pieralisi
@ 2019-12-06  6:35   ` Dilip Kota
  0 siblings, 0 replies; 7+ messages in thread
From: Dilip Kota @ 2019-12-06  6:35 UTC (permalink / raw)
  To: Lorenzo Pieralisi
  Cc: linux-pci, gustavo.pimentel, andrew.murray, linux-kernel,
	andriy.shevchenko, rdunlap, cheol.yong.kim, chuanhua.lei,
	qi-ming.wu


On 12/6/2019 12:23 AM, Lorenzo Pieralisi wrote:
> On Thu, Nov 28, 2019 at 04:31:12PM +0800, Dilip Kota wrote:
>> Mark Intel PCIe driver depends on MSI IRQ Domain to fix
>> the below warnings and respective build errors.
>>
>> WARNING: unmet direct dependencies detected for PCIE_DW_HOST
>>    Depends on [n]: PCI [=y] && PCI_MSI_IRQ_DOMAIN [=n]
>>    Selected by [y]:
>>    - PCIE_INTEL_GW [=y] && PCI [=y] && OF [=y] && (X86 [=y] || COMPILE_TEST [=n])
>>
>> Dilip Kota (1):
>>    PCI: dwc: Kconfig: Mark intel PCIe driver depends on MSI IRQ Domain
>>
>>   drivers/pci/controller/dwc/Kconfig | 1 +
>>   1 file changed, 1 insertion(+)
> Hi Dilip,
>
> would you mind squashing this patch into the initial series and repost
> it (rebase it against current mainline) straight away ? I will
> rebase it to -rc1 and push it out next week (I am asking since then
> I am afk for a month so I would like to get your code queued asap,
> it is ready).
Sure, i will do it.
Thanks for prioritizing.

Regards,
Dilip
>
> Thanks,
> Lorenzo

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

end of thread, other threads:[~2019-12-06  6:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-28  8:31 [PATCH v1 0/1]Fix build warning and errors Dilip Kota
2019-11-28  8:31 ` [PATCH v1 1/1] PCI: dwc: Kconfig: Mark intel PCIe driver depends on MSI IRQ Domain Dilip Kota
2019-11-28 18:18   ` Randy Dunlap
2019-11-28 10:19 ` [PATCH v1 0/1]Fix build warning and errors Lorenzo Pieralisi
2019-11-28 14:46   ` Bjorn Helgaas
2019-12-05 16:23 ` Lorenzo Pieralisi
2019-12-06  6:35   ` Dilip Kota

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).