[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250821140122.29752-1-yangtiezhu@loongson.cn>
Date: Thu, 21 Aug 2025 22:01:20 +0800
From: Tiezhu Yang <yangtiezhu@...ngson.cn>
To: Huacai Chen <chenhuacai@...nel.org>,
Hengqi Chen <hengqi.chen@...il.com>
Cc: loongarch@...ts.linux.dev,
bpf@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [RFC PATCH 0/2] LoongArch: BPF: Add more feature for trampoline
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@gmail.com/
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
Powered by blists - more mailing lists