]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit - arch/mips/Kconfig
MIPS: eBPF: Initial eBPF support for MIPS32 architecture.
authorHassan Naveed <hnaveed@wavecomp.com>
Tue, 12 Mar 2019 22:48:12 +0000 (22:48 +0000)
committerPaul Burton <paul.burton@mips.com>
Tue, 19 Mar 2019 22:26:12 +0000 (15:26 -0700)
commit716850ab104db154549b01e63d5c71076434b064
tree735e881b1e7b2850df0030594ed073a99681d01a
parent6c2c8a18886897226ee43e77c0149a8e1874274a
MIPS: eBPF: Initial eBPF support for MIPS32 architecture.

Currently MIPS32 supports a JIT for classic BPF only, not extended BPF.
This patch adds JIT support for extended BPF on MIPS32, so code is
actually JIT'ed instead of being only interpreted. Instructions with
64-bit operands are not supported at this point.
We can delete classic BPF because the kernel will translate classic BPF
programs into extended BPF and JIT them, eliminating the need for
classic BPF.

Signed-off-by: Hassan Naveed <hnaveed@wavecomp.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: kafai@fb.com
Cc: songliubraving@fb.com
Cc: yhs@fb.com
Cc: netdev@vger.kernel.org
Cc: bpf@vger.kernel.org
Cc: linux-mips@vger.kernel.org
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: open list:MIPS <linux-mips@linux-mips.org>
Cc: open list <linux-kernel@vger.kernel.org>
arch/mips/Kconfig
arch/mips/net/Makefile
arch/mips/net/bpf_jit.c [deleted file]
arch/mips/net/bpf_jit_asm.S [deleted file]
arch/mips/net/ebpf_jit.c