linux/arch/loongarch/net
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: 677e6123e3 ("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>
History 2025-12-31 15:19:21 +08:00
..
bpf_jit.c LoongArch: BPF: Enhance the bpf_arch_text_poke() function 2025-12-31 15:19:21 +08:00
bpf_jit.h LoongArch: BPF: Sign extend kfunc call arguments 2025-12-31 15:19:20 +08:00
Makefile LoongArch: Add BPF JIT support 2022-10-12 16:36:20 +08:00