Skip to content
Commit baa745a3 authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[ARM] Fix alignment fault handling for ARMv6 and later CPUs



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: default avatarWolfgang Grandegger <wg@grandegger.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 794baba6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment