]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6595995b93b0415d2898d71767f0dd6fc4b9b314
tree4448eaaafbb857abc286215b121f37ed7656aefb
parent7c99e87c0ce2ae9463d6cb458574d12d86ec642d
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