]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kselftest/arm64: Implement irritators for ZA and ZT
authorMark Brown <broonie@kernel.org>
Thu, 7 Nov 2024 01:39:23 +0000 (01:39 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 7 Nov 2024 18:02:13 +0000 (18:02 +0000)
commitd65f27d240bb897ac5a4a3fb7557724b3717e022
tree74bf208108e920d49f158bf4e47225eff6a69813
parentffca567fef9c4661c792ca48a2cdd038b2df4887
kselftest/arm64: Implement irritators for ZA and ZT

Currently we don't use the irritator signal in our floating point stress
tests so when we added ZA and ZT stress tests we didn't actually bother
implementing any actual action in the handlers, we just counted the signal
deliveries. In preparation for using the irritators let's implement them,
just trivially SMSTOP and SMSTART to reset all bits in the register to 0.

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