On Wed, 01 Apr 2026 06:32:14 -0400, [email protected] wrote:
> Provision the private stack as a per-CPU allocation during
> bpf_int_jit_compile(). Align the stack to 16 bytes and place guard
> regions at both ends to detect runtime stack overflow and underflow.
>
> Round the private stack size up to the nearest 16-byte boundary.
> Make each guard region 16 bytes to preserve the required overall
> 16-byte alignment. When private stack is set, skip bpf stack size
> accounting in kernel stack.
>
> [...]
Applied to powerpc/next.
[1/2] powerpc64/bpf: Implement JIT support for private stack
https://git.kernel.org/powerpc/c/156d985123b6d6e5189cfd0286b93c12167ae798
[2/2] selftests/bpf: Enable private stack tests for powerpc64
https://git.kernel.org/powerpc/c/e640bcd1bf83dbdaa967b20cd98a782d52ec89cf
cheers