* [PATCH] arm64: Kconfig: select ALPINE_MSI only if PCI is selected
@ 2016-07-22 14:42 Sudeep Holla
2016-07-22 15:27 ` Antoine Tenart
0 siblings, 1 reply; 4+ messages in thread
From: Sudeep Holla @ 2016-07-22 14:42 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: Antoine Tenart <antoine.tenart@free-electrons.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(-)
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
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index bb2616b16157..fd3ee3a392be 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] arm64: Kconfig: select ALPINE_MSI only if PCI is selected
2016-07-22 14:42 [PATCH] arm64: Kconfig: select ALPINE_MSI only if PCI is selected Sudeep Holla
@ 2016-07-22 15:27 ` Antoine Tenart
2016-07-22 15:36 ` Sudeep Holla
0 siblings, 1 reply; 4+ messages in thread
From: Antoine Tenart @ 2016-07-22 15:27 UTC (permalink / raw)
To: linux-arm-kernel
Hello,
On Fri, Jul 22, 2016 at 03:42:07PM +0100, Sudeep Holla wrote:
> 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.
[...]
> --- 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.
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
--
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>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] arm64: Kconfig: select ALPINE_MSI only if PCI is selected
2016-07-22 15:27 ` Antoine Tenart
@ 2016-07-22 15:36 ` Sudeep Holla
2016-07-22 16:03 ` Antoine Tenart
0 siblings, 1 reply; 4+ messages in thread
From: Sudeep Holla @ 2016-07-22 15:36 UTC (permalink / raw)
To: linux-arm-kernel
On 22/07/16 16:27, Antoine Tenart wrote:
> Hello,
>
> On Fri, Jul 22, 2016 at 03:42:07PM +0100, Sudeep Holla wrote:
>> 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.
>
> [...]
>
>> --- 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.
>
> ALPINE_MSI also depends on PCI_MSI (which itself depends on PCI).
ALPINE_MSI now selects PCI_MSI
> PCI_MSI isn't necessarily selected when PCI is, so please make the
Yes but ALPINE_MSI does it now as I mentioned above.
> ALPINE_MSI selection conditional on PCI_MSI instead.
>
I will wait for Arnd's response if that's OK as he seem to have made
some changes around this recently.
--
Regards,
Sudeep
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] arm64: Kconfig: select ALPINE_MSI only if PCI is selected
2016-07-22 15:36 ` Sudeep Holla
@ 2016-07-22 16:03 ` Antoine Tenart
0 siblings, 0 replies; 4+ messages in thread
From: Antoine Tenart @ 2016-07-22 16:03 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Jul 22, 2016 at 04:36:41PM +0100, Sudeep Holla wrote:
> On 22/07/16 16:27, Antoine Tenart wrote:
> >
> >On Fri, Jul 22, 2016 at 03:42:07PM +0100, Sudeep Holla wrote:
> >>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.
> >
> >[...]
> >
> >>--- 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.
> >
> >ALPINE_MSI also depends on PCI_MSI (which itself depends on PCI).
>
> ALPINE_MSI now selects PCI_MSI
You're right, I didn't look at -next. As you mentioned ALPINE_MSI now
selects PCI_MSI.
So,
Acked-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Thanks!
Antoine
--
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>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-07-22 16:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-22 14:42 [PATCH] arm64: Kconfig: select ALPINE_MSI only if PCI is selected Sudeep Holla
2016-07-22 15:27 ` Antoine Tenart
2016-07-22 15:36 ` Sudeep Holla
2016-07-22 16:03 ` Antoine Tenart
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox