selftests: arm64: Fix and enable test for setting current VL in vec-syscfg
authorMark Brown <broonie@kernel.org>
Wed, 29 Sep 2021 15:19:24 +0000 (16:19 +0100)
committerWill Deacon <will@kernel.org>
Wed, 29 Sep 2021 15:33:04 +0000 (16:33 +0100)
commite42391150eabcfb2cc42f58c8b0394ebc3039c34
treea190c345a55201e7863ed0f19d392734998f49d4
parent4caf339c037c5e70d0ea789af093e123c2c6fc80
selftests: arm64: Fix and enable test for setting current VL in vec-syscfg

We had some test code for verifying that we can write the current VL via
the prctl() interface but the condition for the test was inverted which
wasn't noticed as it was never actually hooked up to the array of tests
we execute. Fix this.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210929151925.9601-4-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
tools/testing/selftests/arm64/fp/vec-syscfg.c