Comment 6 for bug 1948351

Revision history for this message
Thadeu Lima de Souza Cascardo (cascardo) wrote : Re: linux ADT test_bpf failure with linux/5.4.0-90.101

Reading bionic commit 6e096fe0027f723f746f8179503784cb3579294a ("bpf/tests: Do not PASS tests without actually testing the result"), and looking at the specific failing tests, it looks to be the case that the test change has shown these failures starting now. Also included in focal.

There is a JIT bug on ppc64, fixed by upstream commit
8bbc9d822421d9ac8ff9ed26a3713c9afc69d6c8 ("powerpc/bpf: Fix BPF_MOD when imm == 1").

Testing with userspace, eBPF works fine, possibly because the verifier changes the code before giving it to JIT. However, cBPF fails. Both on 4.15.0-160 and 4.15.0-162, so not a regression.

Cascardo.