Building of arch/arm/plat-mxc/ssi-fiq.S failed w/ THUMB2 enabled?
Russell King - ARM Linux
linux at arm.linux.org.uk
Fri Jan 20 06:52:17 EST 2012
On Fri, Dec 02, 2011 at 11:24:18AM +0100, Uwe Kleine-König wrote:
> On Fri, Dec 02, 2011 at 06:01:08PM +0800, Eric Miao wrote:
> > Hi Dave & Sascha,
> >
> > I checked the log of this file, found a THUMB2 related changes, yet
> > I'm still having the failure below, can you help do a quick check?
> the problem is that in Thumb most commands don't work with r8-r15
> because there are only three bits used to encode them. This is
> unfortunate as the other registers are not banked for FIQ.
>
> The best possibility I see is to save some unbanked registers to the
> banked registers on entry and restore them on exception exit.
Or always build this as ARM code.
More information about the linux-arm-kernel
mailing list