mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 13:22:23 +00:00
1edb632133
When entering the hyp stub implemented in the idmap, we try to
be mindful of the fact that we could be running a Thumb-2 kernel
by adding 1 to the address we compute. Unfortunately, the assembler
also knows about this trick, and has already generated an address
that has bit 0 set in the litteral pool.
Our superfluous correction ends up confusing the CPU entierely,
as we now branch to the stub in ARM mode instead of Thumb, and on
a possibly unaligned address for good measure. From that point,
nothing really good happens.
The obvious fix in to remove this stupid target PC correction.
Fixes:
|
||
---|---|---|
.. | ||
banked-sr.c | ||
cp15-sr.c | ||
entry.S | ||
hyp-entry.S | ||
Makefile | ||
s2-setup.c | ||
switch.c | ||
tlb.c | ||
vfp.S |