mips: bpf: implement jitting of BPF_ALU | BPF_ARSH | BPF_X
authorJiong Wang <jiong.wang@netronome.com>
Wed, 5 Dec 2018 18:52:30 +0000 (13:52 -0500)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 7 Dec 2018 21:30:48 +0000 (13:30 -0800)
commitee94b90c8acaa593b627f5f3fe93e076e7779f5c
tree4448eaaafbb857abc286215b121f37ed7656aefb
parent17f6c83fb5ebf7db4fcc94a5be4c22d5a7bfe428
mips: bpf: implement jitting of BPF_ALU | BPF_ARSH | BPF_X

Jitting of BPF_K is supported already, but not BPF_X. This patch complete
the support for the latter on both MIPS and microMIPS.

Cc: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
Acked-by: Paul Burton <paul.burton@mips.com>
Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
arch/mips/include/asm/uasm.h
arch/mips/include/uapi/asm/inst.h
arch/mips/mm/uasm-micromips.c
arch/mips/mm/uasm-mips.c
arch/mips/mm/uasm.c
arch/mips/net/ebpf_jit.c