Thread (1 message) 1 message, 1 author, 2023-05-15

Re: [PATCH bpf-next v2] arm64,bpf: Support struct arguments in the BPF trampoline

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2023-05-15 19:20:25
Also in: bpf, lkml

Hello:

This patch was applied to bpf/bpf-next.git (master)
by Daniel Borkmann [off-list ref]:

On Thu, 11 May 2023 16:05:07 +0200 you wrote:
This extends the BPF trampoline JIT to support attachment to functions
that take small structures (up to 128bit) as argument. This is trivially
achieved by saving/restoring a number of "argument registers" rather
than a number of arguments.

The AAPCS64 section 6.8.2 describes the parameter passing ABI.
"Composite types" (like C structs) below 16 bytes (as enforced by the
BPF verifier) are provided as part of the 8 argument registers as
explained in the section C.12.

[...]
Here is the summary with links:
  - [bpf-next,v2] arm64,bpf: Support struct arguments in the BPF trampoline
    https://git.kernel.org/bpf/bpf-next/c/90564f1e3dd6

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



_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help