linux/arch/mips/net
Johan Almbladh 01bdc58e94 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
2021-10-06 12:28:30 -07:00
..
bpf_jit.c bpf, mips: Validate conditional branch offsets 2021-09-15 21:38:16 +02:00
bpf_jit.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 441 2019-06-05 17:37:17 +02:00
bpf_jit_asm.S MIPS: BPF: Restore MIPS32 cBPF JIT 2020-01-09 15:02:30 -08:00
bpf_jit_comp.c mips, bpf: Add JIT workarounds for CPU errata 2021-10-06 12:28:25 -07:00
bpf_jit_comp.h mips, bpf: Add JIT workarounds for CPU errata 2021-10-06 12:28:25 -07:00
bpf_jit_comp32.c mips, bpf: Add eBPF JIT for 32-bit MIPS 2021-10-06 12:28:14 -07:00
bpf_jit_comp64.c mips, bpf: Add JIT workarounds for CPU errata 2021-10-06 12:28:25 -07:00
ebpf_jit.c bpf: Introduce BPF nospec instruction for mitigating Spectre v4 2021-07-29 00:20:56 +02:00
Makefile mips, bpf: Enable eBPF JITs 2021-10-06 12:28:30 -07:00