Thread (6 messages) 6 messages, 3 authors, 2026-03-24

Re: [PATCH bpf-next v6 0/2] bpf: Add multi-level pointer parameter support for trampolines

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-03-24 20:40:28
Also in: bpf, linux-kselftest, lkml

Hello:

This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov [off-list ref]:

On Sat, 14 Mar 2026 19:21:25 +1100 you wrote:
This is v6 of a series adding support for new pointer types for
trampoline parameters.

Originally, only support for multi-level pointers was proposed.
As suggested during review, it was extended to single-level pointers.
During discussion, it was proposed to add support for any single or
multi-level pointer type that is not a single-level pointer to a
structure, with the condition if (!btf_type_is_struct(t)). The safety
of this condition is based on BTF data verification performed for
modules and programs, and vmlinux BTF being trusted to not contain
invalid types, so it is not possible for invalid types, like
PTR->DATASEC, PTR->FUNC, PTR->VAR and corresponding multi-level
pointers, to reach btf_ctx_access.

[...]
Here is the summary with links:
  - [bpf-next,v6,1/2] bpf: Support pointer param types via SCALAR_VALUE for trampolines
    https://git.kernel.org/bpf/bpf-next/c/4145203841ba
  - [bpf-next,v6,2/2] selftests/bpf: Add trampolines single and multi-level pointer params test coverage
    https://git.kernel.org/bpf/bpf-next/c/e8571de53445

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help