From: Hari Bathini <hbathini@linux.ibm.com>
To: linuxppc-dev <linuxppc-dev@lists.ozlabs.org>
Cc: bpf@vger.kernel.org, Madhavan Srinivasan <maddy@linux.ibm.com>,
Alexei Starovoitov <ast@kernel.org>,
Daniel Borkmann <daniel@iogearbox.net>,
Andrii Nakryiko <andrii@kernel.org>,
Saket Kumar Bhaskar <skb99@linux.ibm.com>,
Abhishek Dubey <adubey@linux.ibm.com>,
Venkat Rao Bagalkote <venkat88@linux.ibm.com>
Subject: [PATCH v4 0/6] powerpc64/bpf: various fixes
Date: Tue, 3 Mar 2026 23:40:24 +0530 [thread overview]
Message-ID: <20260303181031.390073-1-hbathini@linux.ibm.com> (raw)
List of fixes for powerpc64 BPF JIT:
- Patches 1, 2 & 6 fix issues with existing powerpc64 JIT and are
tagged for -stable.
- Patches 3 & 4 resolve issues with bpf2bpf tailcall support added
recently.
- Patch 5 resolves an issue reported by bot+bpf-ci@kernel.org while
adding exceptions support on powerpc64 BPF JIT.
Changes since v3:
- Fixed a minor issue in zero_extend() helper in patch 6 as pointed
out by bot+bpf-ci@kernel.org.
Changes since v2:
- Added Tested-by tag from Venkat on patches 1, 2 & 4.
- Patches 6 added to fix kfunc call ABI issue on powerpc.
- Fixed a few comments on Abhishek's suggestion.
Changes since v1:
- Addressed couple of review comments from bot+bpf-ci@kernel.org
in patch 3 & 5.
Hari Bathini (6):
powerpc64/bpf: do not increment tailcall count when prog is NULL
powerpc64/bpf: fix the address returned by bpf_get_func_ip
powerpc64/bpf: use consistent tailcall offset in trampoline
powerpc64/bpf: remove BPF redzone protection in trampoline stack
powerpc64/bpf: fix handling of BPF stack in exception callback
powerpc64/bpf: fix kfunc call support
arch/powerpc/net/bpf_jit.h | 5 -
arch/powerpc/net/bpf_jit_comp.c | 127 +++++++++------------
arch/powerpc/net/bpf_jit_comp64.c | 181 +++++++++++++++++++++++-------
3 files changed, 199 insertions(+), 114 deletions(-)
--
2.53.0
next reply other threads:[~2026-03-03 18:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-03 18:10 Hari Bathini [this message]
2026-03-03 18:10 ` [PATCH v4 1/6] powerpc64/bpf: do not increment tailcall count when prog is NULL Hari Bathini
2026-03-03 18:10 ` [PATCH v4 2/6] powerpc64/bpf: fix the address returned by bpf_get_func_ip Hari Bathini
2026-03-03 18:10 ` [PATCH v4 3/6] powerpc64/bpf: use consistent tailcall offset in trampoline Hari Bathini
2026-03-03 18:10 ` [PATCH v4 4/6] powerpc64/bpf: remove BPF redzone protection in trampoline stack Hari Bathini
2026-03-03 18:10 ` [PATCH v4 5/6] powerpc64/bpf: fix handling of BPF stack in exception callback Hari Bathini
2026-03-03 18:10 ` [PATCH v4 6/6] powerpc64/bpf: fix kfunc call support Hari Bathini
2026-03-11 2:14 ` [PATCH v4 0/6] powerpc64/bpf: various fixes Madhavan Srinivasan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260303181031.390073-1-hbathini@linux.ibm.com \
--to=hbathini@linux.ibm.com \
--cc=adubey@linux.ibm.com \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=maddy@linux.ibm.com \
--cc=skb99@linux.ibm.com \
--cc=venkat88@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox