]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
selftests/bpf: Enable test for instruction array on arm64
authorAbhishek Dubey <adubey@linux.ibm.com>
Mon, 23 Feb 2026 20:35:11 +0000 (15:35 -0500)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 24 Feb 2026 02:05:07 +0000 (18:05 -0800)
As arm64 JIT now supports instruction array, make sure
all relevant tests run on this architecture.

Summary: 1/9 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Abhishek Dubey <adubey@linux.ibm.com>
Acked-by: Anton Protopopov <a.s.protopopov@gmail.com>
Link: https://lore.kernel.org/r/20260223203511.118475-1-adubey@linux.ibm.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c

index 269870bec94117ef951e3fe2a734e148103c96de..93166c2da8e7b7698df4e4186896d608dbfacf34 100644 (file)
@@ -3,7 +3,7 @@
 #include <bpf/bpf.h>
 #include <test_progs.h>
 
-#ifdef __x86_64__
+#if defined(__x86_64__) || defined(__aarch64__)
 static int map_create(__u32 map_type, __u32 max_entries)
 {
        const char *map_name = "insn_array";