riscv, bpf: Support 32-bit offset jmp insn
authorPu Lehui <pulehui@huawei.com>
Thu, 24 Aug 2023 09:49:58 +0000 (09:49 +0000)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 24 Aug 2023 16:13:08 +0000 (09:13 -0700)
commitd9839f16c1502556993552746452c862cb1c41af
tree6ec0a21e7106963017335438a4ad9ead29bbdefc
parent694896ad3ca79b3291efaf29702a94d2568b5279
riscv, bpf: Support 32-bit offset jmp insn

Add support 32-bit offset jmp instruction for RV64.

Signed-off-by: Pu Lehui <pulehui@huawei.com>
Acked-by: Björn Töpel <bjorn@kernel.org>
Link: https://lore.kernel.org/r/20230824095001.3408573-5-pulehui@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
arch/riscv/net/bpf_jit_comp64.c