ARM: Add support for checking access permissions on prefetch aborts
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 20 Sep 2009 12:18:47 +0000 (13:18 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 20 Sep 2009 15:53:40 +0000 (16:53 +0100)
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>

No differences found