1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-12 01:20:14 +00:00
Chenghao Duan 73721d8676 LoongArch: BPF: Enhance the bpf_arch_text_poke() function
Enhance the bpf_arch_text_poke() function to enable accurate location
of BPF program entry points.

When modifying the entry point of a BPF program, skip the "move t0, ra"
instruction to ensure the correct logic and copy of the jump address.

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>
2025-12-31 15:19:21 +08:00
..
2025-12-11 08:01:52 +09:00
2025-12-13 16:09:10 +12:00
2025-12-20 11:49:49 -08:00
2025-12-10 12:17:29 +09:00
2025-12-03 17:24:33 -08:00
2025-12-06 18:38:19 -08:00
2025-12-13 16:09:10 +12:00
2025-12-06 09:25:05 -08:00
2025-12-21 14:41:29 -08:00
2025-12-06 18:38:19 -08:00