]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kselftest/arm64: Provide a SIGUSR1 handler in the kernel mode FP stress test
authorMark Brown <broonie@kernel.org>
Thu, 7 Nov 2024 01:39:24 +0000 (01:39 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 7 Nov 2024 18:02:14 +0000 (18:02 +0000)
commit7368debf275aa2419365ce47da00922ca51c6094
tree2a8d08f08a09a74421419cf555847bf1bc050d26
parentd65f27d240bb897ac5a4a3fb7557724b3717e022
kselftest/arm64: Provide a SIGUSR1 handler in the kernel mode FP stress test

The other stress test programs provide a SIGUSR1 handler which modifies the
live register state in order to validate that signal context is being
restored during signal return. While we can't usefully do this when testing
kernel mode FP usage provide a handler for SIGUSR1 which just counts the
number of signals like we do for SIGUSR2, allowing fp-stress to treat all
the test programs uniformly.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20241107-arm64-fp-stress-irritator-v2-5-c4b9622e36ee@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
tools/testing/selftests/arm64/fp/kernel-test.c