Re: [PATCH] selftests/bpf: Fix chained_global_func_calls_success() for cpu v4

[email protected]
Newsgroups org.kernel.vger.bpf
Message-ID <178663877455.2948096.7160178725216923389.git-patchwork-notify@kernel.org>
Hello:

This patch was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <[email protected]>:

On Thu, 13 Aug 2026 08:06:41 -0700 you wrote:
> The chained_global_func_calls_success() test hardcodes the instruction
> counts reported by the verifier's per-subprog stats:
> 
>   subprog {{[0-9]+}} (global_good) global insns_self 5 insns_total 5 stack
>   processed 14 insns
> 
> global_good() does 'return arr[0]', where arr[] is an int array and the
> return type is long. Without cpu v4 this is a zero-extending load
> followed by a <<32/s>>32 sign-extension pair. With -mcpu=v4 llvm emits a
> single sign-extending load instead:
> 
> [...]

Here is the summary with links:
  - selftests/bpf: Fix chained_global_func_calls_success() for cpu v4
    https://git.kernel.org/bpf/bpf-next/c/9786d424a36b

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.