On 10/05/2015 10:24 AM, Ralf Baechle wrote: > On Sat, Sep 05, 2015 at 08:29:28PM +0100, Ben Hutchings wrote: > >> The JIT does not include the load delay slots required by MIPS-I >> processors. > > See 0c5d187828588dd1b36cb93b4481a8db467ef3e8 (MIPS: BPF: Fix load delay > slots.) for a proper fix. Since this patch didn't make it to the LMO and never discussed, i must say that it's probably not complete. The bpf_jit.c code also emits load instructions (for example see emit_load_imm). So I guess you need to extend your patch to cover the C code as well. -- markos