]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] Fix alignment fault handling for ARMv6 and later CPUs
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sun, 7 Dec 2008 09:44:55 +0000 (09:44 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 7 Dec 2008 09:44:55 +0000 (09:44 +0000)
On ARMv6 and later CPUs, it is possible for userspace processes to
get stuck on a misaligned load or store due to the "ignore fault"
setting; unlike previous CPUs, retrying the instruction without
the 'A' bit set does not always cause the load to succeed.

We have no real option but to default to fixing up alignment faults
on these CPUs, and having the CPU fix up those misaligned accesses
which it can.

Reported-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found