riscv, bpf: Add support for far jumps and exits
authorBjörn Töpel <bjorn.topel@gmail.com>
Mon, 16 Dec 2019 09:13:38 +0000 (10:13 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 19 Dec 2019 15:03:30 +0000 (16:03 +0100)
commit33203c02f2f8ae8e19d7dbbabf55cfd0025efede
treec78d70bc3448490b030379dbc9b87826be37e30a
parent29d92edd9ee8b37bd8e9a0ba7fd549f874e0d069
riscv, bpf: Add support for far jumps and exits

This commit add support for far (offset > 21b) jumps and exits.

Signed-off-by: Björn Töpel <bjorn.topel@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Luke Nelson <lukenels@cs.washington.edu>
Link: https://lore.kernel.org/bpf/20191216091343.23260-5-bjorn.topel@gmail.com
arch/riscv/net/bpf_jit_comp.c