]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita599d9a2ba9170b59d7a8d29acd79f00c877966a
tree5ef7688621bb5c7ac4517a912074360252e6ccc4
parentefa09d46e17cac77dee6e22f7ade21b184715780
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