[PATCH 0/3] bpf: fsession support for LoongArch

Hengqi Chen
2026-02-26T07:00:09Z

This small set implements fsession support for LoongArch.

Patch 1 introduces a helper named emit_store_stack_imm64().
Patch 2 implements fsession support.
Patch 3 enable fsession selftests on LoongArch.

Hengqi Chen (3):
LoongArch: BPF: Introduce emit_store_stack_imm64() helper
LoongArch: BPF: Add fsession support for trampolines
bpf/selftests: Enable fsession tests for LoongArch

arch/loongarch/net/bpf_jit.c | 100 ++++++++++++++----
.../selftests/bpf/progs/get_func_args_test.c | 3 +-
.../selftests/bpf/progs/get_func_ip_test.c | 3 +-
3 files changed, 83 insertions(+), 23 deletions(-)

--
2.43.5