]> www.infradead.org Git - users/willy/xarray.git/commit
kselftest/arm64: Actually test SME vector length changes via sigreturn
authorMark Brown <broonie@kernel.org>
Thu, 29 Aug 2024 17:20:09 +0000 (18:20 +0100)
committerWill Deacon <will@kernel.org>
Fri, 30 Aug 2024 11:53:04 +0000 (12:53 +0100)
commit6f0315330af7a57c1c00587fdfb69c7778bf1c50
tree8420d2e4db249a922ed44fe1542daa8bc3f7eb61
parent5225b6562b9a7dc808d5a1e465aaf5e2ebb220cd
kselftest/arm64: Actually test SME vector length changes via sigreturn

The test case for SME vector length changes via sigreturn use a bit too
much cut'n'paste and only actually changed the SVE vector length in the
test itself. Andre's recent factoring out of the initialisation code caused
this to be exposed and the test to start failing. Fix the test to actually
cover the thing it's supposed to test.

Fixes: 4963aeb35a9e ("kselftest/arm64: signal: Add SME signal handling tests")
Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Tested-by: Andre Przywara <andre.przywara@arm.com>
Link: https://lore.kernel.org/r/20240829-arm64-sme-signal-vl-change-test-v1-1-42d7534cb818@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
tools/testing/selftests/arm64/signal/testcases/fake_sigreturn_sme_change_vl.c