BPF List
 help / color / mirror / Atom feed
* [PATCH bpf-next v1 0/3] selftests/bpf: Enable instructions array, indirect calls tests for LoongArch
@ 2026-11-23  4:50 Tiezhu Yang
  2026-11-23  4:50 ` [PATCH bpf-next v1 1/3] selftests/bpf: Enable instruction array test " Tiezhu Yang
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Tiezhu Yang @ 2026-11-23  4:50 UTC (permalink / raw)
  To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
	Eduard Zingerman, Kumar Kartikeya Dwivedi
  Cc: bpf, loongarch, linux-kernel

Tested on the following unmerged JIT patches:

LoongArch: BPF: Support instructions array, indirect jumps and calls
https://lore.kernel.org/loongarch/20261123043907.20225-1-yangtiezhu@loongson.cn/T/#u

here are the test results:

$ sudo ./test_progs -t bpf_insn_array | tail -1
Summary: 1/20 PASSED, 0 SKIPPED, 0/0 FAILED

$ sudo ./test_progs-cpuv4 -t gotox | tail -1
Summary: 2/14 PASSED, 0 SKIPPED, 0/0 FAILED

$ sudo ./test_progs -t callx | tail -1
Summary: 6/89 PASSED, 6 SKIPPED, 0/0 FAILED

Tiezhu Yang (3):
  selftests/bpf: Enable instruction array test for LoongArch
  selftests/bpf: Allow unaligned access in callx_rodata_misaligned_read
  selftests/bpf: Enable callx related testcases for LoongArch

 tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c     | 2 +-
 tools/testing/selftests/bpf/prog_tests/callx_func_ptr_map.c | 2 +-
 tools/testing/selftests/bpf/prog_tests/callx_rodata_lskel.c | 2 +-
 tools/testing/selftests/bpf/progs/bpf_misc.h                | 3 ++-
 tools/testing/selftests/bpf/progs/verifier_callx_rodata.c   | 1 +
 5 files changed, 6 insertions(+), 4 deletions(-)

-- 
2.42.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-11-23  5:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-23  4:50 [PATCH bpf-next v1 0/3] selftests/bpf: Enable instructions array, indirect calls tests for LoongArch Tiezhu Yang
2026-11-23  4:50 ` [PATCH bpf-next v1 1/3] selftests/bpf: Enable instruction array test " Tiezhu Yang
2026-11-23  5:02   ` sashiko-bot
2026-11-23  5:21     ` Tiezhu Yang
2026-11-23  4:50 ` [PATCH bpf-next v1 2/3] selftests/bpf: Allow unaligned access in callx_rodata_misaligned_read Tiezhu Yang
2026-11-23  4:50 ` [PATCH bpf-next v1 3/3] selftests/bpf: Enable callx related testcases for LoongArch Tiezhu Yang
2026-11-23  4:59   ` sashiko-bot
2026-11-23  5:13     ` Tiezhu Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox