Skip to content

selftests/bpf: Add support for MIPS systems

Tony Ambardar bpf linux-kselftest 2 versions – 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 · linked by author and title

  1. v2 Latest2 patches 0 repliesApplied 2/2
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- improve CFLAGS handling per Andrii's suggestion

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2selftests/bpf: Add missing system defines for mipstools/testing/selftests/bpf/Makefile+2 -10 repliesApplied
2/2selftests/bpf: Fix error linking uprobe_multi on mipstools/testing/selftests/bpf/Makefile+2 -00 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH bpf-next v2 0/2] selftests/bpf: Add support for MIPS systems

From: Tony Ambardar <[email protected]>

Hello,

This series includes two fixes to support builds targeting MIPS systems. The patches have been tested both with the kernel-patches/bpf CI and locally using mips64el-gcc/musl-libc and QEMU with an OpenWrt rootfs.

Patch 1 adds support for MIPS system includes when compiling BPF. Patch 2 fixes a MIPS GOT issue when linking uprobe_multi.

Feedback and suggestions for improvement are welcome!

Thanks,
Tony

v1->v2:
- improve CFLAGS handling per Andrii's suggestion

Tony Ambardar (2):
selftests/bpf: Add missing system defines for mips selftests/bpf: Fix error linking uprobe_multi on mips

 tools/testing/selftests/bpf/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Signature · 1 line
2.34.1