]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kselftest/arm64: Expand the set of ZA writes fp-ptrace does
authorMark Brown <broonie@kernel.org>
Tue, 12 Nov 2024 13:08:15 +0000 (13:08 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 12 Nov 2024 13:20:03 +0000 (13:20 +0000)
commit7e9c5b00009a625cc304c865192978c01c0cc077
treee67bc870950541e1b401f9e3998ed5a0d77db3e4
parentc0350076c13eac4f1d7f7ab6acd43bb252baef7a
kselftest/arm64: Expand the set of ZA writes fp-ptrace does

Currently our test for implementable ZA writes is written in a bit of a
convoluted fashion which excludes all changes where we clear SVCR.SM even
though we can actually support that since changing the vector length resets
SVCR. Make the logic more direct, enabling us to actually run these cases.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20241112-arm64-fp-ptrace-fpmr-v2-2-250b57c61254@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
tools/testing/selftests/arm64/fp/fp-ptrace.c