diff options
author | Cristian Marussi <cristian.marussi@arm.com> | 2019-10-25 18:57:07 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2019-11-08 11:10:33 +0000 |
commit | f96bf43403165e4478942b0998931b14621ec207 (patch) | |
tree | 49c7215339ac6585aeb48ff534bf6962e6a6ccde /tools/testing/selftests/arm64/Makefile | |
parent | 313a4db7f3387608a3ab4531ac8c0509a3d7617f (diff) | |
download | linux-stable-f96bf43403165e4478942b0998931b14621ec207.tar.gz linux-stable-f96bf43403165e4478942b0998931b14621ec207.tar.bz2 linux-stable-f96bf43403165e4478942b0998931b14621ec207.zip |
kselftest: arm64: mangle_pstate_invalid_compat_toggle and common utils
Add some arm64/signal specific boilerplate and utility code to help
further testcases' development.
Introduce also one simple testcase mangle_pstate_invalid_compat_toggle
and some related helpers: it is a simple mangle testcase which messes
with the ucontext_t from within the signal handler, trying to toggle
PSTATE state bits to switch the system between 32bit/64bit execution
state. Expects SIGSEGV on test PASS.
Reviewed-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/testing/selftests/arm64/Makefile')
-rw-r--r-- | tools/testing/selftests/arm64/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/arm64/Makefile b/tools/testing/selftests/arm64/Makefile index cd27ca689224..93b567d23c8b 100644 --- a/tools/testing/selftests/arm64/Makefile +++ b/tools/testing/selftests/arm64/Makefile @@ -4,7 +4,7 @@ ARCH ?= $(shell uname -m 2>/dev/null || echo not) ifneq (,$(filter $(ARCH),aarch64 arm64)) -ARM64_SUBTARGETS ?= tags +ARM64_SUBTARGETS ?= tags signal else ARM64_SUBTARGETS := endif |