summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <memxor@gmail.com>2026-09-06 16:25:32 +0200
committerKumar Kartikeya Dwivedi <memxor@gmail.com>2026-09-06 16:26:14 +0200
commitb0ca562e0d05cf7afedcfa71c9aed180b72bcc97 (patch)
tree173ba32cba45f965d63e55e236bdc3e14034fb64 /scripts/Makefile.thinlto
parent3ccdb07813829ba9487273e75d1cb238cfa774c1 (diff)
parent7687f1cbbaf8f17cddce4dd5c23a610c5c9a17f3 (diff)
downloadlinux-next-b0ca562e0d05cf7afedcfa71c9aed180b72bcc97.tar.gz
linux-next-b0ca562e0d05cf7afedcfa71c9aed180b72bcc97.zip
Merge branch 'add-bpf-stack-arguments-support-for-rv64'
Pu Lehui says: ==================== Add bpf stack arguments support for RV64 Implement bpf_jit_supports_stack_args() on RV64 JIT to allow bpf subprogs and kfuncs to pass and receive more than 5 arguments. Tested on riscv64 QEMU with LLVM main [1]; BPF-to-BPF and kfunc selftests pass. [1] https://github.com/llvm/llvm-project/pull/189060 --- Changes in v5: - Add RV_EXTRA_STK_ARGS macro to represent the exceeding stack args passed in riscv arg regs. (BPF CI) - Optimize emit_stack_arg_st() by materializing immediates directly into destination registers. (BPF CI) - Update stale comments. (BPF CI and sashiko) Changes in v4: - Remap BPF_REG_0 and RV_REG_TCC to align the calling convention of bpf2bpf and kfunc calls with the riscv abi. - Adapt the bpf stack arguments implementation based on change 1. Changes in v3: - Drop the exceptions.c guard change: the guarded programs use bpf_throw(), unsupported by the RV64 JIT, so the test is denylisted on riscv64 and the guard has no effect. (BPF CI) - Link to v2: https://lore.kernel.org/r/20260813-bpf-riscv-stack-args-v2-0-efea8f9b3fe1@kylinos.cn Changes in v2: - Sign-extend 32-bit kfunc arguments passed on the stack (args 9+), matching the register path and the RISC-V psABI. (Sashiko) - Restrict the riscv selftest guard to __riscv_xlen == 64 so the tests are not enabled on RV32. (Sashiko) - Link to v1: https://lore.kernel.org/r/20260812-bpf-riscv-stack-args-v1-0-67b246806e59@kylinos.cn ==================== Acked-by: Björn Töpel <bjorn@kernel.org> Link: https://patch.msgid.link/20260905085857.14143-1-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