Skip to content

libbpf/selftests syscall wrapper fixes for RISC-V

Björn Töpel bpf linux-kselftest lkml netdev 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3libbpf: Fix syscall access arguments on riscvtools/lib/bpf/bpf_tracing.h+0 -20 repliesApplied
2/3selftests/bpf: Define SYS_PREFIX for riscvtools/testing/selftests/bpf/progs/bpf_misc.h+3 -00 repliesApplied
3/3selftests/bpf: Define SYS_NANOSLEEP_KPROBE_NAME for riscvtools/testing/selftests/bpf/test_progs.h+2 -00 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.

PatchSami Tolvanen
SeriesR-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 v1 thread

Cover letter [PATCH bpf 0/3] libbpf/selftests syscall wrapper fixes for RISC-V

From: Björn Töpel <[email protected]>

Commit 08d0ce30e0e4 ("riscv: Implement syscall wrappers") introduced some regressions in libbpf, and the kselftests BPF suite, which are fixed with these three patches.

Note that there's an outstanding fix [1] for ftrace syscall tracing which is also a fallout from the commit above.

Björn

[1] https://lore.kernel.org/linux-riscv/[email protected]/

Alexandre Ghiti (1):
libbpf: Fix syscall access arguments on riscv

Björn Töpel (2):
selftests/bpf: Define SYS_PREFIX for riscv selftests/bpf: Define SYS_NANOSLEEP_KPROBE_NAME for riscv

 tools/lib/bpf/bpf_tracing.h                  | 2 --
 tools/testing/selftests/bpf/progs/bpf_misc.h | 3 +++
 tools/testing/selftests/bpf/test_progs.h     | 2 ++
 3 files changed, 5 insertions(+), 2 deletions(-)

base-commit: 9077fc228f09c9f975c498c55f5d2e882cd0da59

Signature · 1 line
2.39.2