summaryrefslogtreecommitdiff
path: root/arch/arm64/kernel/signal.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2023-06-22 14:39:46 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2023-06-23 18:32:10 +0100
commitf7a5d72edc522b9210521d9b3969eac221eb6ecb (patch)
tree22838016dfd53d0a1cb83e42a8aa7dc6a039bf87 /arch/arm64/kernel/signal.c
parent616cb2f4b141852cac3dfffe8354c8bf19e9999d (diff)
kselftest/arm64: Add a test case for TPIDR2 restore
Due to the fact that TPIDR2 is intended to be managed by libc we don't currently test modifying it via the signal context since that might disrupt libc's usage of it and cause instability. We can however test the opposite case with less risk, modifying TPIDR2 in a signal handler and making sure that the original value is restored after returning from the signal handler. Add a test which does this. Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20230621-arm64-fix-tpidr2-signal-restore-v2-2-c8e8fcc10302@kernel.org Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kernel/signal.c')
0 files changed, 0 insertions, 0 deletions