* [PATCH] ARM: hisi: depend on ARCH_MULTI_V7
@ 2014-09-29 15:46 Arnd Bergmann
2014-09-30 1:25 ` Wei Xu
0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2014-09-29 15:46 UTC (permalink / raw)
To: linux-arm-kernel
hisi has a general dependency on ARCH_MULTIPLATFORM, which is
problematic when building a kernel for non-V7 platforms but selecting
drivers that might conflict with other architecture levels.
In this case, it broke my (still out of tree) patch set that
enables V7M multiplatform support, since that does not enable
MULTI_IRQ support:
arch/arm/kernel/built-in.o: In function `set_handle_irq':
arch/arm/kernel/irq.c:125: undefined reference to `handle_arch_irq'
arch/arm/kernel/built-in.o: In function `setup_arch':
arch/arm/kernel/setup.c:965: undefined reference to `handle_arch_irq'
Since all hisilicon platforms are ARMv7 based, we can avoid this
problem by just making the dependency more specific.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
I'd like to apply this patch directly to the arm-soc tree
diff --git a/arch/arm/mach-hisi/Kconfig b/arch/arm/mach-hisi/Kconfig
index 075772b34e80..cd19433f76d3 100644
--- a/arch/arm/mach-hisi/Kconfig
+++ b/arch/arm/mach-hisi/Kconfig
@@ -1,6 +1,6 @@
config ARCH_HISI
bool "Hisilicon SoC Support"
- depends on ARCH_MULTIPLATFORM
+ depends on ARCH_MULTI_V7
select ARM_AMBA
select ARM_GIC
select ARM_TIMER_SP804
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: hisi: depend on ARCH_MULTI_V7
2014-09-29 15:46 [PATCH] ARM: hisi: depend on ARCH_MULTI_V7 Arnd Bergmann
@ 2014-09-30 1:25 ` Wei Xu
0 siblings, 0 replies; 2+ messages in thread
From: Wei Xu @ 2014-09-30 1:25 UTC (permalink / raw)
To: linux-arm-kernel
On 2014/9/29 23:46, Arnd Bergmann wrote:
> hisi has a general dependency on ARCH_MULTIPLATFORM, which is
> problematic when building a kernel for non-V7 platforms but selecting
> drivers that might conflict with other architecture levels.
>
> In this case, it broke my (still out of tree) patch set that
> enables V7M multiplatform support, since that does not enable
> MULTI_IRQ support:
>
> arch/arm/kernel/built-in.o: In function `set_handle_irq':
> arch/arm/kernel/irq.c:125: undefined reference to `handle_arch_irq'
> arch/arm/kernel/built-in.o: In function `setup_arch':
> arch/arm/kernel/setup.c:965: undefined reference to `handle_arch_irq'
>
> Since all hisilicon platforms are ARMv7 based, we can avoid this
> problem by just making the dependency more specific.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
Hi Arnd,
> I'd like to apply this patch directly to the arm-soc tree
Thanks!
Best Regards,
Wei
>
> diff --git a/arch/arm/mach-hisi/Kconfig b/arch/arm/mach-hisi/Kconfig
> index 075772b34e80..cd19433f76d3 100644
> --- a/arch/arm/mach-hisi/Kconfig
> +++ b/arch/arm/mach-hisi/Kconfig
> @@ -1,6 +1,6 @@
> config ARCH_HISI
> bool "Hisilicon SoC Support"
> - depends on ARCH_MULTIPLATFORM
> + depends on ARCH_MULTI_V7
> select ARM_AMBA
> select ARM_GIC
> select ARM_TIMER_SP804
>
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-09-30 1:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-29 15:46 [PATCH] ARM: hisi: depend on ARCH_MULTI_V7 Arnd Bergmann
2014-09-30 1:25 ` Wei Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox