net:test_bpf.sh in ubuntu_kernel_selftests 74 sub tests failed with "bpf-jit: not supported: atomic operation ##" on F-5.15 RISCV
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned |
Bug Description
Issue found with 5.15.0-
This is not a regression, this failure can be found in older kernels as well, we just don't have a proper bug for RISCV.
74 sub tests failed with:
test_bpf: #313 BPF_ATOMIC | BPF_W, BPF_ADD | BPF_FETCH: Test: 0x12 + 0xab = 0xbd
bpf-jit: not supported: atomic operation 01 ***
FAIL to select_runtime err=-524
test_bpf: #314 BPF_ATOMIC | BPF_W, BPF_ADD | BPF_FETCH: Test side effects, r10: 0x12 + 0xab = 0xbd
bpf-jit: not supported: atomic operation 01 ***
FAIL to select_runtime err=-524
test_bpf: #315 BPF_ATOMIC | BPF_W, BPF_ADD | BPF_FETCH: Test side effects, r0: 0x12 + 0xab = 0xbd
bpf-jit: not supported: atomic operation 01 ***
FAIL to select_runtime err=-524
test_bpf: #316 BPF_ATOMIC | BPF_W, BPF_ADD | BPF_FETCH: Test fetch: 0x12 + 0xab = 0xbd
bpf-jit: not supported: atomic operation 01 ***
FAIL to select_runtime err=-524
test_bpf: #317 BPF_ATOMIC | BPF_DW, BPF_ADD: Test: 0x12 + 0xab = 0xbd jited:1 275 PASS
test_bpf: #318 BPF_ATOMIC | BPF_DW, BPF_ADD: Test side effects, r10: 0x12 + 0xab = 0xbd jited:1 268 PASS
test_bpf: #319 BPF_ATOMIC | BPF_DW, BPF_ADD: Test side effects, r0: 0x12 + 0xab = 0xbd jited:1 316 PASS
test_bpf: #320 BPF_ATOMIC | BPF_DW, BPF_ADD: Test fetch: 0x12 + 0xab = 0xbd jited:1 391 PASS
test_bpf: #321 BPF_ATOMIC | BPF_DW, BPF_ADD | BPF_FETCH: Test: 0x12 + 0xab = 0xbd
bpf-jit: not supported: atomic operation 01 ***
FAIL to select_runtime err=-524
test_bpf: #322 BPF_ATOMIC | BPF_DW, BPF_ADD | BPF_FETCH: Test side effects, r10: 0x12 + 0xab = 0xbd
bpf-jit: not supported: atomic operation 01 ***
FAIL to select_runtime err=-524
test_bpf: #323 BPF_ATOMIC | BPF_DW, BPF_ADD | BPF_FETCH: Test side effects, r0: 0x12 + 0xab = 0xbd
bpf-jit: not supported: atomic operation 01 ***
FAIL to select_runtime err=-524
test_bpf: #324 BPF_ATOMIC | BPF_DW, BPF_ADD | BPF_FETCH: Test fetch: 0x12 + 0xab = 0xbd
bpf-jit: not supported: atomic operation 01 ***
FAIL to select_runtime err=-524
test_bpf: #325 BPF_ATOMIC | BPF_W, BPF_AND: Test: 0x12 & 0xab = 0x02
bpf-jit: not supported: atomic operation 50 ***
FAIL to select_runtime err=-524
test_bpf: #326 BPF_ATOMIC | BPF_W, BPF_AND: Test side effects, r10: 0x12 & 0xab = 0x02
bpf-jit: not supported: atomic operation 50 ***
FAIL to select_runtime err=-524
test_bpf: #327 BPF_ATOMIC | BPF_W, BPF_AND: Test side effects, r0: 0x12 & 0xab = 0x02
bpf-jit: not supported: atomic operation 50 ***
FAIL to select_runtime err=-524
test_bpf: #328 BPF_ATOMIC | BPF_W, BPF_AND: Test fetch: 0x12 & 0xab = 0x02
bpf-jit: not supported: atomic operation 50 ***
FAIL to select_runtime err=-524
test_bpf: #329 BPF_ATOMIC | BPF_W, BPF_AND | BPF_FETCH: Test: 0x12 & 0xab = 0x02
bpf-jit: not supported: atomic operation 51 ***
FAIL to select_runtime err=-524
test_bpf: #330 BPF_ATOMIC | BPF_W, BPF_AND | BPF_FETCH: Test side effects, r10: 0x12 & 0xab = 0x02
bpf-jit: not supported: atomic operation 51 ***
FAIL to select_runtime err=-524
test_bpf: #331 BPF_ATOMIC | BPF_W, BPF_AND | BPF_FETCH: Test side effects, r0: 0x12 & 0xab = 0x02
bpf-jit: not supported: atomic operation 51 ***
FAIL to select_runtime err=-524
test_bpf: #332 BPF_ATOMIC | BPF_W, BPF_AND | BPF_FETCH: Test fetch: 0x12 & 0xab = 0x02
bpf-jit: not supported: atomic operation 51 ***
FAIL to select_runtime err=-524
test_bpf: #333 BPF_ATOMIC | BPF_DW, BPF_AND: Test: 0x12 & 0xab = 0x02
bpf-jit: not supported: atomic operation 50 ***
FAIL to select_runtime err=-524
test_bpf: #334 BPF_ATOMIC | BPF_DW, BPF_AND: Test side effects, r10: 0x12 & 0xab = 0x02
bpf-jit: not supported: atomic operation 50 ***
FAIL to select_runtime err=-524
test_bpf: #335 BPF_ATOMIC | BPF_DW, BPF_AND: Test side effects, r0: 0x12 & 0xab = 0x02
bpf-jit: not supported: atomic operation 50 ***
FAIL to select_runtime err=-524
test_bpf: #336 BPF_ATOMIC | BPF_DW, BPF_AND: Test fetch: 0x12 & 0xab = 0x02
bpf-jit: not supported: atomic operation 50 ***
FAIL to select_runtime err=-524
test_bpf: #337 BPF_ATOMIC | BPF_DW, BPF_AND | BPF_FETCH: Test: 0x12 & 0xab = 0x02
bpf-jit: not supported: atomic operation 51 ***
FAIL to select_runtime err=-524
test_bpf: #338 BPF_ATOMIC | BPF_DW, BPF_AND | BPF_FETCH: Test side effects, r10: 0x12 & 0xab = 0x02
bpf-jit: not supported: atomic operation 51 ***
FAIL to select_runtime err=-524
test_bpf: #339 BPF_ATOMIC | BPF_DW, BPF_AND | BPF_FETCH: Test side effects, r0: 0x12 & 0xab = 0x02
bpf-jit: not supported: atomic operation 51 ***
FAIL to select_runtime err=-524
test_bpf: #340 BPF_ATOMIC | BPF_DW, BPF_AND | BPF_FETCH: Test fetch: 0x12 & 0xab = 0x02
bpf-jit: not supported: atomic operation 51 ***
FAIL to select_runtime err=-524
test_bpf: #341 BPF_ATOMIC | BPF_W, BPF_OR: Test: 0x12 | 0xab = 0xbb
bpf-jit: not supported: atomic operation 40 ***
FAIL to select_runtime err=-524
test_bpf: #342 BPF_ATOMIC | BPF_W, BPF_OR: Test side effects, r10: 0x12 | 0xab = 0xbb
bpf-jit: not supported: atomic operation 40 ***
FAIL to select_runtime err=-524
test_bpf: #343 BPF_ATOMIC | BPF_W, BPF_OR: Test side effects, r0: 0x12 | 0xab = 0xbb
bpf-jit: not supported: atomic operation 40 ***
FAIL to select_runtime err=-524
test_bpf: #344 BPF_ATOMIC | BPF_W, BPF_OR: Test fetch: 0x12 | 0xab = 0xbb
bpf-jit: not supported: atomic operation 40 ***
FAIL to select_runtime err=-524
test_bpf: #345 BPF_ATOMIC | BPF_W, BPF_OR | BPF_FETCH: Test: 0x12 | 0xab = 0xbb
bpf-jit: not supported: atomic operation 41 ***
FAIL to select_runtime err=-524
test_bpf: #346 BPF_ATOMIC | BPF_W, BPF_OR | BPF_FETCH: Test side effects, r10: 0x12 | 0xab = 0xbb
bpf-jit: not supported: atomic operation 41 ***
FAIL to select_runtime err=-524
test_bpf: #347 BPF_ATOMIC | BPF_W, BPF_OR | BPF_FETCH: Test side effects, r0: 0x12 | 0xab = 0xbb
bpf-jit: not supported: atomic operation 41 ***
FAIL to select_runtime err=-524
test_bpf: #348 BPF_ATOMIC | BPF_W, BPF_OR | BPF_FETCH: Test fetch: 0x12 | 0xab = 0xbb
bpf-jit: not supported: atomic operation 41 ***
FAIL to select_runtime err=-524
test_bpf: #349 BPF_ATOMIC | BPF_DW, BPF_OR: Test: 0x12 | 0xab = 0xbb
bpf-jit: not supported: atomic operation 40 ***
FAIL to select_runtime err=-524
test_bpf: #350 BPF_ATOMIC | BPF_DW, BPF_OR: Test side effects, r10: 0x12 | 0xab = 0xbb
bpf-jit: not supported: atomic operation 40 ***
FAIL to select_runtime err=-524
test_bpf: #351 BPF_ATOMIC | BPF_DW, BPF_OR: Test side effects, r0: 0x12 | 0xab = 0xbb
bpf-jit: not supported: atomic operation 40 ***
FAIL to select_runtime err=-524
test_bpf: #352 BPF_ATOMIC | BPF_DW, BPF_OR: Test fetch: 0x12 | 0xab = 0xbb
bpf-jit: not supported: atomic operation 40 ***
FAIL to select_runtime err=-524
test_bpf: #353 BPF_ATOMIC | BPF_DW, BPF_OR | BPF_FETCH: Test: 0x12 | 0xab = 0xbb
bpf-jit: not supported: atomic operation 41 ***
FAIL to select_runtime err=-524
test_bpf: #354 BPF_ATOMIC | BPF_DW, BPF_OR | BPF_FETCH: Test side effects, r10: 0x12 | 0xab = 0xbb
bpf-jit: not supported: atomic operation 41 ***
FAIL to select_runtime err=-524
test_bpf: #355 BPF_ATOMIC | BPF_DW, BPF_OR | BPF_FETCH: Test side effects, r0: 0x12 | 0xab = 0xbb
bpf-jit: not supported: atomic operation 41 ***
FAIL to select_runtime err=-524
test_bpf: #356 BPF_ATOMIC | BPF_DW, BPF_OR | BPF_FETCH: Test fetch: 0x12 | 0xab = 0xbb
bpf-jit: not supported: atomic operation 41 ***
FAIL to select_runtime err=-524
test_bpf: #357 BPF_ATOMIC | BPF_W, BPF_XOR: Test: 0x12 ^ 0xab = 0xb9
bpf-jit: not supported: atomic operation a0 ***
FAIL to select_runtime err=-524
test_bpf: #358 BPF_ATOMIC | BPF_W, BPF_XOR: Test side effects, r10: 0x12 ^ 0xab = 0xb9
bpf-jit: not supported: atomic operation a0 ***
FAIL to select_runtime err=-524
test_bpf: #359 BPF_ATOMIC | BPF_W, BPF_XOR: Test side effects, r0: 0x12 ^ 0xab = 0xb9
bpf-jit: not supported: atomic operation a0 ***
FAIL to select_runtime err=-524
test_bpf: #360 BPF_ATOMIC | BPF_W, BPF_XOR: Test fetch: 0x12 ^ 0xab = 0xb9
bpf-jit: not supported: atomic operation a0 ***
FAIL to select_runtime err=-524
test_bpf: #361 BPF_ATOMIC | BPF_W, BPF_XOR | BPF_FETCH: Test: 0x12 ^ 0xab = 0xb9
bpf-jit: not supported: atomic operation a1 ***
FAIL to select_runtime err=-524
test_bpf: #362 BPF_ATOMIC | BPF_W, BPF_XOR | BPF_FETCH: Test side effects, r10: 0x12 ^ 0xab = 0xb9
bpf-jit: not supported: atomic operation a1 ***
FAIL to select_runtime err=-524
test_bpf: #363 BPF_ATOMIC | BPF_W, BPF_XOR | BPF_FETCH: Test side effects, r0: 0x12 ^ 0xab = 0xb9
bpf-jit: not supported: atomic operation a1 ***
FAIL to select_runtime err=-524
test_bpf: #364 BPF_ATOMIC | BPF_W, BPF_XOR | BPF_FETCH: Test fetch: 0x12 ^ 0xab = 0xb9
bpf-jit: not supported: atomic operation a1 ***
FAIL to select_runtime err=-524
test_bpf: #365 BPF_ATOMIC | BPF_DW, BPF_XOR: Test: 0x12 ^ 0xab = 0xb9
bpf-jit: not supported: atomic operation a0 ***
FAIL to select_runtime err=-524
test_bpf: #366 BPF_ATOMIC | BPF_DW, BPF_XOR: Test side effects, r10: 0x12 ^ 0xab = 0xb9
bpf-jit: not supported: atomic operation a0 ***
FAIL to select_runtime err=-524
test_bpf: #367 BPF_ATOMIC | BPF_DW, BPF_XOR: Test side effects, r0: 0x12 ^ 0xab = 0xb9
bpf-jit: not supported: atomic operation a0 ***
FAIL to select_runtime err=-524
test_bpf: #368 BPF_ATOMIC | BPF_DW, BPF_XOR: Test fetch: 0x12 ^ 0xab = 0xb9
bpf-jit: not supported: atomic operation a0 ***
FAIL to select_runtime err=-524
test_bpf: #369 BPF_ATOMIC | BPF_DW, BPF_XOR | BPF_FETCH: Test: 0x12 ^ 0xab = 0xb9
bpf-jit: not supported: atomic operation a1 ***
FAIL to select_runtime err=-524
test_bpf: #370 BPF_ATOMIC | BPF_DW, BPF_XOR | BPF_FETCH: Test side effects, r10: 0x12 ^ 0xab = 0xb9
bpf-jit: not supported: atomic operation a1 ***
FAIL to select_runtime err=-524
test_bpf: #371 BPF_ATOMIC | BPF_DW, BPF_XOR | BPF_FETCH: Test side effects, r0: 0x12 ^ 0xab = 0xb9
bpf-jit: not supported: atomic operation a1 ***
FAIL to select_runtime err=-524
test_bpf: #372 BPF_ATOMIC | BPF_DW, BPF_XOR | BPF_FETCH: Test fetch: 0x12 ^ 0xab = 0xb9
bpf-jit: not supported: atomic operation a1 ***
FAIL to select_runtime err=-524
test_bpf: #373 BPF_ATOMIC | BPF_W, BPF_XCHG: Test: 0x12 xchg 0xab = 0xab
bpf-jit: not supported: atomic operation e1 ***
FAIL to select_runtime err=-524
test_bpf: #374 BPF_ATOMIC | BPF_W, BPF_XCHG: Test side effects, r10: 0x12 xchg 0xab = 0xab
bpf-jit: not supported: atomic operation e1 ***
FAIL to select_runtime err=-524
test_bpf: #375 BPF_ATOMIC | BPF_W, BPF_XCHG: Test side effects, r0: 0x12 xchg 0xab = 0xab
bpf-jit: not supported: atomic operation e1 ***
FAIL to select_runtime err=-524
test_bpf: #376 BPF_ATOMIC | BPF_W, BPF_XCHG: Test fetch: 0x12 xchg 0xab = 0xab
bpf-jit: not supported: atomic operation e1 ***
FAIL to select_runtime err=-524
test_bpf: #377 BPF_ATOMIC | BPF_DW, BPF_XCHG: Test: 0x12 xchg 0xab = 0xab
bpf-jit: not supported: atomic operation e1 ***
FAIL to select_runtime err=-524
test_bpf: #378 BPF_ATOMIC | BPF_DW, BPF_XCHG: Test side effects, r10: 0x12 xchg 0xab = 0xab
bpf-jit: not supported: atomic operation e1 ***
FAIL to select_runtime err=-524
test_bpf: #379 BPF_ATOMIC | BPF_DW, BPF_XCHG: Test side effects, r0: 0x12 xchg 0xab = 0xab
bpf-jit: not supported: atomic operation e1 ***
FAIL to select_runtime err=-524
test_bpf: #380 BPF_ATOMIC | BPF_DW, BPF_XCHG: Test fetch: 0x12 xchg 0xab = 0xab
bpf-jit: not supported: atomic operation e1 ***
FAIL to select_runtime err=-524
test_bpf: #381 BPF_ATOMIC | BPF_W, BPF_CMPXCHG: Test successful return
bpf-jit: not supported: atomic operation f1 ***
FAIL to select_runtime err=-524
test_bpf: #382 BPF_ATOMIC | BPF_W, BPF_CMPXCHG: Test successful store
bpf-jit: not supported: atomic operation f1 ***
FAIL to select_runtime err=-524
test_bpf: #383 BPF_ATOMIC | BPF_W, BPF_CMPXCHG: Test failure return
bpf-jit: not supported: atomic operation f1 ***
FAIL to select_runtime err=-524
test_bpf: #384 BPF_ATOMIC | BPF_W, BPF_CMPXCHG: Test failure store
bpf-jit: not supported: atomic operation f1 ***
FAIL to select_runtime err=-524
test_bpf: #385 BPF_ATOMIC | BPF_W, BPF_CMPXCHG: Test side effects
bpf-jit: not supported: atomic operation f1 ***
FAIL to select_runtime err=-524
test_bpf: #386 BPF_ATOMIC | BPF_DW, BPF_CMPXCHG: Test successful return
bpf-jit: not supported: atomic operation f1 ***
FAIL to select_runtime err=-524
test_bpf: #387 BPF_ATOMIC | BPF_DW, BPF_CMPXCHG: Test successful store
bpf-jit: not supported: atomic operation f1 ***
FAIL to select_runtime err=-524
test_bpf: #388 BPF_ATOMIC | BPF_DW, BPF_CMPXCHG: Test failure return
bpf-jit: not supported: atomic operation f1 ***
FAIL to select_runtime err=-524
test_bpf: #389 BPF_ATOMIC | BPF_DW, BPF_CMPXCHG: Test failure store
bpf-jit: not supported: atomic operation f1 ***
FAIL to select_runtime err=-524
test_bpf: #390 BPF_ATOMIC | BPF_DW, BPF_CMPXCHG: Test side effects
bpf-jit: not supported: atomic operation f1 ***
FAIL to select_runtime err=-524
test_bpf: Summary: 503 PASSED, 74 FAILED, [491/491 JIT'ed]
Please find attachment for the complete test_bpf.sh test log.