aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
diff options
context:
space:
mode:
authorChenghao Duan <[email protected]>2025-08-05 11:00:18 +0000
committerHuacai Chen <[email protected]>2025-08-05 11:00:18 +0000
commitf9b6b41f0cf31791541cea9644ddbedb46465801 (patch)
treee7d609dddd607ab68d7aff226a3a0af7eddf2e29 /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
parentLoongArch: BPF: Add dynamic code modification support (diff)
downloadkernel-f9b6b41f0cf31791541cea9644ddbedb46465801.tar.gz
kernel-f9b6b41f0cf31791541cea9644ddbedb46465801.zip
LoongArch: BPF: Add basic bpf trampoline support
BPF trampoline is the critical infrastructure of the BPF subsystem, acting as a mediator between kernel functions and BPF programs. Numerous important features, such as using BPF program for zero overhead kernel introspection, rely on this key component. The related tests have passed, including the following technical points: 1. fentry 2. fmod_ret 3. fexit The following related testcases passed on LoongArch: sudo ./test_progs -a fentry_test/fentry sudo ./test_progs -a fexit_test/fexit sudo ./test_progs -a fentry_fexit sudo ./test_progs -a modify_return sudo ./test_progs -a fexit_sleep sudo ./test_progs -a test_overhead sudo ./test_progs -a trampoline_count This issue was first reported by Geliang Tang in June 2024 while debugging MPTCP BPF selftests on a LoongArch machine (see commit eef0532e900c "selftests/bpf: Null checks for links in bpf_tcp_ca"). Geliang, Huacai, and Tiezhu then worked together to drive the implementation of this feature, encouraging broader collaboration among Chinese kernel engineers. Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Reported-by: Geliang Tang <[email protected]> Tested-by: Tiezhu Yang <[email protected]> Tested-by: Vincent Li <[email protected]> Co-developed-by: George Guo <[email protected]> Signed-off-by: George Guo <[email protected]> Signed-off-by: Chenghao Duan <[email protected]> Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions