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

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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent d374bf14
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