* Re: [PATCH] selftest/bpf: enable test for instruction array on arm64
2026-02-23 20:35 [PATCH] selftest/bpf: enable test for instruction array on arm64 adubey
@ 2026-02-23 16:17 ` Anton Protopopov
2026-02-24 2:10 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Anton Protopopov @ 2026-02-23 16:17 UTC (permalink / raw)
To: adubey
Cc: bpf, puranjay, ast, andrii, daniel, martin.lau, eddyz87, memxor,
mykyta.yatsenko5
On 26/02/23 03:35PM, adubey@linux.ibm.com wrote:
> From: Abhishek Dubey <adubey@linux.ibm.com>
>
> As arm64 JIT now supports instruction array, make sure
> all relevant tests run on this architecture.
>
> #21/1 bpf_insn_array/one2one:OK
> #21/2 bpf_insn_array/simple:OK
> #21/3 bpf_insn_array/deletions:OK
> #21/4 bpf_insn_array/deletions-with-functions:OK
> #21/5 bpf_insn_array/blindness:OK
> #21/6 bpf_insn_array/incorrect-index:OK
> #21/7 bpf_insn_array/load-unfrozen-map:OK
> #21/8 bpf_insn_array/no-map-reuse:OK
> #21/9 bpf_insn_array/bpf-side-ops:OK
> #21 bpf_insn_array:OK
> Summary: 1/9 PASSED, 0 SKIPPED, 0 FAILED
>
> Signed-off-by: Abhishek Dubey <adubey@linux.ibm.com>
> ---
> tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c b/tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c
> index 269870bec941..93166c2da8e7 100644
> --- a/tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c
> +++ b/tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c
> @@ -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";
> --
> 2.52.0
>
Acked-by: Anton Protopopov <a.s.protopopov@gmail.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] selftest/bpf: enable test for instruction array on arm64
@ 2026-02-23 20:35 adubey
2026-02-23 16:17 ` Anton Protopopov
2026-02-24 2:10 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: adubey @ 2026-02-23 20:35 UTC (permalink / raw)
To: bpf
Cc: puranjay, ast, andrii, daniel, martin.lau, eddyz87, memxor,
mykyta.yatsenko5, Abhishek Dubey
From: Abhishek Dubey <adubey@linux.ibm.com>
As arm64 JIT now supports instruction array, make sure
all relevant tests run on this architecture.
#21/1 bpf_insn_array/one2one:OK
#21/2 bpf_insn_array/simple:OK
#21/3 bpf_insn_array/deletions:OK
#21/4 bpf_insn_array/deletions-with-functions:OK
#21/5 bpf_insn_array/blindness:OK
#21/6 bpf_insn_array/incorrect-index:OK
#21/7 bpf_insn_array/load-unfrozen-map:OK
#21/8 bpf_insn_array/no-map-reuse:OK
#21/9 bpf_insn_array/bpf-side-ops:OK
#21 bpf_insn_array:OK
Summary: 1/9 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Abhishek Dubey <adubey@linux.ibm.com>
---
tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c b/tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c
index 269870bec941..93166c2da8e7 100644
--- a/tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c
+++ b/tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c
@@ -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";
--
2.52.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] selftest/bpf: enable test for instruction array on arm64
2026-02-23 20:35 [PATCH] selftest/bpf: enable test for instruction array on arm64 adubey
2026-02-23 16:17 ` Anton Protopopov
@ 2026-02-24 2:10 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-02-24 2:10 UTC (permalink / raw)
To: adubey
Cc: bpf, puranjay, ast, andrii, daniel, martin.lau, eddyz87, memxor,
mykyta.yatsenko5
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@kernel.org>:
On Mon, 23 Feb 2026 15:35:11 -0500 you wrote:
> From: Abhishek Dubey <adubey@linux.ibm.com>
>
> As arm64 JIT now supports instruction array, make sure
> all relevant tests run on this architecture.
>
> #21/1 bpf_insn_array/one2one:OK
> #21/2 bpf_insn_array/simple:OK
> #21/3 bpf_insn_array/deletions:OK
> #21/4 bpf_insn_array/deletions-with-functions:OK
> #21/5 bpf_insn_array/blindness:OK
> #21/6 bpf_insn_array/incorrect-index:OK
> #21/7 bpf_insn_array/load-unfrozen-map:OK
> #21/8 bpf_insn_array/no-map-reuse:OK
> #21/9 bpf_insn_array/bpf-side-ops:OK
> #21 bpf_insn_array:OK
> Summary: 1/9 PASSED, 0 SKIPPED, 0 FAILED
>
> [...]
Here is the summary with links:
- selftest/bpf: enable test for instruction array on arm64
https://git.kernel.org/bpf/bpf-next/c/99726ece0c8a
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-02-24 2:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-23 20:35 [PATCH] selftest/bpf: enable test for instruction array on arm64 adubey
2026-02-23 16:17 ` Anton Protopopov
2026-02-24 2:10 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox