commit | df297bf6c7933e7b021cdc1bf3f9e319ea3a7e9c | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Sun Sep 20 13:18:47 2009 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Sun Sep 20 16:53:40 2009 +0100 |
tree | 9ef6353c4100c83176c4e7b5ef3933dc342f91df | |
parent | d374bf14a5ff18133bd6a6cc00f189949f7ba8fb [diff] |
ARM: Add support for checking access permissions on prefetch aborts ARMv6 introduces non-executable mappings, which can cause prefetch aborts when an attempt is made to execute from such a mapping. Currently, this causes us to loop in the page fault handler since we don't correctly check for proper permissions. Fix this by checking that VMAs have VM_EXEC set for prefetch aborts. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>