BPF List
 help / color / mirror / Atom feed
* [PATCH v2 bpf-next 0/2] bpf: Recognize special arithmetic shift in the verifier
@ 2025-11-15  2:26 Alexei Starovoitov
  2025-11-15  2:26 ` [PATCH v2 bpf-next 1/2] " Alexei Starovoitov
  2025-11-15  2:26 ` [PATCH v2 bpf-next 2/2] selftests/bpf: Add tests for s>>=31 and s>>=63 Alexei Starovoitov
  0 siblings, 2 replies; 7+ messages in thread
From: Alexei Starovoitov @ 2025-11-15  2:26 UTC (permalink / raw)
  To: bpf; +Cc: daniel, andrii, martin.lau, sunhao.th, kernel-team

From: Alexei Starovoitov <ast@kernel.org>

v1->v2:
Use __mark_reg32_known() or __mark_reg_known() for zero too.
Add comment to selftest.

v1:
https://lore.kernel.org/bpf/20251114031039.63852-1-alexei.starovoitov@gmail.com/

Alexei Starovoitov (2):
  bpf: Recognize special arithmetic shift in the verifier
  selftests/bpf: Add tests for s>>=31 and s>>=63

 kernel/bpf/verifier.c                         | 32 ++++++++++++++
 .../selftests/bpf/progs/verifier_subreg.c     | 43 +++++++++++++++++++
 2 files changed, 75 insertions(+)

-- 
2.47.3


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-11-15 16:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-15  2:26 [PATCH v2 bpf-next 0/2] bpf: Recognize special arithmetic shift in the verifier Alexei Starovoitov
2025-11-15  2:26 ` [PATCH v2 bpf-next 1/2] " Alexei Starovoitov
2025-11-15  2:48   ` Eduard Zingerman
2025-11-15  2:26 ` [PATCH v2 bpf-next 2/2] selftests/bpf: Add tests for s>>=31 and s>>=63 Alexei Starovoitov
2025-11-15  2:53   ` Eduard Zingerman
2025-11-15  3:01   ` bot+bpf-ci
2025-11-15 16:00     ` Alexei Starovoitov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox