]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita915e4b0c35e43f3e894dc84bb868a7ebef40f97
treef921fb3ab7e45bb252e77768aba37986062830c6
parent94ebf635c5cab5b85ce7eff6d1f35125d8ccedec
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