bpf, arm64: Remove duplicated bpf_flush_icache()
Subsystems (3)
PATCH 1/1 bpf, arm64: Remove duplicated bpf_flush_icache()
The bpf_flush_icache() is done by bpf_arch_text_copy() already. Remove the duplicated one in arch_prepare_bpf_trampoline().
Signed-off-by Hengqi Chen <[email protected]>
--- arch/arm64/net/bpf_jit_comp.c | 1 - 1 file changed, 1 deletion(-)
arch/arm64/net/bpf_jit_comp.c +0 -1
@@ -2773,7 +2773,6 @@ int arch_prepare_bpf_trampoline(struct bpf_tramp_image *im, void *ro_image, goto out; } -bpf_flush_icache (ro_image, ro_image + size); out:kvfree (image);return ret;
Signature · 1 line
2.43.5
Quoted 22 lines · Hengqi Chen
The
bpf_flush_icache()is done bybpf_arch_text_copy()already. Remove the duplicated one inarch_prepare_bpf_trampoline().Signed-off-by Hengqi Chen <[email protected]>--- arch/arm64/net/bpf_jit_comp.c | 1 - 1 file changed, 1 deletion(-)arch/arm64/net/bpf_jit_comp.c +0
-1@@ -2773,7 +2773,6 @@ int arch_prepare_bpf_trampoline(struct bpf_tramp_image *im, void *ro_image, goto out; } -bpf_flush_icache (ro_image, ro_image + size); out:kvfree (image);return ret;Signature · 1 line
2.43.5
Acked-by Puranjay Mohan <[email protected]>
Thanks,
Puranjay
This patch was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <[email protected]>:
Hello:
This patch was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <[email protected]>:
Quoted 7 lines · On Thu, 4 Sep 2025 07:57:03 +0000 you wrote:
The
bpf_flush_icache()is done bybpf_arch_text_copy()already. Remove the duplicated one inarch_prepare_bpf_trampoline().Signed-off-by Hengqi Chen <[email protected]>--- arch/arm64/net/bpf_jit_comp.c | 1 - 1 file changed, 1 deletion(-)
Here is the summary with links:
- [bpf-next] bpf, arm64: Remove duplicated bpf_flush_icache()
https://git.kernel.org/bpf/bpf-next/c/929adf8838f7
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html