summaryrefslogtreecommitdiffstats
path: root/tools/objtool
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2019-12-10 14:23:49 -0800
committerMax Filippov <jcmvbkbc@gmail.com>2022-05-01 19:51:21 -0700
commita8f0c31fa87dcf9154c4209960f1dd1ed6a1aad8 (patch)
treed32478a51694a14cbd5c80e6768ea0869647aa88 /tools/objtool
parent270a8306917e40746a02494abbd40828356b08e1 (diff)
downloadlinux-a8f0c31fa87dcf9154c4209960f1dd1ed6a1aad8.tar.gz
linux-a8f0c31fa87dcf9154c4209960f1dd1ed6a1aad8.tar.bz2
linux-a8f0c31fa87dcf9154c4209960f1dd1ed6a1aad8.zip
xtensa: noMMU: allow handling protection faults
Many xtensa CPU cores without full MMU still have memory protection features capable of raising exceptions for invalid instruction fetches/data access. Allow handling such exceptions. This improves behavior of processes that pass invalid memory pointers to syscalls in noMMU configs: in case of exception the kernel instead of killing the process is now able to return -EINVAL from a syscall. Introduce CONFIG_PFAULT that controls whether protection fault code is enabled and register handlers for common memory protection exceptions when it is enabled. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'tools/objtool')
0 files changed, 0 insertions, 0 deletions