Skip to content

RISC-V selftest/bpf fixes

Björn Töpel bpf linux-riscv netdev 2 versions – Applied

Status from this message: This series was applied to bpf/bpf-next.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyApplied 3/3
  2. v13 patches 4 repliesSuperseded

Changes in v2 from the cover letter

Makefile cosmetics. (Andrii)
Simplified unpriv check and added comment. (Andrii)

Patches in v2 All 3 applied

#Subject and filesSizeRepliesApplied
1/3selftests/bpf: Fix broken riscv buildtools/testing/selftests/bpf/Makefile+2 -10 repliesApplied
2/3selftests/bpf: Avoid running unprivileged tests with alignment requirementstools/testing/selftests/bpf/test_verifier.c+13 -00 repliesApplied
3/3selftests/bpf: Mark tests that require unaligned memory accesstools/testing/selftests/bpf/verifier/ctx_sk_lookup.c tools/testing/selftests/bpf/verifier/direct_value_access.c tools/testing/selftests/bpf/verifier/map_ptr.c +4 more+52 -180 repliesApplied

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLuke Nelson
SeriesA-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH bpf-next v2 0/3] RISC-V selftest/bpf fixes

This series contain some fixes for selftests/bpf when building/running on a RISC-V host. Details can be found in each individual commit.

Cheers,
Björn

v2:
Makefile cosmetics. (Andrii)
Simplified unpriv check and added comment. (Andrii)

Björn Töpel (3):
selftests/bpf: Fix broken riscv build
selftests/bpf: Avoid running unprivileged tests with alignment
requirements
selftests/bpf: Mark tests that require unaligned memory access

 tools/testing/selftests/bpf/Makefile          |  3 +-
 tools/testing/selftests/bpf/test_verifier.c   | 13 ++++++
 .../selftests/bpf/verifier/ctx_sk_lookup.c    |  7 +++
 .../bpf/verifier/direct_value_access.c        |  3 ++
 .../testing/selftests/bpf/verifier/map_ptr.c  |  1 +
 .../selftests/bpf/verifier/raw_tp_writable.c  |  1 +
 .../selftests/bpf/verifier/ref_tracking.c     |  4 ++
 .../testing/selftests/bpf/verifier/regalloc.c |  8 ++++
 .../selftests/bpf/verifier/wide_access.c      | 46 +++++++++++--------
 9 files changed, 67 insertions(+), 19 deletions(-)

base-commit: ea87ae85c9b31303a2e9d4c769d9f3ee8a3a60d1

Signature · 1 line
2.27.0