summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/arm64/abi/hwcap.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2024-10-28 21:22:31 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2024-11-01 17:39:21 +0100
commit69c0d824779843b51ca2339b2163db4d3b40c54c (patch)
tree393f829e49a768f375b215c1b9ed3b0da235914b /tools/testing/selftests/arm64/abi/hwcap.c
parentkselftest/arm64: Use ksft_perror() to log MTE failures (diff)
downloadlinux-69c0d824779843b51ca2339b2163db4d3b40c54c.tar.xz
linux-69c0d824779843b51ca2339b2163db4d3b40c54c.zip
kselftest/arm64: Fix encoding for SVE B16B16 test
The test for SVE_B16B16 had a cut'n'paste of a SME instruction, fix it with a relevant SVE instruction. Fixes: 44d10c27bd75 ("kselftest/arm64: Add 2023 DPISA hwcap test coverage") Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20241028-arm64-b16b16-test-v1-1-59a4a7449bdf@kernel.org Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to '')
-rw-r--r--tools/testing/selftests/arm64/abi/hwcap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/arm64/abi/hwcap.c b/tools/testing/selftests/arm64/abi/hwcap.c
index 7e95ba5fd496..265654ec48b9 100644
--- a/tools/testing/selftests/arm64/abi/hwcap.c
+++ b/tools/testing/selftests/arm64/abi/hwcap.c
@@ -361,8 +361,8 @@ static void sveaes_sigill(void)
static void sveb16b16_sigill(void)
{
- /* BFADD ZA.H[W0, 0], {Z0.H-Z1.H} */
- asm volatile(".inst 0xC1E41C00" : : : );
+ /* BFADD Z0.H, Z0.H, Z0.H */
+ asm volatile(".inst 0x65000000" : : : );
}
static void svepmull_sigill(void)