summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChenghao Duan <duanchenghao@kylinos.cn>2025-12-31 15:19:20 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2025-12-31 15:19:20 +0800
commitd314e1f48260cef3f869e3edc02a02c8a48b08e1 (patch)
tree9b649b9fa10717d8b36d4d0ead364ad69a6605aa /include
parenteb71f5c433e1c6dff089b315881dec40a88a7baf (diff)
LoongArch: BPF: Save return address register ra to t0 before trampoline
Modify the build_prologue() function to ensure the return address register ra is saved to t0 before entering trampoline operations. This change ensures the accurate return address handling when a BPF program calls another BPF program, preventing errors in the BPF-to-BPF call chain. Cc: stable@vger.kernel.org Fixes: 677e6123e3d2 ("LoongArch: BPF: Disable trampoline for kernel module function trace") Signed-off-by: Chenghao Duan <duanchenghao@kylinos.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions