diff mbox

arm: exynos: Fix "allmodconfig" build errors in mcpm and hotplug

Message ID 1401083696-25702-1-git-send-email-a.kesavan@samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

Abhilash Kesavan May 26, 2014, 5:54 a.m. UTC
This fixes the following build errors:

/tmp/ccRbZlaA.s: Assembler messages:
/tmp/ccRbZlaA.s:69: Error: selected processor does not support ARM mode `isb '
/tmp/ccRbZlaA.s:75: Error: selected processor does not support ARM mode `isb '
/tmp/ccRbZlaA.s:76: Error: selected processor does not support ARM mode `dsb '
make[1]: *** [arch/arm/mach-exynos/hotplug.o] Error 1

/tmp/ccJEg4jw.s: Assembler messages:
/tmp/ccJEg4jw.s:454: Error: selected processor does not support ARM mode `isb'
/tmp/ccJEg4jw.s:455: Error: selected processor does not support ARM mode `dsb'
/tmp/ccJEg4jw.s:465: Error: selected processor does not support ARM mode `isb'
/tmp/ccJEg4jw.s:474: Error: selected processor does not support ARM mode `isb'
/tmp/ccJEg4jw.s:475: Error: selected processor does not support ARM mode `dsb'
/tmp/ccJEg4jw.s:516: Error: selected processor does not support ARM mode `isb'
/tmp/ccJEg4jw.s:525: Error: selected processor does not support ARM mode `isb'
/tmp/ccJEg4jw.s:526: Error: selected processor does not support ARM mode `dsb'
make[1]: *** [arch/arm/mach-exynos/mcpm-exynos.o] Error 1

Reported-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
---
 arch/arm/mach-exynos/Makefile |    2 ++
 1 file changed, 2 insertions(+)

Comments

Sachin Kamat May 26, 2014, 6:49 a.m. UTC | #1
Thanks Abhilash.

On 26 May 2014 11:24, Abhilash Kesavan <a.kesavan@samsung.com> wrote:
> This fixes the following build errors:
>
> /tmp/ccRbZlaA.s: Assembler messages:
> /tmp/ccRbZlaA.s:69: Error: selected processor does not support ARM mode `isb '
> /tmp/ccRbZlaA.s:75: Error: selected processor does not support ARM mode `isb '
> /tmp/ccRbZlaA.s:76: Error: selected processor does not support ARM mode `dsb '
> make[1]: *** [arch/arm/mach-exynos/hotplug.o] Error 1
>
> /tmp/ccJEg4jw.s: Assembler messages:
> /tmp/ccJEg4jw.s:454: Error: selected processor does not support ARM mode `isb'
> /tmp/ccJEg4jw.s:455: Error: selected processor does not support ARM mode `dsb'
> /tmp/ccJEg4jw.s:465: Error: selected processor does not support ARM mode `isb'
> /tmp/ccJEg4jw.s:474: Error: selected processor does not support ARM mode `isb'
> /tmp/ccJEg4jw.s:475: Error: selected processor does not support ARM mode `dsb'
> /tmp/ccJEg4jw.s:516: Error: selected processor does not support ARM mode `isb'
> /tmp/ccJEg4jw.s:525: Error: selected processor does not support ARM mode `isb'
> /tmp/ccJEg4jw.s:526: Error: selected processor does not support ARM mode `dsb'
> make[1]: *** [arch/arm/mach-exynos/mcpm-exynos.o] Error 1
>
> Reported-by: Sachin Kamat <sachin.kamat@linaro.org>
> Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>

This patch fixes the above reported issues.

Tested-by: Sachin Kamat <sachin.kamat@linaro.org>
Sachin Kamat May 31, 2014, 4:45 a.m. UTC | #2
+ Olof

On 26 May 2014 12:19, Sachin Kamat <sachin.kamat@linaro.org> wrote:
> Thanks Abhilash.
>
> On 26 May 2014 11:24, Abhilash Kesavan <a.kesavan@samsung.com> wrote:
>> This fixes the following build errors:
>>
>> /tmp/ccRbZlaA.s: Assembler messages:
>> /tmp/ccRbZlaA.s:69: Error: selected processor does not support ARM mode `isb '
>> /tmp/ccRbZlaA.s:75: Error: selected processor does not support ARM mode `isb '
>> /tmp/ccRbZlaA.s:76: Error: selected processor does not support ARM mode `dsb '
>> make[1]: *** [arch/arm/mach-exynos/hotplug.o] Error 1
>>
>> /tmp/ccJEg4jw.s: Assembler messages:
>> /tmp/ccJEg4jw.s:454: Error: selected processor does not support ARM mode `isb'
>> /tmp/ccJEg4jw.s:455: Error: selected processor does not support ARM mode `dsb'
>> /tmp/ccJEg4jw.s:465: Error: selected processor does not support ARM mode `isb'
>> /tmp/ccJEg4jw.s:474: Error: selected processor does not support ARM mode `isb'
>> /tmp/ccJEg4jw.s:475: Error: selected processor does not support ARM mode `dsb'
>> /tmp/ccJEg4jw.s:516: Error: selected processor does not support ARM mode `isb'
>> /tmp/ccJEg4jw.s:525: Error: selected processor does not support ARM mode `isb'
>> /tmp/ccJEg4jw.s:526: Error: selected processor does not support ARM mode `dsb'
>> make[1]: *** [arch/arm/mach-exynos/mcpm-exynos.o] Error 1
>>
>> Reported-by: Sachin Kamat <sachin.kamat@linaro.org>
>> Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
>
> This patch fixes the above reported issues.
>
> Tested-by: Sachin Kamat <sachin.kamat@linaro.org>

Kukjin,

This patch is also needed to fix the reported build error.
Olof Johansson May 31, 2014, 5:10 a.m. UTC | #3
On Sat, May 31, 2014 at 10:15:56AM +0530, Sachin Kamat wrote:
> + Olof
> 
> On 26 May 2014 12:19, Sachin Kamat <sachin.kamat@linaro.org> wrote:
> > Thanks Abhilash.
> >
> > On 26 May 2014 11:24, Abhilash Kesavan <a.kesavan@samsung.com> wrote:
> >> This fixes the following build errors:
> >>
> >> /tmp/ccRbZlaA.s: Assembler messages:
> >> /tmp/ccRbZlaA.s:69: Error: selected processor does not support ARM mode `isb '
> >> /tmp/ccRbZlaA.s:75: Error: selected processor does not support ARM mode `isb '
> >> /tmp/ccRbZlaA.s:76: Error: selected processor does not support ARM mode `dsb '
> >> make[1]: *** [arch/arm/mach-exynos/hotplug.o] Error 1
> >>
> >> /tmp/ccJEg4jw.s: Assembler messages:
> >> /tmp/ccJEg4jw.s:454: Error: selected processor does not support ARM mode `isb'
> >> /tmp/ccJEg4jw.s:455: Error: selected processor does not support ARM mode `dsb'
> >> /tmp/ccJEg4jw.s:465: Error: selected processor does not support ARM mode `isb'
> >> /tmp/ccJEg4jw.s:474: Error: selected processor does not support ARM mode `isb'
> >> /tmp/ccJEg4jw.s:475: Error: selected processor does not support ARM mode `dsb'
> >> /tmp/ccJEg4jw.s:516: Error: selected processor does not support ARM mode `isb'
> >> /tmp/ccJEg4jw.s:525: Error: selected processor does not support ARM mode `isb'
> >> /tmp/ccJEg4jw.s:526: Error: selected processor does not support ARM mode `dsb'
> >> make[1]: *** [arch/arm/mach-exynos/mcpm-exynos.o] Error 1
> >>
> >> Reported-by: Sachin Kamat <sachin.kamat@linaro.org>
> >> Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
> >
> > This patch fixes the above reported issues.
> >
> > Tested-by: Sachin Kamat <sachin.kamat@linaro.org>
> 
> Kukjin,
> 
> This patch is also needed to fix the reported build error.

Thanks. I've applied this directly on top of next/soc.


-Olof
diff mbox

Patch

diff --git a/arch/arm/mach-exynos/Makefile b/arch/arm/mach-exynos/Makefile
index 6f36086..788f26d 100644
--- a/arch/arm/mach-exynos/Makefile
+++ b/arch/arm/mach-exynos/Makefile
@@ -22,8 +22,10 @@  obj-$(CONFIG_PM_GENERIC_DOMAINS) += pm_domains.o
 obj-$(CONFIG_SMP)		+= platsmp.o headsmp.o
 
 obj-$(CONFIG_HOTPLUG_CPU)	+= hotplug.o
+CFLAGS_hotplug.o		+= -march=armv7-a
 
 plus_sec := $(call as-instr,.arch_extension sec,+sec)
 AFLAGS_exynos-smc.o		:=-Wa,-march=armv7-a$(plus_sec)
 
 obj-$(CONFIG_EXYNOS5420_MCPM)	+= mcpm-exynos.o
+CFLAGS_mcpm-exynos.o		+= -march=armv7-a