diff options
author | Mark Brown | 2022-04-19 12:22:42 +0100 |
---|---|---|
committer | Catalin Marinas | 2022-04-28 17:57:12 +0100 |
commit | 5aa45cc5355db3f5302e232a0fe29759ace4bc92 (patch) | |
tree | 62b499475fa817c91c35c9e3d46a3f38a6ab3789 /tools/testing/selftests/arm64/fp/vec-syscfg.c | |
parent | 1a792b545519b6e49f9b1653095ed785eea19afe (diff) |
kselftest/arm64: Add stress test for SME ZA context switching
Add a stress test for context switching of the ZA register state based on
the similar tests Dave Martin wrote for FPSIMD and SVE registers. The test
loops indefinitely writing a data pattern to ZA then reading it back and
verifying that it's what was expected.
Unlike the other tests we manually assemble the SME instructions since at
present no released toolchain has SME support integrated.
Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20220419112247.711548-35-broonie@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/testing/selftests/arm64/fp/vec-syscfg.c')
0 files changed, 0 insertions, 0 deletions