mbox series

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

Message ID cover.1721692479.git.tony.ambardar@gmail.com (mailing list archive)
Headers show
Series selftests/bpf: Add support for MIPS systems | expand

Message

Tony Ambardar July 23, 2024, 12:13 a.m. UTC
From: Tony Ambardar <tony.ambardar@gmail.com>

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(-)