linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: Nicolas Pitre <nico@fluxnic.net>, Anil Kumar <anilk4.v@gmail.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	linux-arm <linux-arm-kernel@lists.infradead.org>,
	Tony Lindgren <tony@atomide.com>,
	"devicetree-discuss@lists.ozlabs.org"
	<devicetree-discuss@lists.ozlabs.org>,
	Benoit Cousson <b-cousson@ti.com>
Subject: Re: Build error in torvalds kernel 3.11 for omap2plus
Date: Mon, 09 Sep 2013 05:00:42 -0700	[thread overview]
Message-ID: <522DB86A.8010207@roeck-us.net> (raw)
In-Reply-To: <20130909105115.GL25647@n2100.arm.linux.org.uk>

On 09/09/2013 03:51 AM, Russell King - ARM Linux wrote:
> On Sun, Sep 08, 2013 at 10:16:14AM -0700, Guenter Roeck wrote:
>> Since we are at it:
>>
>> Build reference: v3.11-7887-gb409624
>>
>> Building arm:defconfig ... passed
>> Building arm:allmodconfig ... failed
>> --------------
>> Error log:
>> arch/arm/mach-cns3xxx/pcie.c: In function 'cns3xxx_pcie_hw_init':
>> arch/arm/mach-cns3xxx/pcie.c:350:1: warning: the frame size of 1064 bytes is larger than 1024 bytes [-Wframe-larger-than=]
>> arch/arm/kernel/return_address.c:63:2: warning: #warning "TODO: return_address should use unwind tables" [-Wcpp]
>> arch/arm/kernel/return_address.c:63:2: warning: #warning "TODO: return_address should use unwind tables" [-Wcpp]
>> /tmp/cce439dZ.s: Assembler messages:
>> /tmp/cce439dZ.s:506: Error: selected processor does not support ARM mode `isb '
>> /tmp/cce439dZ.s:512: Error: selected processor does not support ARM mode `isb '
>> /tmp/cce439dZ.s:513: Error: selected processor does not support ARM mode `dsb '
>> /tmp/cce439dZ.s:583: Error: selected processor does not support ARM mode `isb '
>> /tmp/cce439dZ.s:589: Error: selected processor does not support ARM mode `isb '
>> /tmp/cce439dZ.s:590: Error: selected processor does not support ARM mode `dsb '
>> make[1]: *** [arch/arm/mach-vexpress/dcscb.o] Error 1
>> make: *** [arch/arm/mach-vexpress] Error 2
>> make: *** Waiting for unfinished jobs....
>> --------------
>>
>> Any solution for this one ? omap2plus passes for me.
>>
>> gcc version used is "arm-poky-linux-gnueabi-gcc (GCC) 4.7.2" from poky 1.3.
>
> That's due to:
>
> commit e8f9bb1bd6bb93fff773345cc54c42585e0e3ece
> Author: Nicolas Pitre <nicolas.pitre@linaro.org>
> Date:   Tue Jul 16 20:59:53 2013 -0400
>
>      ARM: vexpress/dcscb: fix cache disabling sequences
>
>      Unlike real A15/A7's, the RTSM simulation doesn't appear to hit the
>      cache when the CTRL.C bit is cleared.  Let's ensure there is no memory
>      access within the disable and flush cache sequence, including to the
>      stack.
>
>      Signed-off-by: Nicolas Pitre <nico@linaro.org>
>
> which introduces some 'isb' and 'dsb' instructions which are not
> available on ARMv6 CPUs - however, their 'mcr' equivalents are.
>
> Either dcscb needs to be built with an -march=armv7 override, or
> they need to use the mcr equivalent instructions.
>

Well, I hope it will get fixed one way or another.
I don't know enough about arm to fix it myself.

Guenter


  reply	other threads:[~2013-09-09 12:00 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-08  6:04 Build error in torvalds kernel 3.11 for omap2plus Anil Kumar
2013-09-08  9:02 ` Russell King - ARM Linux
2013-09-08 17:16   ` Guenter Roeck
2013-09-09 10:51     ` Russell King - ARM Linux
2013-09-09 12:00       ` Guenter Roeck [this message]
2013-09-09 14:24         ` Nicolas Pitre
2013-09-09 16:03           ` Guenter Roeck
2013-09-09 20:31             ` Russell King - ARM Linux
2013-09-09 21:02               ` Guenter Roeck
2013-09-09 21:16                 ` Nicolas Pitre
2013-09-10 15:07                   ` Kevin Hilman
2013-09-10 15:09                     ` Frederic Weisbecker
2013-09-13 17:03                     ` [PATCH] arm: Fix build error with context tracking calls Frederic Weisbecker
2013-09-13 22:50                       ` Kevin Hilman
2013-09-14 14:19                         ` Frederic Weisbecker
2013-09-16 17:11                           ` Kevin Hilman
2013-09-14 14:32                       ` Russell King - ARM Linux
2013-09-22 16:59                         ` Frederic Weisbecker
2013-09-25 17:38                           ` Kevin Hilman
2013-09-27 13:30                             ` Frederic Weisbecker
2013-09-09 10:55     ` Build error in torvalds kernel 3.11 for omap2plus Anil Kumar
2013-09-09 11:30       ` Guenter Roeck

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=522DB86A.8010207@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=anilk4.v@gmail.com \
    --cc=b-cousson@ti.com \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=nico@fluxnic.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).