Skip to content
Commit 8694e5e6 authored by Mark Brown's avatar Mark Brown Committed by Will Deacon
Browse files

selftests: arm64: Verify that all possible vector lengths are handled



As part of the enumeration interface for setting vector lengths it is valid
to set vector lengths not supported in the system, these will be rounded to
a supported vector length and returned from the prctl(). Add a test which
exercises this for every valid vector length and makes sure that the return
value is as expected and that this is reflected in the actual system state.

Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Reviewed-by: default avatarTomohiro Misono <misono.tomohiro@jp.fujitsu.com>
Link: https://lore.kernel.org/r/20210929151925.9601-5-broonie@kernel.org


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent e4239115
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment