summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorPu Lehui <pulehui@huawei.com>2026-09-05 08:58:55 +0000
committerKumar Kartikeya Dwivedi <memxor@gmail.com>2026-09-06 16:25:52 +0200
commitf80a09c486e7c2a0e4ca43dbff7570df668484c5 (patch)
treee0917092c6688e4d9c7f682a9c82e650a7fc21db /scripts/Makefile.thinlto
parent3ccdb07813829ba9487273e75d1cb238cfa774c1 (diff)
downloadlinux-next-f80a09c486e7c2a0e4ca43dbff7570df668484c5.tar.gz
linux-next-f80a09c486e7c2a0e4ca43dbff7570df668484c5.zip
riscv, bpf: Remap BPF_REG_0 and RV_REG_TCC
To prepare for supporting bpf stack arguments and unifying the calling convention between bpf2bpf calls and kfunc calls, remap BPF_REG_0 to t6 and RV_REG_TCC to t5. In the riscv abi, a0-a7 are designated for function argument passing. Freeing a5 and a6 allows bpf2bpf calls to pass extra arguments (6th to 8th) via a5-a7 consistently with kfuncs. Signed-off-by: Pu Lehui <pulehui@huawei.com> Acked-by: Björn Töpel <bjorn@kernel.org> Link: https://lore.kernel.org/bpf/20260905085857.14143-2-pulehui@huaweicloud.com Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions