Re: [PATCH bpf-next v4 00/10] no_caller_saved_registers attribute for helper calls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Mon, 22 Jul 2024 16:38:34 -0700 you wrote:
> This patch-set seeks to allow using no_caller_saved_registers gcc/clang
> attribute with some BPF helper functions (and kfuncs in the future).
> 
> As documented in [1], this attribute means that function scratches
> only some of the caller saved registers defined by ABI.
> For BPF the set of such registers could be defined as follows:
> - R0 is scratched only if function is non-void;
> - R1-R5 are scratched only if corresponding parameter type is defined
>   in the function prototype.
> 
> [...]

Here is the summary with links:
  - [bpf-next,v4,01/10] bpf: add a get_helper_proto() utility function
    https://git.kernel.org/bpf/bpf-next/c/19b0934f0b13
  - [bpf-next,v4,02/10] bpf: no_caller_saved_registers attribute for helper calls
    https://git.kernel.org/bpf/bpf-next/c/c473f709550f
  - [bpf-next,v4,03/10] bpf, x86, riscv, arm: no_caller_saved_registers for bpf_get_smp_processor_id()
    https://git.kernel.org/bpf/bpf-next/c/a5a0f95ba4e9
  - [bpf-next,v4,04/10] selftests/bpf: extract utility function for BPF disassembly
    https://git.kernel.org/bpf/bpf-next/c/67b1c158c54e
  - [bpf-next,v4,05/10] selftests/bpf: print correct offset for pseudo calls in disasm_insn()
    https://git.kernel.org/bpf/bpf-next/c/9f3e5a694b03
  - [bpf-next,v4,06/10] selftests/bpf: no need to track next_match_pos in struct test_loader
    https://git.kernel.org/bpf/bpf-next/c/0bbaa40df698
  - [bpf-next,v4,07/10] selftests/bpf: extract test_loader->expect_msgs as a data structure
    https://git.kernel.org/bpf/bpf-next/c/a70c32d65ec7
  - [bpf-next,v4,08/10] selftests/bpf: allow checking xlated programs in verifier_* tests
    https://git.kernel.org/bpf/bpf-next/c/69c992268830
  - [bpf-next,v4,09/10] selftests/bpf: __arch_* macro to limit test cases to specific archs
    https://git.kernel.org/bpf/bpf-next/c/c64d2f72bf2e
  - [bpf-next,v4,10/10] selftests/bpf: test no_caller_saved_registers spill/fill removal
    https://git.kernel.org/bpf/bpf-next/c/2daa48f6e400

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






[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux