All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephan Raue <mailinglists@openelec.tv>
To: Tony Lindgren <tony@atomide.com>
Cc: Kevin Hilman <khilman@ti.com>,
	linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [GIT PULL] OMAP PM updates for 2.6.39
Date: Mon, 14 Mar 2011 20:51:28 +0100	[thread overview]
Message-ID: <4D7E71C0.4010808@openelec.tv> (raw)
In-Reply-To: <20110314193848.GI7258@atomide.com>

[-- Attachment #1: Type: text/plain, Size: 2692 bytes --]

Am 14.03.2011 20:38, schrieb Tony Lindgren:
> * Stephan Raue<mailinglists@openelec.tv>  [110314 12:32]:
>> Hi,
>>
>> Am 11.03.2011 01:59, schrieb Kevin Hilman:
>>> Dave Martin (5):
>>>        ARM: omap4: Provide do_wfi() for Thumb-2
>>>        ARM: omap4: Convert END() to ENDPROC() for correct linkage with CONFIG_THUMB2_KERNEL
>>>        ARM: omap3: Remove hand-encoded SMC instructions
>> "ARM: omap3: Remove hand-encoded SMC instructions" fails for me with:
>>
>> /home/stephan/projects/openelec/build.OpenELEC-panda.arm-devel/toolchain/bin/arm-openelec-linux-gnueabi-gcc -Wp,-MD,arch/arm/mach-omap2/.sleep34xx.o.d  -nostdinc -isystem /home/stephan/projects/openelec/build.OpenELEC-panda.arm-devel/toolchain/lib/gcc/arm-openelec-linux-gnueabi/4.5.2/include -I/home/stephan/projects/openelec/build.OpenELEC-panda.arm-devel/linux-2.6.38-rc8/arch/arm/include -Iinclude  -include include/generated/autoconf.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-omap2/include -Iarch/arm/plat-omap/include -D__ASSEMBLY__ -mabi=aapcs-linux -mno-thumb-interwork -funwind-tables -mthumb -Wa,-mimplicit-it=always -Wa,-mno-warn-deprecated -Wa,-mthumb -D__LINUX_ARM_ARCH__=7 -march=armv7-a  -include asm/unified.h -msoft-float -gdwarf-2     -Wa,-march=armv7-a   -c -o arch/arm/mac
 h-omap2/sleep34xx.o arch/arm/mach-omap2/sleep34xx.S
>> arch/arm/mach-omap2/sleep34xx.S: Assembler messages:
>> arch/arm/mach-omap2/sleep34xx.S:149: Error: selected processor does not support ARM mode `smc #1'
>> arch/arm/mach-omap2/sleep34xx.S:416: Error: selected processor does not support ARM mode `smc #1'
>> arch/arm/mach-omap2/sleep34xx.S:427: Error: selected processor does not support ARM mode `smc #1'
>> arch/arm/mach-omap2/sleep34xx.S:452: Error: selected processor does not support ARM mode `smc #0'
>> arch/arm/mach-omap2/sleep34xx.S:458: Error: selected processor does not support ARM mode `smc #0'
>> arch/arm/mach-omap2/sleep34xx.S:463: Error: selected processor does not support ARM mode `smc #0'
>> make[2]: *** [arch/arm/mach-omap2/sleep34xx.o] Error 1
>> make[1]: *** [arch/arm/mach-omap2] Error 2
>>
>>
>> replacing in arch/arm/mach-omap2/Makefile:
>>
>> AFLAGS_sleep24xx.o                      :=-Wa,-march=armv6
>> AFLAGS_sleep34xx.o                      :=-Wa,-march=armv7-a
>>
>> to:
>>
>> AFLAGS_sleep24xx.o                      :=-Wa,-march=armv6
>> AFLAGS_sleep34xx.o                      :=-Wa,-march=armv7-a$(plus_sec)
>>
>> helps compiling (see also: https://patchwork.kernel.org/patch/369681/)
> Care to post a patch for this and mention your compiler version too?
>
> Tony
patch attached.

i am using http://gitorious.org/linux-omap-dss2/linux with gcc-4.5.2, 
binutils-2.21

thanks

Stephan

[-- Attachment #2: linux-2.6.38-rc8-321-linux_omap_dss2_fix_SMC_instructions.patch --]
[-- Type: text/x-patch, Size: 572 bytes --]

diff -Naur linux-2.6.38-rc8/arch/arm/mach-omap2/Makefile linux-2.6.38-rc8.patch/arch/arm/mach-omap2/Makefile
--- linux-2.6.38-rc8/arch/arm/mach-omap2/Makefile	2011-03-14 20:38:21.039926899 +0100
+++ linux-2.6.38-rc8.patch/arch/arm/mach-omap2/Makefile	2011-03-14 20:39:01.679108209 +0100
@@ -68,7 +68,7 @@
 obj-$(CONFIG_OMAP_SMARTREFLEX_CLASS3)	+= smartreflex-class3.o
 
 AFLAGS_sleep24xx.o			:=-Wa,-march=armv6
-AFLAGS_sleep34xx.o			:=-Wa,-march=armv7-a
+AFLAGS_sleep34xx.o			:=-Wa,-march=armv7-a$(plus_sec)
 
 ifeq ($(CONFIG_PM_VERBOSE),y)
 CFLAGS_pm_bus.o				+= -DDEBUG

WARNING: multiple messages have this Message-ID (diff)
From: mailinglists@openelec.tv (Stephan Raue)
To: linux-arm-kernel@lists.infradead.org
Subject: [GIT PULL] OMAP PM updates for 2.6.39
Date: Mon, 14 Mar 2011 20:51:28 +0100	[thread overview]
Message-ID: <4D7E71C0.4010808@openelec.tv> (raw)
In-Reply-To: <20110314193848.GI7258@atomide.com>

Am 14.03.2011 20:38, schrieb Tony Lindgren:
> * Stephan Raue<mailinglists@openelec.tv>  [110314 12:32]:
>> Hi,
>>
>> Am 11.03.2011 01:59, schrieb Kevin Hilman:
>>> Dave Martin (5):
>>>        ARM: omap4: Provide do_wfi() for Thumb-2
>>>        ARM: omap4: Convert END() to ENDPROC() for correct linkage with CONFIG_THUMB2_KERNEL
>>>        ARM: omap3: Remove hand-encoded SMC instructions
>> "ARM: omap3: Remove hand-encoded SMC instructions" fails for me with:
>>
>> /home/stephan/projects/openelec/build.OpenELEC-panda.arm-devel/toolchain/bin/arm-openelec-linux-gnueabi-gcc -Wp,-MD,arch/arm/mach-omap2/.sleep34xx.o.d  -nostdinc -isystem /home/stephan/projects/openelec/build.OpenELEC-panda.arm-devel/toolchain/lib/gcc/arm-openelec-linux-gnueabi/4.5.2/include -I/home/stephan/projects/openelec/build.OpenELEC-panda.arm-devel/linux-2.6.38-rc8/arch/arm/include -Iinclude  -include include/generated/autoconf.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-omap2/include -Iarch/arm/plat-omap/include -D__ASSEMBLY__ -mabi=aapcs-linux -mno-thumb-interwork -funwind-tables -mthumb -Wa,-mimplicit-it=always -Wa,-mno-warn-deprecated -Wa,-mthumb -D__LINUX_ARM_ARCH__=7 -march=armv7-a  -include asm/unified.h -msoft-float -gdwarf-2     -Wa,-march=armv7-a   -c -o arch/arm/mach-omap2/sleep34xx.o arch/arm/mach-omap2/sleep34xx.S
>> arch/arm/mach-omap2/sleep34xx.S: Assembler messages:
>> arch/arm/mach-omap2/sleep34xx.S:149: Error: selected processor does not support ARM mode `smc #1'
>> arch/arm/mach-omap2/sleep34xx.S:416: Error: selected processor does not support ARM mode `smc #1'
>> arch/arm/mach-omap2/sleep34xx.S:427: Error: selected processor does not support ARM mode `smc #1'
>> arch/arm/mach-omap2/sleep34xx.S:452: Error: selected processor does not support ARM mode `smc #0'
>> arch/arm/mach-omap2/sleep34xx.S:458: Error: selected processor does not support ARM mode `smc #0'
>> arch/arm/mach-omap2/sleep34xx.S:463: Error: selected processor does not support ARM mode `smc #0'
>> make[2]: *** [arch/arm/mach-omap2/sleep34xx.o] Error 1
>> make[1]: *** [arch/arm/mach-omap2] Error 2
>>
>>
>> replacing in arch/arm/mach-omap2/Makefile:
>>
>> AFLAGS_sleep24xx.o                      :=-Wa,-march=armv6
>> AFLAGS_sleep34xx.o                      :=-Wa,-march=armv7-a
>>
>> to:
>>
>> AFLAGS_sleep24xx.o                      :=-Wa,-march=armv6
>> AFLAGS_sleep34xx.o                      :=-Wa,-march=armv7-a$(plus_sec)
>>
>> helps compiling (see also: https://patchwork.kernel.org/patch/369681/)
> Care to post a patch for this and mention your compiler version too?
>
> Tony
patch attached.

i am using http://gitorious.org/linux-omap-dss2/linux with gcc-4.5.2, 
binutils-2.21

thanks

Stephan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linux-2.6.38-rc8-321-linux_omap_dss2_fix_SMC_instructions.patch
Type: text/x-patch
Size: 572 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110314/66bfc97f/attachment.bin>

  reply	other threads:[~2011-03-14 19:51 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-11  0:59 [GIT PULL] OMAP PM updates for 2.6.39 Kevin Hilman
2011-03-11  0:59 ` Kevin Hilman
2011-03-11 15:33 ` Jean Pihet
2011-03-11 15:33   ` Jean Pihet
2011-03-11 16:32   ` Kevin Hilman
2011-03-11 16:32     ` Kevin Hilman
2011-03-11 16:35     ` Jean Pihet
2011-03-11 16:35       ` Jean Pihet
2011-03-14 19:34 ` Stephan Raue
2011-03-14 19:34   ` Stephan Raue
2011-03-14 19:38   ` Tony Lindgren
2011-03-14 19:38     ` Tony Lindgren
2011-03-14 19:51     ` Stephan Raue [this message]
2011-03-14 19:51       ` Stephan Raue
2011-03-15  6:22       ` Santosh Shilimkar
2011-03-15  6:22         ` Santosh Shilimkar
2011-03-19  0:34       ` Tony Lindgren
2011-03-19  0:34         ` Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D7E71C0.4010808@openelec.tv \
    --to=mailinglists@openelec.tv \
    --cc=khilman@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.