BPF List
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Fix the failure issue of the module_attach test case
@ 2025-12-12  9:10 Chenghao Duan
  2025-12-12  9:11 ` [PATCH v2 1/4] LoongArch: ftrace: Refactor register restoration in ftrace_common_return Chenghao Duan
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Chenghao Duan @ 2025-12-12  9:10 UTC (permalink / raw)
  To: yangtiezhu, hengqi.chen, chenhuacai
  Cc: kernel, zhangtianyang, masahiroy, linux-kernel, loongarch, bpf,
	duanchenghao, youling.tang, jianghaoran, vincent.mc.li

V2:
Referring to Tiezhu's suggestion, split the v1 patch titled
"LoongArch: Modify the jump logic of the trampoline" into three parts:
 (1) ftrace code
 (2) sample test
 (3) bpf code
The code logic and implementation remain unchanged.

--------------------------Changelog------------------------------------
v1:
links: https://lore.kernel.org/all/20251209093405.1309253-1-duanchenghao@kylinos.cn/
The following test cases under the tools/testing/selftests/bpf/
directory have passed the test:

./test_progs -t module_attach
./test_progs -t module_fentry_shadow
./test_progs -t subprogs
./test_progs -t subprogs_extable
./test_progs -t tailcalls
./test_progs -t struct_ops -d struct_ops_multi_pages
./test_progs -t fexit_bpf2bpf
./test_progs -t fexit_stress
./test_progs -t module_fentry_shadow
./test_progs -t fentry_test/fentry
./test_progs -t fexit_test/fexit
./test_progs -t fentry_fexit
./test_progs -t modify_return
./test_progs -t fexit_sleep
./test_progs -t test_overhead
./test_progs -t trampoline_count

Chenghao Duan (4):
  LoongArch: ftrace: Refactor register restoration in
    ftrace_common_return
  ftrace: samples: Adjust register stack restore order in direct call
    trampolines
  LoongArch: BPF: Enhance trampoline support for kernel and module
    tracing
  LoongArch: BPF: Enable BPF exception fixup for specific ADE subcode

 arch/loongarch/kernel/mcount_dyn.S          | 14 +++++---
 arch/loongarch/kernel/traps.c               |  8 ++++-
 arch/loongarch/net/bpf_jit.c                | 38 +++++++++++++++------
 samples/ftrace/ftrace-direct-modify.c       |  8 ++---
 samples/ftrace/ftrace-direct-multi-modify.c |  8 ++---
 samples/ftrace/ftrace-direct-multi.c        |  4 +--
 samples/ftrace/ftrace-direct-too.c          |  4 +--
 samples/ftrace/ftrace-direct.c              |  4 +--
 8 files changed, 58 insertions(+), 30 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-12-15  2:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-12  9:10 [PATCH v2 0/4] Fix the failure issue of the module_attach test case Chenghao Duan
2025-12-12  9:11 ` [PATCH v2 1/4] LoongArch: ftrace: Refactor register restoration in ftrace_common_return Chenghao Duan
2025-12-12  9:11 ` [PATCH v2 2/4] ftrace: samples: Adjust register stack restore order in direct call trampolines Chenghao Duan
2025-12-12  9:11 ` [PATCH v2 3/4] LoongArch: BPF: Enhance trampoline support for kernel and module tracing Chenghao Duan
2025-12-14 12:36   ` Tiezhu Yang
2025-12-15  2:32     ` Chenghao Duan
2025-12-12  9:11 ` [PATCH v2 4/4] LoongArch: BPF: Enable BPF exception fixup for specific ADE subcode Chenghao Duan
2025-12-13 13:16   ` Huacai Chen
2025-12-15  2:18     ` Chenghao Duan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox