]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kselftest/arm64: Correct misleading comments on fp-stress irritators
authorMark Brown <broonie@kernel.org>
Thu, 7 Nov 2024 01:39:20 +0000 (01:39 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 7 Nov 2024 18:02:13 +0000 (18:02 +0000)
commit94de486e4215b83de8a5e908b4b8f7d3979c3b0e
treeb91a26cb43c87c8433afd7155ed14538a904dc6e
parent161e9925053cafa83a1eb265a001b6917dfafa29
kselftest/arm64: Correct misleading comments on fp-stress irritators

The comments in the handlers for the irritator signal in the test threads
for fp-stress suggest that the irritator will corrupt the register state
observed by the main thread but this is not the case, instead the FPSIMD
and SVE irritators (which are the only ones that are implemented) modify
the current register state which is expected to be overwritten on return
from the handler by the saved register state. Update the comment to reflect
what the handler is actually doing.

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-1-c4b9622e36ee@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
tools/testing/selftests/arm64/fp/fpsimd-test.S
tools/testing/selftests/arm64/fp/sve-test.S