kselftest/arm64: Validate vector lengths are set in sve-probe-vls
authorMark Brown <broonie@kernel.org>
Tue, 3 Aug 2021 14:04:48 +0000 (15:04 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 3 Aug 2021 15:20:05 +0000 (16:20 +0100)
commitb43ab36a6d86f6c693f5919ee2cf25c543446213
treed911ba38762a098d0bfecf436ae90305a4745668
parent7710861017ac25b9b459f3a7f8f1a3332db9ccbe
kselftest/arm64: Validate vector lengths are set in sve-probe-vls

Currently sve-probe-vls does not verify that the vector lengths reported
by the prctl() interface are actually what is reported by the architecture,
use the rdvl_sve() helper to validate this.

Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Dave Martin <Dave.Martin@arm.com>
Link: https://lore.kernel.org/r/20210803140450.46624-3-broonie@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
tools/testing/selftests/arm64/fp/Makefile
tools/testing/selftests/arm64/fp/sve-probe-vls.c