[RESEND PATCH v4 7/8] bpf ppc32: Add BPF_PROBE_MEM support for JIT

2021-10-12 Thread Hari Bathini
BPF load instruction with BPF_PROBE_MEM mode can cause a fault inside kernel. Append exception table for such instructions within BPF program. Unlike other archs which uses extable 'fixup' field to pass dest_reg and nip, BPF exception table on PowerPC follows the generic PowerPC exception table de

Re: [PATCH v4 7/8] bpf ppc32: Add BPF_PROBE_MEM support for JIT

2021-09-29 Thread Christophe Leroy
Le 29/09/2021 à 13:18, Hari Bathini a écrit : BPF load instruction with BPF_PROBE_MEM mode can cause a fault inside kernel. Append exception table for such instructions within BPF program. Unlike other archs which uses extable 'fixup' field to pass dest_reg and nip, BPF exception table on Pow

[PATCH v4 7/8] bpf ppc32: Add BPF_PROBE_MEM support for JIT

2021-09-29 Thread Hari Bathini
BPF load instruction with BPF_PROBE_MEM mode can cause a fault inside kernel. Append exception table for such instructions within BPF program. Unlike other archs which uses extable 'fixup' field to pass dest_reg and nip, BPF exception table on PowerPC follows the generic PowerPC exception table de