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

2021-09-21 Thread Christophe Leroy
Le 21/09/2021 à 15:29, 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 v3 7/8] bpf ppc32: Add BPF_PROBE_MEM support for JIT

2021-09-21 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