[PATCH bpf-next 0/4] Various RISC-V BPF improvements

Björn Töpel bjorn at kernel.org
Thu Oct 28 06:20:37 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

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 |  3 ++-
 4 files changed, 37 insertions(+), 3 deletions(-)


base-commit: b066abba3ef16a4a085d237e95da0de3f0b87713
-- 
2.32.0




More information about the linux-riscv mailing list