[PATCH 4/6] powerpc/ppc-opcode: consolidate powerpc instructions from bpf_jit.h

Sandipan Das sandipan at linux.ibm.com
Wed Jun 10 15:18:25 AEST 2020


On 26/05/20 1:45 pm, Balamuruhan S wrote:
> move macro definitions of powerpc instructions from bpf_jit.h to ppc-opcode.h
> and adopt the users of the macros accordingly. `PPC_MR()` is defined twice in
> bpf_jit.h, remove the duplicate one.
> 
> Signed-off-by: Balamuruhan S <bala24 at linux.ibm.com>
> Acked-by: Naveen N. Rao <naveen.n.rao at linux.vnet.ibm.com>
> Tested-by: Naveen N. Rao <naveen.n.rao at linux.vnet.ibm.com>
> ---
>  arch/powerpc/include/asm/ppc-opcode.h | 139 +++++++++++++
>  arch/powerpc/net/bpf_jit.h            | 166 ++-------------
>  arch/powerpc/net/bpf_jit32.h          |  24 +--
>  arch/powerpc/net/bpf_jit64.h          |  12 +-
>  arch/powerpc/net/bpf_jit_comp.c       | 132 ++++++------
>  arch/powerpc/net/bpf_jit_comp64.c     | 278 +++++++++++++-------------
>  6 files changed, 378 insertions(+), 373 deletions(-)
> [...]
> 

Acked-by: Sandipan Das <sandipan at linux.ibm.com>


More information about the Linuxppc-dev mailing list