bpf: JIT and interpreter fixes
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v8 Latest10 patches 1 replyApplied
- v710 patches 1 replySuperseded
- v69 patches 5 repliesSuperseded
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v5 | 9 patches | 4 replies | Superseded | |
| v4 | 7 patches | 4 replies | Superseded | |
| v3 | 6 patches | 6 replies | Superseded | |
| v2 | 6 patches | 1 reply | Superseded |
Patches in v8 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | bpf/x86: fix JIT encoding of fixed-width immediateslib/ | +3 | 0 replies | |
| 2/10 | test/bpf: add JSET test with small immediateapp/ | +82 | 0 replies | |
| 3/10 | bpf: mask shift count in interpreter per RFC 9669lib/ | +21 | 0 replies | |
| 4/10 | bpf/arm64: mask shift count per RFC 9669lib/ | +10 | 0 replies | |
| 5/10 | test/bpf: add test for large shiftapp/ | +59 | 0 replies | |
| 6/10 | bpf/arm64: fix offset type to allow a negative jumplib/ | +3 | 0 replies | |
| 7/10 | Subject: [PATCH 07/10] bpf/arm64: add BPF_ABS/BPF_IND packet load supportlib/ | +187 | 0 replies | |
| 8/10 | test/bpf: check that JIT was generatedapp/ lib/ | +10 | 0 replies | |
| 9/10 | test/bpf: check that bpf_convert can be JIT'dapp/ | +100 | 0 replies | |
| 10/10 | bpf: fix uninitialized warninglib/ | +1 | 0 replies |
Reviews trailers per patch
All 10 patches have a Reviewed-by or Acked-by.
| Patch | Marat Khalili | Konstantin Ananyev |
|---|---|---|
| 1/10 | A-b | A-b |
| 2/10 | A-b | A-b |
| 3/10 | A-b | A-b |
| 4/10 | A-b | A-b |
| 5/10 | A-b | A-b |
| 6/10 | A-b | A-b |
| 7/10 | A-b | A-b |
| 8/10 | A-b | A-b |
| 9/10 | A-b | A-b |
| 10/10 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v8 00/10] bpf: JIT and interpreter fixes
BPF fixes, mostly in the JIT backends. Bugzilla 1959 and 1427.
The existing JIT tests were never run on arm64, which is how the gaps here went unnoticed. The tests now fail rather than skip when a JIT backend exists but produces nothing.
Tested on x86_64 and arm64.
Christophe Fontaine (1):
bpf/arm64: fix offset type to allow a negative jump
Stephen Hemminger (9):
bpf/x86: fix JIT encoding of fixed-width immediates test/bpf: add JSET test with small immediate
bpf: mask shift count in interpreter per RFC 9669 bpf/arm64: mask shift count per RFC 9669
test/bpf: add test for large shift
Subject: [PATCH 07/10] bpf/arm64: add BPF_ABS/BPF_IND packet load
support
test/bpf: check that JIT was generated
test/bpf: check that bpf_convert can be JIT'd
bpf: fix uninitialized warning
app/test/test_bpf.c | 320 +++++++++++++++++++++++++++++++--------- lib/bpf/bpf_exec.c | 31 ++-- lib/bpf/bpf_jit_arm64.c | 204 ++++++++++++++++++++++++- lib/bpf/bpf_jit_x86.c | 6 +- lib/bpf/bpf_validate.c | 2 +- lib/bpf/meson.build | 2 + 6 files changed, 476 insertions(+), 89 deletions(-)
Signature · 1 line
2.53.0