linux-stable/arch
Hou Tao b5e975d256 bpf, arm64: Enable kfunc call
Since commit b2eed9b588 ("arm64/kernel: kaslr: reduce module
randomization range to 2 GB"), for arm64 whether KASLR is enabled
or not, the module is placed within 2GB of the kernel region, so
s32 in bpf_kfunc_desc is sufficient to represente the offset of
module function relative to __bpf_call_base. The only thing needed
is to override bpf_jit_supports_kfunc_call().

Signed-off-by: Hou Tao <houtao1@huawei.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20220130092917.14544-2-hotforest@gmail.com
2022-02-04 16:37:13 +01:00
..
alpha Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2022-01-17 05:49:30 +02:00
arc Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
arm Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
arm64 bpf, arm64: Enable kfunc call 2022-02-04 16:37:13 +01:00
csky Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2022-01-17 05:49:30 +02:00
h8300 Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
hexagon Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2022-01-17 05:49:30 +02:00
ia64 Merge branch 'akpm' (patches from Andrew) 2022-01-20 10:41:01 +02:00
m68k Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2022-01-17 05:49:30 +02:00
microblaze Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
mips Merge branch 'akpm' (patches from Andrew) 2022-01-20 10:41:01 +02:00
nds32 Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
nios2 Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
openrisc Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
parisc Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
powerpc Networking fixes for 5.17-rc1, including fixes from netfilter, bpf. 2022-01-20 10:57:05 +02:00
riscv Merge branch 'akpm' (patches from Andrew) 2022-01-20 10:41:01 +02:00
s390 Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
sh Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
sparc Merge branch 'akpm' (patches from Andrew) 2022-01-20 10:41:01 +02:00
um virtio,vdpa,qemu_fw_cfg: features, cleanups, fixes 2022-01-18 10:05:48 +02:00
x86 bpf, x86: Remove unnecessary handling of BPF_SUB atomic op 2022-01-27 22:47:05 +01:00
xtensa Kbuild updates for v5.17 2022-01-19 11:15:19 +02:00
.gitignore
Kconfig Merge branch 'akpm' (patches from Andrew) 2022-01-20 10:41:01 +02:00