Re: [PATCH bpf-next v7 00/10] bpf: Support aggregate return values up to 16 bytes

[email protected]
Newsgroups org.kernel.vger.bpf
Message-ID <178733522090.1415880.6317390395534862749.git-patchwork-notify@kernel.org>
Hello:

This series was applied to bpf/bpf-next.git (master)
by Eduard Zingerman <[email protected]>:

On Tue, 18 Aug 2026 22:52:39 -0700 you wrote:
> LLVM 23 can return an __int128, or a struct/union larger than 8 bytes and
> no larger than 16 bytes, in the BPF R0:R2 register pair [1][2]. Before
> that the BPF backend could not return such values at all: a by-value
> aggregate return was rejected at compile time with "aggregate returns are
> not supported", and an __int128 return failed in the backend with "unable
> to allocate function return #1".
> 
> [...]

Here is the summary with links:
  - [bpf-next,v7,01/10] bpf: Factor check_global_ret_scalar_reg() out of the global return check
    https://git.kernel.org/bpf/bpf-next/c/da13c047cda6
  - [bpf-next,v7,02/10] bpf: Add helpers to describe the R0:R2 return register pair
    https://git.kernel.org/bpf/bpf-next/c/cf5b96d95548
  - [bpf-next,v7,03/10] bpf: Wire up JIT support for 16-byte kfunc returns
    https://git.kernel.org/bpf/bpf-next/c/34c3503cb29a
  - [bpf-next,v7,04/10] bpf: Handle R2 as a return register in precision backtracking
    https://git.kernel.org/bpf/bpf-next/c/5bbb242c0859
  - [bpf-next,v7,05/10] bpf: Account R2 of register-pair returns in live register analysis
    https://git.kernel.org/bpf/bpf-next/c/991fb7823106
  - [bpf-next,v7,06/10] bpf: Add verifier support for 16-byte returns in R0:R2
    https://git.kernel.org/bpf/bpf-next/c/0630ad00d96d
  - [bpf-next,v7,07/10] bpf: Enable aggregate return types up to 16 bytes
    https://git.kernel.org/bpf/bpf-next/c/a2e98481a639
  - [bpf-next,v7,08/10] selftests/bpf: Add C tests for 16-byte returns in R0:R2
    https://git.kernel.org/bpf/bpf-next/c/7b7b511e0cf5
  - [bpf-next,v7,09/10] selftests/bpf: Add inline-asm and subprog tests for R0:R2 returns
    https://git.kernel.org/bpf/bpf-next/c/0b9fc795f83f
  - [bpf-next,v7,10/10] Documentation/bpf: Document up to 16-byte kfunc return values in R0:R2
    https://git.kernel.org/bpf/bpf-next/c/d50d9a06c86a

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.