]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc0cf770cfdacc4dde4d5e16361b8a9bb9f99f34f
tree645187c830c5e324312c772eb3bd320411445935
parentff04131966d1a79c1b3cf26997a8e7d1433f1b7d
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