]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:22:31 +0000 (11:22 -0700)
commit377b26e45229ed74ecad3ff9a8677bf420d50328
tree17c99741028cb21f36519b56ade59bb4581a9b0c
parentc5944f7cd7c13d8be74d0a811a28e59510729c20
ARM: 6166/1: Proper prefetch abort handling on pre-ARMv6

commit 5e27fb78df95e027723af2c90ecc9b4527ae59e9 upstream.

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.

Signed-off-by: Anfei Zhou <anfei.zhou@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/arm/mm/fault.c