mbox series

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

Message ID 20211028161057.520552-1-bjorn@kernel.org (mailing list archive)
Headers show
Series Various RISC-V BPF improvements | expand

Message

Björn Töpel Oct. 28, 2021, 4:10 p.m. UTC
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

Comments

patchwork-bot+netdevbpf@kernel.org Nov. 1, 2021, 4:20 p.m. UTC | #1
Hello:

This series was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel@iogearbox.net>:

On Thu, 28 Oct 2021 18:10:53 +0200 you wrote:
> 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
> 
> [...]

Here is the summary with links:
  - [bpf-next,v2,1/4] riscv, bpf: Increase the maximum number of iterations
    https://git.kernel.org/bpf/bpf-next/c/4b54214f39ff
  - [bpf-next,v2,2/4] tools build: Add RISC-V to HOSTARCH parsing
    https://git.kernel.org/bpf/bpf-next/c/b390d69831ee
  - [bpf-next,v2,3/4] riscv, libbpf: Add RISC-V (RV64) support to bpf_tracing.h
    https://git.kernel.org/bpf/bpf-next/c/589fed479ba1
  - [bpf-next,v2,4/4] selftests/bpf: Fix broken riscv build
    https://git.kernel.org/bpf/bpf-next/c/36e70b9b06bf

You are awesome, thank you!