All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next] bpf, arm64: Remove duplicated bpf_flush_icache()
@ 2025-09-04  7:57 Hengqi Chen
  2025-09-04 14:03 ` Puranjay Mohan
  2025-09-04 16:10 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Hengqi Chen @ 2025-09-04  7:57 UTC (permalink / raw)
  To: ast, daniel, andrii, martin.lau, puranjay, xukuohai; +Cc: bpf, Hengqi Chen

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 <hengqi.chen@gmail.com>
---
 arch/arm64/net/bpf_jit_comp.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm64/net/bpf_jit_comp.c b/arch/arm64/net/bpf_jit_comp.c
index a98b8132479a..f0b1cb2c3bc4 100644
--- a/arch/arm64/net/bpf_jit_comp.c
+++ b/arch/arm64/net/bpf_jit_comp.c
@@ -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;
-- 
2.43.5



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-09-04 16:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-04  7:57 [PATCH bpf-next] bpf, arm64: Remove duplicated bpf_flush_icache() Hengqi Chen
2025-09-04 14:03 ` Puranjay Mohan
2025-09-04 16:10 ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.