selftests/bpf: Fix a few issues in arena_spin_lock
Status from this message: This series was applied to bpf/bpf-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | selftests/bpf: Fix arena_spin_lock.c build dependencytools/ | +0 | 0 replies | Applied |
| 2/3 | selftests/bpf: Fix arena_spin_lock on systems with less than 16 CPUstools/ | +8 | 0 replies | Applied |
| 3/3 | selftests/bpf: Fix endianness issue in __qspinlock declarationtools/ | +12 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] selftests/bpf: Fix a few issues in arena_spin_lock
Hi,
I tried running the arena_spin_lock test on s390x and ran into the following issues:
* Changing the header file does not lead to rebuilding the test.
* The checked for number of CPUs and the actually required number of CPUs are different.
* Endianness issue in spinlock definition.
This series fixes all three.
Best regards,
Ilya
Ilya Leoshkevich (3):
selftests/bpf: Fix arena_spin_lock.c build dependency selftests/bpf: Fix arena_spin_lock on systems with less than 16 CPUs selftests/bpf: Fix endianness issue in __qspinlock declaration
.../selftests/bpf/prog_tests/arena_spin_lock.c | 14 ++++++++------
.../bpf/{ => progs}/bpf_arena_spin_lock.h | 12 ++++++++++++
2 files changed, 20 insertions(+), 6 deletions(-)
rename tools/testing/selftests/bpf/{ => progs}/bpf_arena_spin_lock.h (98%)Signature · 1 line
2.49.0