ARM: 6166/1: Proper prefetch abort handling on pre-ARMv6
authorAnfei <anfei.zhou@gmail.com>
Tue, 8 Jun 2010 14:16:49 +0000 (15:16 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 8 Jun 2010 18:39:57 +0000 (19:39 +0100)
commit5e27fb78df95e027723af2c90ecc9b4527ae59e9
tree4f91874c2d4b2beef198e9116a500a76e5751cff
parent17ebba1fe4da4b5d62782be8743e0e8231812af9
ARM: 6166/1: Proper prefetch abort handling on pre-ARMv6

Instruction faults on pre-ARMv6 CPUs are interpreted as
a 'translation fault', but do_translation_fault doesn't
handle well if user mode trying to run instruction above
TASK_SIZE, and result in the infinite retry of that
instruction.

CC: <stable@kernel.org>
Signed-off-by: Anfei Zhou <anfei.zhou@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/fault.c