ppc: bpf: implement jitting of BPF_ALU | BPF_ARSH | BPF_*
authorJiong Wang <jiong.wang@netronome.com>
Wed, 5 Dec 2018 18:52:31 +0000 (13:52 -0500)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 7 Dec 2018 21:30:48 +0000 (13:30 -0800)
commit44cf43c04bb5f7c688608ff4136b13f2a8a7a129
treea7e39324a8f6f584c9a4ba6832624efb17b15d16
parentee94b90c8acaa593b627f5f3fe93e076e7779f5c
ppc: bpf: implement jitting of BPF_ALU | BPF_ARSH | BPF_*

This patch implements code-gen for BPF_ALU | BPF_ARSH | BPF_*.

Cc: Naveen N. Rao <naveen.n.rao@linux.ibm.com>
Cc: Sandipan Das <sandipan@linux.ibm.com>
Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Reviewed-by: Sandipan Das <sandipan@linux.ibm.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
arch/powerpc/include/asm/ppc-opcode.h
arch/powerpc/net/bpf_jit.h
arch/powerpc/net/bpf_jit_comp64.c