summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/arm64/fp/TODO
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2021-09-13 13:55:04 +0100
committerWill Deacon <will@kernel.org>2021-09-29 14:40:32 +0100
commita1d7111257cdfba87a18a630fd96a44ba69c3d9c (patch)
tree40946851884e87d8b1e1bc0e17dd11f9357983fb /tools/testing/selftests/arm64/fp/TODO
parent9f7d03a2c5a1e57bb4ec5fddecff4c000f34a786 (diff)
downloadlinux-a1d7111257cdfba87a18a630fd96a44ba69c3d9c.tar.gz
linux-a1d7111257cdfba87a18a630fd96a44ba69c3d9c.tar.bz2
linux-a1d7111257cdfba87a18a630fd96a44ba69c3d9c.zip
selftests: arm64: More comprehensively test the SVE ptrace interface
Currently the selftest for the SVE register set is not quite as thorough as is desirable - it only validates that the value of a single Z register is not modified by a partial write to a lower numbered Z register after having previously been set through the FPSIMD regset. Make this more thorough: - Test the ability to set vector lengths and enumerate those supported in the system. - Validate data in all Z and P registers, plus FPSR and FPCR. - Test reads via the FPSIMD regset after set via the SVE regset. There's still some oversights, the main one being that due to the need to generate a pattern in FFR and the fact that this rewrite is primarily motivated by SME's streaming SVE which doesn't have FFR we don't currently test FFR. Update the TODO to reflect those that occurred to me (and fix an adjacent typo in there). Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20210913125505.52619-8-broonie@kernel.org Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/testing/selftests/arm64/fp/TODO')
-rw-r--r--tools/testing/selftests/arm64/fp/TODO9
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/testing/selftests/arm64/fp/TODO b/tools/testing/selftests/arm64/fp/TODO
index b6b7ebfcf362..44004e53da33 100644
--- a/tools/testing/selftests/arm64/fp/TODO
+++ b/tools/testing/selftests/arm64/fp/TODO
@@ -1,4 +1,7 @@
- Test unsupported values in the ABIs.
-- More coverage for ptrace (eg, vector length conversions).
-- Coverage for signals.
-- Test PR_SVE_VL_INHERITY after a double fork.
+- More coverage for ptrace:
+ - Get/set of FFR.
+ - Ensure ptraced processes actually see the register state visible through
+ the ptrace interface.
+ - Big endian.
+- Test PR_SVE_VL_INHERIT after a double fork.