[PATCH net-next 0/6] bpf: Enable BPF JIT on ppc32

Denis Kirjanov kda at linux-powerpc.org
Mon Feb 16 05:06:39 AEDT 2015


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(-)




More information about the Linuxppc-dev mailing list