From: patchwork-bot+netdevbpf@kernel.org
To: Yonghong Song <yonghong.song@linux.dev>
Cc: bpf@vger.kernel.org, ast@kernel.org, andrii@kernel.org,
daniel@iogearbox.net, eddyz87@gmail.com, kernel-team@fb.com
Subject: Re: [PATCH bpf-next v6 0/2] libbpf: Fix CO-RE relocations of unsigned 32-bit enum values
Date: Tue, 24 Nov 2026 03:30:06 +0000 [thread overview]
Message-ID: <179549100653.3259463.11833009507292610295.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20261124000514.2955878-1-yonghong.song@linux.dev>
Hello:
This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@kernel.org>:
On Mon, 23 Nov 2026 16:05:14 -0800 you wrote:
> For a BPF_CORE_ENUMVAL_VALUE relocation, libbpf sign-extends the value
> of a 32-bit enumerator even if the enum is unsigned. A value in
> [0x80000000, 0xffffffff], e.g., DCACHE_PRIVATE of enum dentry_flags,
> then doesn't match the zero-extended value clang emits, and the whole
> object is refused. And a target value in that range is patched
> sign-extended.
>
> [...]
Here is the summary with links:
- [bpf-next,v6,1/2] libbpf: Fix CO-RE relocations of unsigned 32-bit enum values
https://git.kernel.org/bpf/bpf-next/c/4fad237494f1
- [bpf-next,v6,2/2] selftests/bpf: Test CO-RE relocations of unsigned 32-bit enum values
https://git.kernel.org/bpf/bpf-next/c/885fd5836d3d
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2026-11-24 3:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 0:05 [PATCH bpf-next v6 0/2] libbpf: Fix CO-RE relocations of unsigned 32-bit enum values Yonghong Song
2026-11-24 0:05 ` [PATCH bpf-next v6 1/2] " Yonghong Song
2026-11-24 0:05 ` [PATCH bpf-next v6 2/2] selftests/bpf: Test " Yonghong Song
2026-11-24 3:30 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179549100653.3259463.11833009507292610295.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=eddyz87@gmail.com \
--cc=kernel-team@fb.com \
--cc=yonghong.song@linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox