mbox series

[0/2] MIPS: Implement two workarounds for BPF JIT

Message ID 20230222161222.11879-1-jiaxun.yang@flygoat.com (mailing list archive)
Headers show
Series MIPS: Implement two workarounds for BPF JIT | expand

Message

Jiaxun Yang Feb. 22, 2023, 4:12 p.m. UTC
Hi all,

Just noticed eBPF JIT is not working on R4000 when messing around with QEMU.

This patchset implements two workarounds that is blocking us from enabling eBPF
JIT on R4000.

Thanks.
- Jiaxun

Jiaxun Yang (2):
  MIPS: ebpf jit: Implement DADDI workarounds
  MIPS: ebpf jit: Implement R4000 workarounds

 arch/mips/Kconfig              | 5 +----
 arch/mips/net/bpf_jit_comp.c   | 8 ++++++++
 arch/mips/net/bpf_jit_comp32.c | 4 ++++
 arch/mips/net/bpf_jit_comp64.c | 3 +++
 4 files changed, 16 insertions(+), 4 deletions(-)