]> Gentwo Git Trees - linux/.git/commit
kselftest/arm64: Cover disabling streaming mode without SVE in fp-ptrace
authorMark Brown <broonie@kernel.org>
Wed, 15 Oct 2025 17:56:38 +0000 (18:56 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 17 Nov 2025 20:11:54 +0000 (20:11 +0000)
commita0245b42f881be6f0ddf678ce7a0d150362938c8
treee178e4606767a05784a8dd9b5d18c2eaa2c01d21
parenteb9df6d69a96717fa9320c8d2be8e0033695f353
kselftest/arm64: Cover disabling streaming mode without SVE in fp-ptrace

On a system which support SME but not SVE we can now disable streaming mode
via ptrace by writing FPSIMD formatted data through NT_ARM_SVE with a VL of
0. Extend fp-ptrace to cover rather than skip these cases, relax the check
for SVE writes of FPSIMD format data to not skip if SME is supported and
accept 0 as the VL when performing the ptrace write.

Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
tools/testing/selftests/arm64/fp/fp-ptrace.c