s390/bpf: Replace ly instruction with llgf
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 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | s390/bpf: Replace ly instruction with llgfarch/ | +2 | 0 replies | Applied |
| 2/2 | selftests/bpf: Add test for bpf_get_smp_processor_idtools/ tools/ | +65 | 0 replies | Applied |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Ilya Leoshkevich |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH bpf-next 0/2] s390/bpf: Replace ly instruction with llgf
Sashiko found a bug [1] in 9012cf2491e3, where upper bits of a 64-bit register are not zero-extended after ly instruction in used.
Tested:
./test_progs -v -t get_smp_processor_id
[1] https://sashiko.dev/#/patchset/20260414142930.528751-1-max%40linux.ibm.com
Maxim Khmelevskii (2):
s390/bpf: Replace ly instruction with llgf selftests/bpf: Add test for bpf_get_smp_processor_id
arch/s390/net/bpf_jit_comp.c | 4 +- .../bpf/prog_tests/get_smp_processor_id.c | 45 +++++++++++++++++++ .../bpf/progs/get_smp_processor_id.c | 20 +++++++++ 3 files changed, 67 insertions(+), 2 deletions(-) create mode 100644 tools/testing/selftests/bpf/prog_tests/get_smp_processor_id.c create mode 100644 tools/testing/selftests/bpf/progs/get_smp_processor_id.c
Signature · 1 line
2.54.0