linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] arm64: Kconfig: select ALPINE_MSI only if PCI is selected
@ 2016-08-03 14:29 Sudeep Holla
  2016-08-03 14:29 ` [PATCH 2/2] arm64: Kconfig: select HISILICON_IRQ_MBIGEN " Sudeep Holla
  0 siblings, 1 reply; 4+ messages in thread
From: Sudeep Holla @ 2016-08-03 14:29 UTC (permalink / raw)
  To: linux-arm-kernel

Even when PCI is disabled, ARCH_ALPINE selects ALPINE_MSI triggerring
the following config warning:

warning: (ARCH_ALPINE) selects ALPINE_MSI which has unmet direct
		dependencies (PCI)

This patch makes selection of ALPINE_MSI conditional on PCI.

Cc: Arnd Bergmann <arnd@arndb.de>
Acked-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
---
 arch/arm64/Kconfig.platforms | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Hi ARM-SoC guys,

I still see this couple of config warnings without PCI with today's next.

Regards,
Sudeep

diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 4fb0bef0f094..b0e6850aa3e4 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -8,7 +8,7 @@ config ARCH_SUNXI

 config ARCH_ALPINE
 	bool "Annapurna Labs Alpine platform"
-	select ALPINE_MSI
+	select ALPINE_MSI if PCI
 	help
 	  This enables support for the Annapurna Labs Alpine
 	  Soc family.
--
2.7.4

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

* [PATCH 2/2] arm64: Kconfig: select HISILICON_IRQ_MBIGEN only if PCI is selected
  2016-08-03 14:29 [PATCH 1/2] arm64: Kconfig: select ALPINE_MSI only if PCI is selected Sudeep Holla
@ 2016-08-03 14:29 ` Sudeep Holla
  2016-08-10 20:51   ` Arnd Bergmann
  0 siblings, 1 reply; 4+ messages in thread
From: Sudeep Holla @ 2016-08-03 14:29 UTC (permalink / raw)
  To: linux-arm-kernel

Even when PCI is disabled, ARCH_HISI selects HISILICON_IRQ_MBIGEN
triggerring the following config warning:

warning: (ARM64 && HISILICON_IRQ_MBIGEN) selects ARM_GIC_V3_ITS which
	has unmet direct dependencies (PCI && PCI_MSI)

This patch makes selection of HISILICON_IRQ_MBIGEN conditional on PCI.

Cc: Ma Jun <majun258@huawei.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
---
 arch/arm64/Kconfig.platforms | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index b0e6850aa3e4..41d82b327e6a 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -66,7 +66,7 @@ config ARCH_LG1K
 config ARCH_HISI
 	bool "Hisilicon SoC Family"
 	select ARM_TIMER_SP804
-	select HISILICON_IRQ_MBIGEN
+	select HISILICON_IRQ_MBIGEN if PCI
 	help
 	  This enables support for Hisilicon ARMv8 SoC family

--
2.7.4

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

* [PATCH 2/2] arm64: Kconfig: select HISILICON_IRQ_MBIGEN only if PCI is selected
  2016-08-03 14:29 ` [PATCH 2/2] arm64: Kconfig: select HISILICON_IRQ_MBIGEN " Sudeep Holla
@ 2016-08-10 20:51   ` Arnd Bergmann
  2016-08-11  1:26     ` majun (F)
  0 siblings, 1 reply; 4+ messages in thread
From: Arnd Bergmann @ 2016-08-10 20:51 UTC (permalink / raw)
  To: linux-arm-kernel

On Wednesday, August 3, 2016 3:29:34 PM CEST Sudeep Holla wrote:
> Even when PCI is disabled, ARCH_HISI selects HISILICON_IRQ_MBIGEN
> triggerring the following config warning:
> 
> warning: (ARM64 && HISILICON_IRQ_MBIGEN) selects ARM_GIC_V3_ITS which
>         has unmet direct dependencies (PCI && PCI_MSI)
> 
> This patch makes selection of HISILICON_IRQ_MBIGEN conditional on PCI.

I think strictly speaking HISILICON_IRQ_MBIGEN should work without PCI,
but that is only a theoretical setup, and the patch seems to be the
simplest way to avoid the warning.

Applied both patches to fixes, sorry for the delay.

	Arnd

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

* [PATCH 2/2] arm64: Kconfig: select HISILICON_IRQ_MBIGEN only if PCI is selected
  2016-08-10 20:51   ` Arnd Bergmann
@ 2016-08-11  1:26     ` majun (F)
  0 siblings, 0 replies; 4+ messages in thread
From: majun (F) @ 2016-08-11  1:26 UTC (permalink / raw)
  To: linux-arm-kernel



? 2016/8/11 4:51, Arnd Bergmann ??:
> On Wednesday, August 3, 2016 3:29:34 PM CEST Sudeep Holla wrote:
>> Even when PCI is disabled, ARCH_HISI selects HISILICON_IRQ_MBIGEN
>> triggerring the following config warning:
>>
>> warning: (ARM64 && HISILICON_IRQ_MBIGEN) selects ARM_GIC_V3_ITS which
>>         has unmet direct dependencies (PCI && PCI_MSI)
>>
>> This patch makes selection of HISILICON_IRQ_MBIGEN conditional on PCI.
> 
> I think strictly speaking HISILICON_IRQ_MBIGEN should work without PCI,
> but that is only a theoretical setup, and the patch seems to be the
> simplest way to avoid the warning.
> 
> Applied both patches to fixes, sorry for the delay.
> 
sorry for late response, I just noticed this patch.

You are right, HISILICON_IRQ_MBIGEN uses the platform msi and has
no relation with pci.

> 	Arnd
> 
> 

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

end of thread, other threads:[~2016-08-11  1:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-03 14:29 [PATCH 1/2] arm64: Kconfig: select ALPINE_MSI only if PCI is selected Sudeep Holla
2016-08-03 14:29 ` [PATCH 2/2] arm64: Kconfig: select HISILICON_IRQ_MBIGEN " Sudeep Holla
2016-08-10 20:51   ` Arnd Bergmann
2016-08-11  1:26     ` majun (F)

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