public inbox for bpf@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next] riscv, bpf: Remove duplicated bpf_flush_icache()
@ 2025-09-04 10:51 Hengqi Chen
  2025-09-05  1:55 ` Pu Lehui
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Hengqi Chen @ 2025-09-04 10:51 UTC (permalink / raw)
  To: ast, daniel, andrii, martin.lau, bjorn, pulehui, puranjay
  Cc: bpf, linux-riscv, 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/riscv/net/bpf_jit_comp64.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/riscv/net/bpf_jit_comp64.c b/arch/riscv/net/bpf_jit_comp64.c
index c7ae4d0a8361..3fcc011c6be4 100644
--- a/arch/riscv/net/bpf_jit_comp64.c
+++ b/arch/riscv/net/bpf_jit_comp64.c
@@ -1305,7 +1305,6 @@ int arch_prepare_bpf_trampoline(struct bpf_tramp_image *im, void *ro_image,
 		goto out;
 	}
 
-	bpf_flush_icache(ro_image, ro_image_end);
 out:
 	kvfree(image);
 	return ret < 0 ? ret : size;
-- 
2.45.2


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

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-04 10:51 [PATCH bpf-next] riscv, bpf: Remove duplicated bpf_flush_icache() Hengqi Chen
2025-09-05  1:55 ` Pu Lehui
2025-09-15 11:30 ` patchwork-bot+netdevbpf
2025-10-09  1:06 ` patchwork-bot+linux-riscv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox