linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf-next v2 0/2] bpf: Inline helper in powerpc JIT
@ 2025-11-17  6:52 Saket Kumar Bhaskar
  2025-11-17  6:52 ` [PATCH bpf-next v2 1/2] powerpc64/bpf: Support internal-only MOV instruction to resolve per-CPU addrs Saket Kumar Bhaskar
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Saket Kumar Bhaskar @ 2025-11-17  6:52 UTC (permalink / raw)
  To: bpf, linuxppc-dev, linux-kernel
  Cc: hbathini, sachinpb, venkat88, andrii, eddyz87, ast, daniel,
	martin.lau, song, yonghong.song, john.fastabend, kpsingh, sdf,
	haoluo, jolsa, christophe.leroy, naveen, maddy, mpe, npiggin

This series add support for internal only per-CPU instructions,
inlines the bpf_get_smp_processor_id() and bpf_get_current_task()
helper calls for powerpc BPF JIT.

Changes since v1:
* Addressed Christophe's comments.
* Inlined bpf_get_current_task() as well.

v1: https://lore.kernel.org/all/20250311160955.825647-1-skb99@linux.ibm.com/ 

Saket Kumar Bhaskar (2):
  powerpc64/bpf: Support internal-only MOV instruction to resolve
    per-CPU addrs
  powerpc64/bpf: Inline bpf_get_smp_processor_id() and
    bpf_get_current_task()

 arch/powerpc/net/bpf_jit_comp.c   | 16 ++++++++++++++++
 arch/powerpc/net/bpf_jit_comp64.c | 19 +++++++++++++++++++
 2 files changed, 35 insertions(+)

-- 
2.51.0



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

end of thread, other threads:[~2025-11-25 10:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-17  6:52 [PATCH bpf-next v2 0/2] bpf: Inline helper in powerpc JIT Saket Kumar Bhaskar
2025-11-17  6:52 ` [PATCH bpf-next v2 1/2] powerpc64/bpf: Support internal-only MOV instruction to resolve per-CPU addrs Saket Kumar Bhaskar
2025-11-25 10:02   ` Christophe Leroy (CS GROUP)
2025-11-17  6:52 ` [PATCH bpf-next v2 2/2] powerpc64/bpf: Inline bpf_get_smp_processor_id() and bpf_get_current_task() Saket Kumar Bhaskar
2025-11-25 10:15   ` Christophe Leroy (CS GROUP)
2025-11-18 12:16 ` [PATCH bpf-next v2 0/2] bpf: Inline helper in powerpc JIT Puranjay Mohan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).