Please ignore the previous version, the code is a mess. Sorry for the noise, this version fixed the mess code. This is a RFC series, based on Hengqi's series [1]: LoongArch: Fix BPF trampoline related issues The initial aim is to pass the following related testcase: sudo ./test_progs -a tracing_struct/struct_args sudo ./test_progs -a tracing_struct/struct_many_args sudo ./test_progs -a fentry_test/fentry_many_args sudo ./test_progs -a fexit_test/fexit_many_args but there exist some other problems now, maybe it is related with the following failed testcase: sudo ./test_progs -t module_attach so just RFC for now, I will address the comments and send a formal series once there are no problems. [1] https://lore.kernel.org/loongarch/20250821091003.404870-1-hengqi.chen@xxxxxxxxx/ Tiezhu Yang (2): LoongArch: BPF: Add struct arguments support for trampoline LoongArch: BPF: Add 12 function arguments support for trampoline arch/loongarch/net/bpf_jit.c | 84 ++++++++++++++++++++++++++---------- 1 file changed, 61 insertions(+), 23 deletions(-) -- 2.42.0