[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <88b59272-e3f7-30ba-dda0-c4a6b42c0029@iogearbox.net>
Date: Thu, 30 Sep 2021 22:57:30 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: Hari Bathini <hbathini@...ux.ibm.com>, naveen.n.rao@...ux.ibm.com,
christophe.leroy@...roup.eu, mpe@...erman.id.au, ast@...nel.org
Cc: paulus@...ba.org, andrii@...nel.org, kafai@...com,
songliubraving@...com, yhs@...com, john.fastabend@...il.com,
kpsingh@...nel.org, netdev@...r.kernel.org, bpf@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH v4 0/8] bpf powerpc: Add BPF_PROBE_MEM support in powerpc
JIT compiler
On 9/29/21 1:18 PM, Hari Bathini wrote:
> Patch #1 & #2 are simple cleanup patches. Patch #3 refactors JIT
> compiler code with the aim to simplify adding BPF_PROBE_MEM support.
> Patch #4 introduces PPC_RAW_BRANCH() macro instead of open coding
> branch instruction. Patch #5 & #7 add BPF_PROBE_MEM support for PPC64
> & PPC32 JIT compilers respectively. Patch #6 & #8 handle bad userspace
> pointers for PPC64 & PPC32 cases respectively.
Michael, are you planning to pick up the series or shall we route via bpf-next?
Thanks,
Daniel
> Changes in v4:
> * Addressed all the review comments from Christophe.
>
>
> Hari Bathini (4):
> bpf powerpc: refactor JIT compiler code
> powerpc/ppc-opcode: introduce PPC_RAW_BRANCH() macro
> bpf ppc32: Add BPF_PROBE_MEM support for JIT
> bpf ppc32: Access only if addr is kernel address
>
> Ravi Bangoria (4):
> bpf powerpc: Remove unused SEEN_STACK
> bpf powerpc: Remove extra_pass from bpf_jit_build_body()
> bpf ppc64: Add BPF_PROBE_MEM support for JIT
> bpf ppc64: Access only if addr is kernel address
>
> arch/powerpc/include/asm/ppc-opcode.h | 2 +
> arch/powerpc/net/bpf_jit.h | 19 +++--
> arch/powerpc/net/bpf_jit_comp.c | 72 ++++++++++++++++--
> arch/powerpc/net/bpf_jit_comp32.c | 101 ++++++++++++++++++++++----
> arch/powerpc/net/bpf_jit_comp64.c | 72 ++++++++++++++----
> 5 files changed, 224 insertions(+), 42 deletions(-)
>
Powered by blists - more mailing lists