[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130219051006.GB3108@S2101-09.ap.freescale.net>
Date: Tue, 19 Feb 2013 13:10:09 +0800
From: Shawn Guo <shawn.guo@...aro.org>
To: Nicolas Pitre <nicolas.pitre@...aro.org>
CC: Russell King - ARM Linux <linux@....linux.org.uk>,
Arnd Bergmann <arnd@...db.de>,
<linux-arm-kernel@...ts.infradead.org>,
Stephen Warren <swarren@...dia.com>,
Pavel Machek <pavel@...x.de>,
Sascha Hauer <s.hauer@...gutronix.de>,
<linux-kernel@...r.kernel.org>, <arm@...nel.org>,
Simon Horman <horms+renesas@...ge.net.au>,
Dinh Nguyen <dinguyen@...era.com>
Subject: Re: [PATCH 8/9] [HACK] ARM: imx: work around v7_cpu_resume link error
On Mon, Feb 18, 2013 at 11:11:30PM -0500, Nicolas Pitre wrote:
> On Tue, 19 Feb 2013, Shawn Guo wrote:
>
> > On Mon, Feb 18, 2013 at 12:06:32PM -0500, Nicolas Pitre wrote:
> > > Try the following instead. It makes the code simpler and easier to
> > > debug.
> > >
> > It works now. Thanks, Nico. Care to send a patch for it? I'd like
> > to apply it.
>
> ----- >8
>
> FRom: Nicolas Pitre <nicolas.pitre@...aro.org>
> Date: Mon, 18 Feb 2013 12:06:32 -0500 (EST)
> Subject: ARM: mach-imx: move early resume code out of the .data section
>
> Building the kernel with allyesconfig fails because the i.mx early
> resume code located in the .data section is unable to fixup the bl
> relocation as the branch target gets too far away.
>
> The idea of having code in the .data section allows for easy access to
> nearby data using relative addressing while the MMU is off. However it
> is probably best to move the code back to the .text section where it
> belongs and fixup the data access instead. This solves the bl reloc
> issue (at least until this becomes a general problem) and simplifies
> the code as well.
>
> Signed-off-by: Nicolas Pitre <nico@...aro.org>
Applied as a fix for 3.9-rc, thanks.
Shawn
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists