arm64: Kconfig: select ALPINE_MSI only if PCI is selected
PATCH 1/1 arm64: Kconfig: select ALPINE_MSI only if PCI is selected
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.
--- arch/arm64/Kconfig.platforms | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Hi Arnd,
I happened to end up with a config without PCI when switching between DT and ACPI and saw the config warnings. This is against today's next, not sure if you have some fix already queued. Also I am not sure if ALPINE_MSI is must for this platform to boot in which case it needs to select PCI.
Regards,
Sudeep
arch/arm64/Kconfig.platforms +1 -1
@@ -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
PATCH 1/1 arm64: Kconfig: select ALPINE_MSI only if PCI is selected
Hello,
Quoted 6 lines · Sudeep Holla
Even when PCI is disabled,
ARCH_ALPINEselectsALPINE_MSItriggerring the following config warning:warning: (
ARCH_ALPINE) selectsALPINE_MSIwhich has unmet direct dependencies (PCI)This patch makes selection of
ALPINE_MSIconditional on PCI.
[...]
arch/arm64/Kconfig.platforms config ARCH_SUNXI · line 14
Quoted 11 lines
arch/arm64/Kconfig.platforms +1
-1@@ -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.
ALPINE_MSI also depends on PCI_MSI (which itself depends on PCI). PCI_MSI isn't necessarily selected when PCI is, so please make the ALPINE_MSI selection conditional on PCI_MSI instead.
Thanks!
Antoine
Signature · 10 lines
Antoine T?nart, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160722/01287140/attachment.sig>
PATCH 1/1 arm64: Kconfig: select ALPINE_MSI only if PCI is selected
Quoted 16 lines · Antoine Tenart
Hello,
Quoted 6 lines · Sudeep Holla
Even when PCI is disabled,
ARCH_ALPINEselectsALPINE_MSItriggerring the following config warning:warning: (
ARCH_ALPINE) selectsALPINE_MSIwhich has unmet direct dependencies (PCI)This patch makes selection of
ALPINE_MSIconditional on PCI.[...]
Quoted 4 lines
arch/arm64/Kconfig.platforms +0
-0@@ -8,7 +8,7 @@ config ARCH_SUNXI
Quoted 9 lines
arch/arm64/Kconfig.platforms config ARCH_SUNXI · line 14
Quoted 7 lines
arch/arm64/Kconfig.platforms +1
-1config 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.
ALPINE_MSIalso depends onPCI_MSI(which itself depends on PCI).
ALPINE_MSI now selects PCI_MSI
Quoted 1 line
PCI_MSIisn't necessarily selected when PCI is, so please make the
Yes but ALPINE_MSI does it now as I mentioned above.
Quoted 2 lines
ALPINE_MSIselection conditional onPCI_MSIinstead.
I will wait for Arnd's response if that's OK as he seem to have made some changes around this recently.
Signature · 2 lines
Regards, Sudeep
PATCH 1/1 arm64: Kconfig: select ALPINE_MSI only if PCI is selected
Quoted 26 lines · Sudeep Holla
Quoted 15 lines · Antoine Tenart
Quoted 6 lines · Sudeep Holla
Even when PCI is disabled,
ARCH_ALPINEselectsALPINE_MSItriggerring the following config warning:warning: (
ARCH_ALPINE) selectsALPINE_MSIwhich has unmet direct dependencies (PCI)This patch makes selection of
ALPINE_MSIconditional on PCI.[...]
Quoted 4 lines
arch/arm64/Kconfig.platforms +0
-0@@ -8,7 +8,7 @@ config ARCH_SUNXIQuoted 9 lines
Quoted 7 lines
config
ARCH_ALPINE
bool "Annapurna Labs Alpine platform"arch/arm64/Kconfig.platforms +1
-1- select ALPINE_MSI + select ALPINE_MSI if PCIhelp
This enables support for the Annapurna Labs Alpine Soc family.
ALPINE_MSIalso depends onPCI_MSI(which itself depends on PCI).
Quoted 1 line
ALPINE_MSInow selectsPCI_MSI
You're right, I didn't look at -next. As you mentioned ALPINE_MSI now selects PCI_MSI.
So,
Thanks!
Antoine
Signature · 10 lines
Antoine T?nart, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160722/0d39e839/attachment-0001.sig>