arm64: eBPF JIT compiler
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest14 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | arm64: introduce aarch64_insn_gen_comp_branch_imm()arch/ arch/ | +140 | 0 replies | |
| 2/14 | arm64: introduce aarch64_insn_gen_branch_reg()arch/ arch/ | +40 | 0 replies | |
| 3/14 | arm64: introduce aarch64_insn_gen_cond_branch_imm()arch/ arch/ | +38 | 0 replies | |
| 4/14 | arm64: introduce aarch64_insn_gen_load_store_reg()arch/ arch/ | +82 | 0 replies | |
| 5/14 | arm64: introduce aarch64_insn_gen_load_store_pair()arch/ arch/ | +81 | 0 replies | |
| 6/14 | arm64: introduce aarch64_insn_gen_add_sub_imm()arch/ arch/ | +60 | 0 replies | |
| 7/14 | arm64: introduce aarch64_insn_gen_bitfield()arch/ arch/ | +72 | 0 replies | |
| 8/14 | arm64: introduce aarch64_insn_gen_movewide()arch/ arch/ | +56 | 0 replies | |
| 9/14 | arm64: introduce aarch64_insn_gen_add_sub_shifted_reg()arch/ arch/ | +60 | 0 replies | |
| 10/14 | arm64: introduce aarch64_insn_gen_data1()arch/ arch/ | +50 | 0 replies | |
| 11/14 | arm64: introduce aarch64_insn_gen_data2()arch/ arch/ | +68 | 0 replies | |
| 12/14 | arm64: introduce aarch64_insn_gen_data3()arch/ arch/ | +56 | 0 replies | |
| 13/14 | arm64: introduce aarch64_insn_gen_logical_shifted_reg()arch/ arch/ | +85 | 0 replies | |
| 14/14 | arm64: eBPF JIT compilerDocumentation/ arch/ arch/ +3 more | +853 | 0 replies |
Reviews trailers per patch
1 of 14 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Alexei Starovoitov | Will Deacon |
|---|---|---|
| Series | A-b | |
| 1/14 | ||
| 2/14 | ||
| 3/14 | ||
| 4/14 | ||
| 5/14 | ||
| 6/14 | ||
| 7/14 | ||
| 8/14 | ||
| 9/14 | ||
| 10/14 | ||
| 11/14 | ||
| 12/14 | ||
| 13/14 | ||
| 14/14 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/14] arm64: eBPF JIT compiler
This series implements eBPF JIT compiler for arm64. Please see [14/14] for change log.
Patches [1-13/14] implement code generation functions. Patch [14/14] implements the actual eBPF JIT compiler.
Many thanks to everyone who's reviewed the code from RFCv1->RFCv3, especially Alexei for BPF bits, and Will for ARM64 codegen bits :)
BTW, I'm happy to maintain arch/arm64/net (i.e. arm64 BPF bits). Should I add a patch updating MAINTAINERS as Patch 15?
This series requires a patch that exports a function from net/core (resulting from RFCv1 discussion). This patch has been merged into net-next @ 9f12fbe603f7 ("net: filter: move load_pointer() into filter.h").
This series applies against net-next and is tested working with lib/test_bpf on ARMv8 Foundation Model.
-----
The following changes since commit da388973d4a15e71cada1219d625b5393c90e5ae:
iw_cxgb4: fix for 64-bit integer division (2014-07-17 16:52:08 -0700)
are available in the git repository at:
https://github.com/zlim/linux.git arm64/bpf
for you to fetch changes up to eef34dcb8bb9a3712091e0cdea4a1c3a6e42912a:
arm64: eBPF JIT compiler (2014-07-18 11:06:28 -0700)
----------------------------------------------------------------
Zi Shen Lim (14):
arm64: introduce aarch64_insn_gen_comp_branch_imm()
arm64: introduce aarch64_insn_gen_branch_reg()
arm64: introduce aarch64_insn_gen_cond_branch_imm()
arm64: introduce aarch64_insn_gen_load_store_reg()
arm64: introduce aarch64_insn_gen_load_store_pair()
arm64: introduce aarch64_insn_gen_add_sub_imm()
arm64: introduce aarch64_insn_gen_bitfield()
arm64: introduce aarch64_insn_gen_movewide()
arm64: introduce aarch64_insn_gen_add_sub_shifted_reg()
arm64: introduce aarch64_insn_gen_data1()
arm64: introduce aarch64_insn_gen_data2()
arm64: introduce aarch64_insn_gen_data3()
arm64: introduce aarch64_insn_gen_logical_shifted_reg()
arm64: eBPF JIT compiler
Documentation/networking/filter.txt | 2 +- arch/arm64/Kconfig | 1 + arch/arm64/Makefile | 1 + arch/arm64/include/asm/insn.h | 249 +++++++++++++ arch/arm64/kernel/insn.c | 646 +++++++++++++++++++++++++++++++++- arch/arm64/net/Makefile | 4 + arch/arm64/net/bpf_jit.h | 169 +++++++++ arch/arm64/net/bpf_jit_comp.c | 677 ++++++++++++++++++++++++++++++++++++ 8 files changed, 1741 insertions(+), 8 deletions(-) create mode 100644 arch/arm64/net/Makefile create mode 100644 arch/arm64/net/bpf_jit.h create mode 100644 arch/arm64/net/bpf_jit_comp.c
Signature · 1 line
1.9.1