[PATCH v1 3/3] kselftest/arm64: Validate setting via FPSIMD and read via SVE regsets

Shuah Khan skhan at linuxfoundation.org
Wed Mar 9 13:37:10 PST 2022


On 3/9/22 4:59 AM, Mark Brown wrote:
> Currently we validate that we can set the floating point state via the SVE
> regset and read the data via the FPSIMD regset but we do not valiate that
> the opposite case works as expected. Add a test that covers this case,
> noting that when reading via SVE regset the kernel has the option of
> returning either SVE or FPSIMD data so we need to accept both formats.
> 
> Signed-off-by: Mark Brown <broonie at kernel.org>
> ---
>   tools/testing/selftests/arm64/fp/sve-ptrace.c | 123 +++++++++++++++++-
>   1 file changed, 122 insertions(+), 1 deletion(-)
> 

Looks good to me.

Reviewed-by: Shuah Khan <skhan at linuxfoundation.org>

thanks,
-- Shuah



More information about the linux-arm-kernel mailing list