[PATCH v4 0/6] powerpc64/bpf: various fixes
From: Hari Bathini <hbathini@linux.ibm.com>
Date: 2026-03-03 18:10:56
Also in:
bpf
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