All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 5.4 0/2] Revert BPF selftest fixes in 5.4.y
@ 2022-08-24 14:43 Jean-Philippe Brucker
  2022-08-24 14:43 ` [PATCH 5.4 1/2] Revert "selftests/bpf: Fix "dubious pointer arithmetic" test" Jean-Philippe Brucker
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jean-Philippe Brucker @ 2022-08-24 14:43 UTC (permalink / raw)
  To: stable; +Cc: gregkh, raajeshdasari, ovidiu.panait, Jean-Philippe Brucker

Rajesh reports [1] that the test_align BPF selftest is broken in
5.4.210. Three patches were added since 5.4.209:

(A) 7c1134c7da99 ("bpf: Verifer, adjust_scalar_min_max_vals to always call update_reg_bounds()")
(B) 6a9b3f0f3bad ("selftests/bpf: Fix test_align verifier log patterns")
(C) 6098562ed9df ("selftests/bpf: Fix "dubious pointer arithmetic" test")

(A) fixes an issue in the BPF verifier, which changes the verifier trace
output. (B) fixes those trace changes in the selftests.

Unfortunately (B) also address changes to the verifier output from other
patches that weren't backported to v5.4, so the test now fails.
(C) also addresses a different verifier change that is not in v5.4.

Therefore revert (C), and partially revert (B).

[1] https://lore.kernel.org/all/CAPXMrf-C5XEUfOJd3GCtgtHOkc8DxDGbLxE5=GFmr+Py0zKxJA@mail.gmail.com/

Jean-Philippe Brucker (2):
  Revert "selftests/bpf: Fix "dubious pointer arithmetic" test"
  Revert "selftests/bpf: Fix test_align verifier log patterns"

 tools/testing/selftests/bpf/test_align.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

-- 
2.37.1


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

end of thread, other threads:[~2022-08-25 11:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-24 14:43 [PATCH 5.4 0/2] Revert BPF selftest fixes in 5.4.y Jean-Philippe Brucker
2022-08-24 14:43 ` [PATCH 5.4 1/2] Revert "selftests/bpf: Fix "dubious pointer arithmetic" test" Jean-Philippe Brucker
2022-08-24 14:43 ` [PATCH 5.4 2/2] Revert "selftests/bpf: Fix test_align verifier log patterns" Jean-Philippe Brucker
2022-08-25 11:57 ` [PATCH 5.4 0/2] Revert BPF selftest fixes in 5.4.y Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.