bpf: Enable BPF JIT on ppc32
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | ppc: Kconfig: Enable BPF JIT on ppc32arch/ | +1 | 3 replies | |
| 2/6 | ppc: bpf: add required compatibility macros for jitarch/ | +4 | 0 replies | |
| 3/6 | ppc: bpf: add reqired opcodes for ppc32arch/ | +2 | 0 replies | |
| 4/6 | ppc: bpf: update jit to use compatibility macrosarch/ arch/ arch/ | +98 | 0 replies | |
| 5/6 | ppc: bpf: rename bpf_jit_64.S to bpf_jit_asm.Sarch/ arch/ | +1 | 0 replies | |
| 6/6 | ppc: bpf: Add SKF_AD_CPU for ppc32arch/ arch/ | +18 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 0/6] bpf: Enable BPF JIT on ppc32
This patch series enables BPF JIT on ppc32. There are relatevily few chnages in the code to make it work.
All test_bpf tests passed both on 7447a and P2041-based machines.
arch/powerpc/Kconfig | 2 +- arch/powerpc/include/asm/asm-compat.h | 4 + arch/powerpc/include/asm/ppc-opcode.h | 2 + arch/powerpc/net/Makefile | 2 +- arch/powerpc/net/bpf_jit.h | 47 ++++++- arch/powerpc/net/bpf_jit_64.S | 229 ---------------------------------- arch/powerpc/net/bpf_jit_asm.S | 229 ++++++++++++++++++++++++++++++++++ arch/powerpc/net/bpf_jit_comp.c | 32 ++--- 8 files changed, 300 insertions(+), 247 deletions(-)