From: patchwork-bot+netdevbpf@kernel.org
To: Daniel Borkmann <daniel@iogearbox.net>
Cc: bpf@vger.kernel.org, lkp@intel.com
Subject: Re: [PATCH bpf-next] bpf, x86: Mask the shift counts of the magic number division
Date: Sun, 18 Oct 2026 15:10:04 +0000 [thread overview]
Message-ID: <179233620462.1709764.3268728489775198543.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20261018113352.730799-1-daniel@iogearbox.net>
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel@iogearbox.net>:
On Sun, 18 Oct 2026 13:33:52 +0200 you wrote:
> The kernel test robot reports for a clang 22 randconfig with UBSAN
> and ThinLTO:
>
> vmlinux.o: error: objtool: do_jit(): unexpected end of section .text.do_jit
>
> Fix by masking the counts to their range like rol64() does, which keeps the
> shifts defined for the sanitizer and removes the __ubsan_handle_shift_out_of_bounds()
> checks. The counts are below 32 and 64 anyway, so the emitted code does not
> change. Reproduced with clang 20 and the robot's config without LTO.
>
> [...]
Here is the summary with links:
- [bpf-next] bpf, x86: Mask the shift counts of the magic number division
https://git.kernel.org/bpf/bpf-next/c/73a5accbfd21
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-10-18 15:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-18 11:33 [PATCH bpf-next] bpf, x86: Mask the shift counts of the magic number division Daniel Borkmann
2026-10-18 15:10 ` 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=179233620462.1709764.3268728489775198543.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=lkp@intel.com \
/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