[PATCH bpf-next v2 0/3] bpf, arm64: Add fsession support
Puranjay Mohan
puranjay at kernel.org
Wed Jan 28 11:32:12 PST 2026
On Wed, Jan 28, 2026 at 3:01 PM Leon Hwang <leon.hwang at linux.dev> wrote:
>
> Similar to commit 98770bd4e6df ("bpf,x86: add fsession support for x86_64"),
> add fsession support on arm64.
>
> Patch #1 adds bpf_arch_supports_fsession() to prevent fsession loading
> on architectures that do not implement fsession support.
>
> Patch #2 implements fsession support in the arm64 BPF JIT trampoline.
>
> Patch #3 enables the relevant selftests on arm64, including get_func_ip,
> and get_func_args.
>
> All enabled tests pass on arm64:
>
> cd tools/testing/selftests/bpf
> ./test_progs -t fsession
> #135/1 fsession_test/fsession_test:OK
> #135/2 fsession_test/fsession_reattach:OK
> #135/3 fsession_test/fsession_cookie:OK
> #135 fsession_test:OK
> Summary: 1/3 PASSED, 0 SKIPPED, 0 FAILED
>
> ./test_progs -t get_func
> #138 get_func_args_test:OK
> #139 get_func_ip_test:OK
> Summary: 2/0 PASSED, 0 SKIPPED, 0 FAILED
>
> Changes:
> v1 -> v2:
> * Add bpf_arch_supports_fsession().
>
Please fix the commit message issue detected by AI and then
For the series:
Acked-by: Puranjay Mohan <puranjay at kernel.org>
Tested-by: Puranjay Mohan <puranjay at kernel.org>
More information about the linux-arm-kernel
mailing list