Re: [PATCH v3 5/8] bpf ppc64: Add BPF_PROBE_MEM support for JIT

2021-09-21 Thread Christophe Leroy
Le 21/09/2021 à 15:29, Hari Bathini a écrit : From: Ravi Bangoria 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

[PATCH v3 5/8] bpf ppc64: Add BPF_PROBE_MEM support for JIT

2021-09-21 Thread Hari Bathini
From: Ravi Bangoria 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 Powe