powerpc/bpf/64: add support for BPF_ATOMIC bitwise operations
authorHari Bathini <hbathini@linux.ibm.com>
Fri, 10 Jun 2022 15:55:48 +0000 (21:25 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 29 Jun 2022 09:37:08 +0000 (19:37 +1000)
commit65112709115f48f16d7082bcabf173d08622e69f
tree5ef7688621bb5c7ac4517a912074360252e6ccc4
parent61bdbca855024997fd8c82dc190f458aa81beca8
powerpc/bpf/64: add support for BPF_ATOMIC bitwise operations

Adding instructions for ppc64 for

atomic[64]_and
atomic[64]_or
atomic[64]_xor

Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Tested-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> (ppc64le)
Reviewed-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220610155552.25892-2-hbathini@linux.ibm.com
arch/powerpc/net/bpf_jit_comp64.c