[RESEND PATCH v4 3/8] bpf powerpc: refactor JIT compiler code

2021-10-12 Thread Hari Bathini
Refactor powerpc LDX JITing code to simplify adding BPF_PROBE_MEM support. Signed-off-by: Hari Bathini Reviewed-by: Christophe Leroy --- Changes in v4: * Dropped the default case in the switch statement for bpf size. * Dropped explicit fallthrough statement for empty switch cases. arch/power

Re: [PATCH v4 3/8] bpf powerpc: refactor JIT compiler code

2021-09-29 Thread Christophe Leroy
Le 29/09/2021 à 13:18, Hari Bathini a écrit : Refactor powerpc LDX JITing code to simplify adding BPF_PROBE_MEM support. Signed-off-by: Hari Bathini Reviewed-by: Christophe Leroy --- Changes in v4: * Dropped the default case in the switch statement for bpf size. * Dropped explicit fall

[PATCH v4 3/8] bpf powerpc: refactor JIT compiler code

2021-09-29 Thread Hari Bathini
Refactor powerpc LDX JITing code to simplify adding BPF_PROBE_MEM support. Signed-off-by: Hari Bathini --- Changes in v4: * Dropped the default case in the switch statement for bpf size. * Dropped explicit fallthrough statement for empty switch cases. arch/powerpc/net/bpf_jit_comp32.c | 33 ++