Building of arch/arm/plat-mxc/ssi-fiq.S failed w/ THUMB2 enabled?

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Fri Dec 2 05:24:18 EST 2011


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.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list