mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH bpf-next v5 0/3] Skip callback tests if jit is disabled in test_verifier
@ 2024-01-17 11:09 Tiezhu Yang
  2024-01-17 11:09 ` [PATCH bpf-next v5 1/3] selftests/bpf: Move is_jit_enabled() to testing_helpers Tiezhu Yang
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Tiezhu Yang @ 2024-01-17 11:09 UTC (permalink / raw)
  To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko
  Cc: Eduard Zingerman, John Fastabend, Jiri Olsa, Hou Tao, Song Liu,
	bpf, linux-kernel

v5:
  -- Reuse is_ldimm64_insn() and insn_is_pseudo_func(),
     thanks Song Liu.

v4:
  -- Move the not-allowed-checking into "if (expected_ret ...)"
     block, thanks Hou Tao.
  -- Do some small changes to avoid checkpatch warning
     about "line length exceeds 100 columns".

v3:
  -- Rebase on the latest bpf-next tree.
  -- Address the review comments by Hou Tao,
     remove the second argument "0" of open(),
     check only once whether jit is disabled,
     check fd_prog, saved_errno and jit_disabled to skip.

Tiezhu Yang (3):
  selftests/bpf: Move is_jit_enabled() to testing_helpers
  libbpf: Move insn_is_pseudo_func() to libbpf_internal.h
  selftests/bpf: Skip callback tests if jit is disabled in 
    test_verifier

 tools/lib/bpf/libbpf.c                        |  5 -----
 tools/lib/bpf/libbpf_internal.h               |  5 +++++
 tools/testing/selftests/bpf/test_progs.c      | 18 -----------------
 tools/testing/selftests/bpf/test_verifier.c   | 20 ++++++++++++++++---
 tools/testing/selftests/bpf/testing_helpers.c | 18 +++++++++++++++++
 tools/testing/selftests/bpf/testing_helpers.h |  1 +
 6 files changed, 41 insertions(+), 26 deletions(-)

-- 
2.42.0


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

end of thread, other threads:[~2024-01-19 21:18 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-17 11:09 [PATCH bpf-next v5 0/3] Skip callback tests if jit is disabled in test_verifier Tiezhu Yang
2024-01-17 11:09 ` [PATCH bpf-next v5 1/3] selftests/bpf: Move is_jit_enabled() to testing_helpers Tiezhu Yang
2024-01-17 11:09 ` [PATCH bpf-next v5 2/3] libbpf: Move insn_is_pseudo_func() to libbpf_internal.h Tiezhu Yang
2024-01-17 16:53   ` Song Liu
2024-01-18  1:34   ` Hou Tao
2024-01-19 21:18   ` Andrii Nakryiko
2024-01-17 11:10 ` [PATCH bpf-next v5 3/3] selftests/bpf: Skip callback tests if jit is disabled in test_verifier Tiezhu Yang
2024-01-17 17:20   ` Song Liu
2024-01-18  1:11     ` Hou Tao
2024-01-18  1:27       ` Song Liu
2024-01-18  1:32         ` Hou Tao

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

all inboxes | Powered by JetHome®