Re: [PATCH bpf-next v5 00/17] bpf: Add 64bit enum value support

[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, 6 Jun 2022 23:25:54 -0700 you wrote:
> Currently, btf only supports upto 32bit enum value with BTF_KIND_ENUM.
> But in kernel, some enum has 64bit values, e.g., in uapi bpf.h, we have
>   enum {
>         BPF_F_INDEX_MASK                = 0xffffffffULL,
>         BPF_F_CURRENT_CPU               = BPF_F_INDEX_MASK,
>         BPF_F_CTXLEN_MASK               = (0xfffffULL << 32),
>   };
> With BTF_KIND_ENUM, the value for BPF_F_CTXLEN_MASK will be encoded
> as 0 which is incorrect.
> 
> [...]

Here is the summary with links:
  - [bpf-next,v5,01/17] bpf: Add btf enum64 support
    https://git.kernel.org/bpf/bpf-next/c/6089fb325cf7
  - [bpf-next,v5,02/17] libbpf: Permit 64bit relocation value
    https://git.kernel.org/bpf/bpf-next/c/776281652ddc
  - [bpf-next,v5,03/17] libbpf: Fix an error in 64bit relocation value computation
    https://git.kernel.org/bpf/bpf-next/c/b58b2b3a3122
  - [bpf-next,v5,04/17] libbpf: Refactor btf__add_enum() for future code sharing
    https://git.kernel.org/bpf/bpf-next/c/8479aa752226
  - [bpf-next,v5,05/17] libbpf: Add enum64 parsing and new enum64 public API
    https://git.kernel.org/bpf/bpf-next/c/dffbbdc2d988
  - [bpf-next,v5,06/17] libbpf: Add enum64 deduplication support
    https://git.kernel.org/bpf/bpf-next/c/2ef2026349cf
  - [bpf-next,v5,07/17] libbpf: Add enum64 support for btf_dump
    https://git.kernel.org/bpf/bpf-next/c/d90ec262b35b
  - [bpf-next,v5,08/17] libbpf: Add enum64 sanitization
    https://git.kernel.org/bpf/bpf-next/c/f2a625889bb8
  - [bpf-next,v5,09/17] libbpf: Add enum64 support for bpf linking
    https://git.kernel.org/bpf/bpf-next/c/6ec7d79be202
  - [bpf-next,v5,10/17] libbpf: Add enum64 relocation support
    https://git.kernel.org/bpf/bpf-next/c/23b2a3a8f63a
  - [bpf-next,v5,11/17] bpftool: Add btf enum64 support
    https://git.kernel.org/bpf/bpf-next/c/58a53978fdf6
  - [bpf-next,v5,12/17] selftests/bpf: Fix selftests failure
    https://git.kernel.org/bpf/bpf-next/c/d932815a4394
  - [bpf-next,v5,13/17] selftests/bpf: Test new enum kflag and enum64 API functions
    https://git.kernel.org/bpf/bpf-next/c/2b7301457ffe
  - [bpf-next,v5,14/17] selftests/bpf: Add BTF_KIND_ENUM64 unit tests
    https://git.kernel.org/bpf/bpf-next/c/3b5325186dfa
  - [bpf-next,v5,15/17] selftests/bpf: Test BTF_KIND_ENUM64 for deduplication
    https://git.kernel.org/bpf/bpf-next/c/adc26d134ef3
  - [bpf-next,v5,16/17] selftests/bpf: Add a test for enum64 value relocations
    https://git.kernel.org/bpf/bpf-next/c/f4db3dd5284d
  - [bpf-next,v5,17/17] docs/bpf: Update documentation for BTF_KIND_ENUM64 support
    https://git.kernel.org/bpf/bpf-next/c/61dbd5982964

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