[PATCH bpf-next v2 0/2] bpf: Inline helper in powerpc JIT

Puranjay Mohan puranjay at kernel.org
Tue Nov 18 23:16:16 AEDT 2025


Saket Kumar Bhaskar <skb99 at linux.ibm.com> writes:

> 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(+)

For both the patches:

Reviewed-by: Puranjay Mohan <puranjay at kernel.org>


More information about the Linuxppc-dev mailing list