diff options
| author | Yonghong Song <yonghong.song@linux.dev> | 2026-09-12 12:52:27 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-09-12 20:54:18 -0700 |
| commit | 00cfeb9554e2513cc721acdf5679bd26dcf24e02 (patch) | |
| tree | c5725a15556b62867c253d080fc15530e62b92dd /include/linux | |
| parent | 4dd676ca5b7a3bdc18e217bdd618c5e73016aee4 (diff) | |
| download | linux-next-00cfeb9554e2513cc721acdf5679bd26dcf24e02.tar.gz linux-next-00cfeb9554e2513cc721acdf5679bd26dcf24e02.zip | |
bpf: Support __int128 as a by-value function argument
A 128-bit integer follows the same calling convention as a 16-byte
by-value struct: LLVM emits it as a 16-byte BTF_KIND_INT and passes it in
two consecutive argument registers. So a __int128 gets its two slots.
The test added at the start of the series, which recorded the wrong
register map as an R4 !read_ok rejection, now passes and is flipped to
__success.
Signed-off-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20260912195227.987991-1-yonghong.song@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
