[PATCH bpf-next v2 0/4] Various RISC-V BPF improvements
Björn Töpel
bjorn at kernel.org
Thu Oct 28 09:10:53 PDT 2021
Unfortunately selftest/bpf does not build for RV64. This series fixes
that.
* JIT requires more iterations to converge
* Some Makefile issues
* bpf_tracing.h was missing RISC-V macros for PT_REGS
More details are in each commit.
There are still many failing tests, but this is a start.
Cheers,
Björn
v1->v2: A newline sneaked into the Makefile for patch 4, which broke the build. Removed.
Björn Töpel (4):
riscv, bpf: Increase the maximum number of iterations
tools build: Add RISC-V to HOSTARCH parsing
riscv, libbpf: Add RISC-V (RV64) support to bpf_tracing.h
selftests/bpf: Fix broken riscv build
arch/riscv/net/bpf_jit_core.c | 2 +-
tools/lib/bpf/bpf_tracing.h | 32 ++++++++++++++++++++++++++++
tools/scripts/Makefile.arch | 3 ++-
tools/testing/selftests/bpf/Makefile | 2 +-
4 files changed, 36 insertions(+), 3 deletions(-)
base-commit: b066abba3ef16a4a085d237e95da0de3f0b87713
--
2.32.0
More information about the linux-riscv
mailing list