kselftest/arm64: Parameterise ptrace vector length information
authorMark Brown <broonie@kernel.org>
Fri, 10 Dec 2021 18:41:00 +0000 (18:41 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 14 Dec 2021 18:35:10 +0000 (18:35 +0000)
commit18edbb6b3259332b577c2b92b6b4d8dfd86ff00e
tree645187c830c5e324312c772eb3bd320411445935
parentd58071a8a76d779eedab38033ae4c821c30295a5
kselftest/arm64: Parameterise ptrace vector length information

SME introduces a new mode called streaming mode in which the SVE registers
have a different vector length. Since the ptrace interface for this is
based on the existing SVE interface prepare for supporting this by moving
the regset specific configuration into  struct and passing that around,
allowing these tests to be reused for streaming mode. As we will also have
to verify the interoperation of the SVE and streaming SVE regsets don't
just iterate over an array.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20211210184133.320748-5-broonie@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
tools/testing/selftests/arm64/fp/sve-ptrace.c