Thread (14 messages) 14 messages, 5 authors, 2013-02-19
STALE4862d

[PATCH] ARM: let CPUs not being able to run in ARM mode enter in THUMB mode

From: nico@fluxnic.net (Nicolas Pitre)
Date: 2013-01-12 17:19:54

On Fri, 11 Jan 2013, Uwe Kleine-K?nig wrote:
Hi Jonny,

On Fri, Jan 11, 2013 at 03:34:39PM +0000, Jonathan Austin wrote:
quoted
Hi Uwe,
On 11/01/13 11:39, Uwe Kleine-K?nig wrote:
quoted
Some ARM cores are not capable to run in ARM mode (e.g. Cortex-M3). So
obviously these cannot enter the kernel in ARM mode. Make an exception
for them and let them enter in THUMB mode.
Clearly something like this is necessary, but it isn't something I'd
like for people to start using *unless* they have a THUMB only CPU
(for example, to work around dodgy boot-loaders, etc)

Seeing as there are no THUMB-only CPUs with an MMU, I think we could
safely constrain this change to:
a) depend on !MMU
b) only touch head-nommu.S

Does that cause any issue for what you're doing.
Would be ok for me, too. I don't care much.
Please do so then.  I had the same concern.


Nicolas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help