mips, bpf: Enable eBPF JITs
authorJohan Almbladh <johan.almbladh@anyfinetworks.com>
Tue, 5 Oct 2021 16:54:07 +0000 (18:54 +0200)
committerAndrii Nakryiko <andrii@kernel.org>
Wed, 6 Oct 2021 19:28:30 +0000 (12:28 -0700)
commit01bdc58e94b46b88d4921f46f423bdeb8b137f28
treef921fb3ab7e45bb252e77768aba37986062830c6
parent72570224bb8fecdb17c2f0ccebf02868d2513595
mips, bpf: Enable eBPF JITs

This patch enables the new eBPF JITs for 32-bit and 64-bit MIPS. It also
disables the old cBPF JIT to so cBPF programs are converted to use the
new JIT.

Workarounds for R4000 CPU errata are not implemented by the JIT, so the
JIT is disabled if any of those workarounds are configured.

Signed-off-by: Johan Almbladh <johan.almbladh@anyfinetworks.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211005165408.2305108-7-johan.almbladh@anyfinetworks.com
MAINTAINERS
arch/mips/Kconfig
arch/mips/net/Makefile