]> 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)
commita7af8cea5d722840c71de9fb5334b6881b4ec38f
tree645187c830c5e324312c772eb3bd320411445935
parentb1a885c0f40e89a4fd0f041736592b4ab46bfe8a
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