Re: [PATCH] powerpc/bpf: fix write protecting JIT code

2021-11-02 Thread Andrii Nakryiko
On Tue, Nov 2, 2021 at 6:48 AM Michael Ellerman wrote: > > "Naveen N. Rao" writes: > > Michael Ellerman wrote: > >> Daniel Borkmann writes: > >>> On 10/25/21 8:15 AM, Naveen N. Rao wrote: > Hari Bathini wrote: > > Running program with bpf-to-bpf function calls results in data access >

Re: [PATCH] powerpc/bpf: fix write protecting JIT code

2021-11-02 Thread Michael Ellerman
"Naveen N. Rao" writes: > Michael Ellerman wrote: >> Daniel Borkmann writes: >>> On 10/25/21 8:15 AM, Naveen N. Rao wrote: Hari Bathini wrote: > Running program with bpf-to-bpf function calls results in data access > exception (0x300) with the below call trace: > >    

Re: [PATCH] powerpc/bpf: fix write protecting JIT code

2021-11-02 Thread Naveen N. Rao
Michael Ellerman wrote: Daniel Borkmann writes: On 10/25/21 8:15 AM, Naveen N. Rao wrote: Hari Bathini wrote: Running program with bpf-to-bpf function calls results in data access exception (0x300) with the below call trace:     [c0113f28] bpf_int_jit_compile+0x238/0x750

Re: [PATCH] powerpc/bpf: fix write protecting JIT code

2021-11-02 Thread Michael Ellerman
On Mon, 25 Oct 2021 11:26:49 +0530, Hari Bathini wrote: > Running program with bpf-to-bpf function calls results in data access > exception (0x300) with the below call trace: > > [c0113f28] bpf_int_jit_compile+0x238/0x750 (unreliable) > [c037d2f8] bpf_check+0x2008/0x2710 >

Re: [PATCH] powerpc/bpf: fix write protecting JIT code

2021-10-28 Thread Michael Ellerman
Daniel Borkmann writes: > On 10/25/21 8:15 AM, Naveen N. Rao wrote: >> Hari Bathini wrote: >>> Running program with bpf-to-bpf function calls results in data access >>> exception (0x300) with the below call trace: >>> >>>     [c0113f28] bpf_int_jit_compile+0x238/0x750 (unreliable) >>>    

Re: [PATCH] powerpc/bpf: fix write protecting JIT code

2021-10-25 Thread Daniel Borkmann
On 10/25/21 8:15 AM, Naveen N. Rao wrote: Hari Bathini wrote: Running program with bpf-to-bpf function calls results in data access exception (0x300) with the below call trace:     [c0113f28] bpf_int_jit_compile+0x238/0x750 (unreliable)     [c037d2f8] bpf_check+0x2008/0x2710    

Re: [PATCH] powerpc/bpf: fix write protecting JIT code

2021-10-25 Thread Naveen N. Rao
Hari Bathini wrote: Running program with bpf-to-bpf function calls results in data access exception (0x300) with the below call trace: [c0113f28] bpf_int_jit_compile+0x238/0x750 (unreliable) [c037d2f8] bpf_check+0x2008/0x2710 [c0360050]

[PATCH] powerpc/bpf: fix write protecting JIT code

2021-10-24 Thread Hari Bathini
Running program with bpf-to-bpf function calls results in data access exception (0x300) with the below call trace: [c0113f28] bpf_int_jit_compile+0x238/0x750 (unreliable) [c037d2f8] bpf_check+0x2008/0x2710 [c0360050] bpf_prog_load+0xb00/0x13a0