mirror of
https://github.com/torvalds/linux.git
synced 2024-09-21 15:33:19 +00:00
72570224bb
This patch adds workarounds for the following CPU errata to the MIPS eBPF JIT, if enabled in the kernel configuration. - R10000 ll/sc weak ordering - Loongson-3 ll/sc weak ordering - Loongson-2F jump hang The Loongson-2F nop errata is implemented in uasm, which the JIT uses, so no additional mitigations are needed for that. 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> Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Link: https://lore.kernel.org/bpf/20211005165408.2305108-6-johan.almbladh@anyfinetworks.com |
||
---|---|---|
.. | ||
bpf_jit_asm.S | ||
bpf_jit_comp.c | ||
bpf_jit_comp.h | ||
bpf_jit_comp32.c | ||
bpf_jit_comp64.c | ||
bpf_jit.c | ||
bpf_jit.h | ||
ebpf_jit.c | ||
Makefile |