BPF List
 help / color / mirror / Atom feed
* [PATCH bpf-next v2 0/2] selftests/bpf: Handle some unexpected failures
@ 2026-11-09  4:12 Tiezhu Yang
  2026-11-09  4:12 ` [PATCH bpf-next v2 1/2] selftests/bpf: Skip jit_insns_arena tests if not supported Tiezhu Yang
  2026-11-09  4:12 ` [PATCH bpf-next v2 2/2] selftests/bpf: Fix unaligned access failure in fexit_bpf2bpf Tiezhu Yang
  0 siblings, 2 replies; 7+ messages in thread
From: Tiezhu Yang @ 2026-11-09  4:12 UTC (permalink / raw)
  To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
	Eduard Zingerman, Kumar Kartikeya Dwivedi
  Cc: bpf, loongarch, linux-kernel

v2:
  - Use libbpf_probe_bpf_map_type() in prog_tests instead of
     handling EOPNOTSUPP globally in test_loader.
  - Fix unaligned access at the source by applying a bitmask
     'off &= ~1' instead of skipping these tests entirely.
  - Modify the patch subjects and update the commit messages.

Tiezhu Yang (2):
  selftests/bpf: Skip jit_insns_arena tests if not supported
  selftests/bpf: Fix unaligned access failure in fexit_bpf2bpf

 tools/testing/selftests/bpf/prog_tests/jit_insns.c  | 9 ++++++++-
 tools/testing/selftests/bpf/progs/fexit_bpf2bpf.c   | 1 +
 tools/testing/selftests/bpf/progs/test_pkt_access.c | 1 +
 3 files changed, 10 insertions(+), 1 deletion(-)

-- 
2.42.0


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

end of thread, other threads:[~2026-11-09  6:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-09  4:12 [PATCH bpf-next v2 0/2] selftests/bpf: Handle some unexpected failures Tiezhu Yang
2026-11-09  4:12 ` [PATCH bpf-next v2 1/2] selftests/bpf: Skip jit_insns_arena tests if not supported Tiezhu Yang
2026-11-09  4:25   ` sashiko-bot
2026-11-09  6:10     ` Tiezhu Yang
2026-11-09  4:12 ` [PATCH bpf-next v2 2/2] selftests/bpf: Fix unaligned access failure in fexit_bpf2bpf Tiezhu Yang
2026-11-09  4:17   ` sashiko-bot
2026-11-09  6:11     ` Tiezhu Yang

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