Re: [PATCH 3/4] bpf powerpc: Add BPF_PROBE_MEM support for 64bit JIT

2021-07-06 Thread Ravi Bangoria
On 7/6/21 3:23 PM, Christophe Leroy wrote: Le 06/07/2021 à 09:32, Ravi Bangoria 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. Can you do the same for 32bit ? Sure. But before that,

Re: [PATCH 3/4] bpf powerpc: Add BPF_PROBE_MEM support for 64bit JIT

2021-07-06 Thread Christophe Leroy
Le 06/07/2021 à 09:32, Ravi Bangoria 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. Can you do the same for 32bit ? Unlike other archs which uses extable 'fixup' field to pass dest_re