powerpc/bpf: Various fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | powerpc/lib: Add helper to check if offset is within conditional branch rangearch/ arch/ arch/ | +8 | 0 replies | |
| 2/5 | powerpc/bpf: Validate branch rangesarch/ arch/ | +26 | 0 replies | |
| 3/5 | powerpc/bpf: Fix BPF_SUB when imm == 0x80000000arch/ | +17 | 0 replies | |
| 4/5 | powerpc/security: Add a helper to query stf_barrier typearch/ arch/ | +10 | 0 replies | |
| 5/5 | powerpc/bpf: Emit stf barrier instruction sequences for BPF_NOSPECarch/ arch/ | +56 | 0 replies |
Reviews trailers per patch
3 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Johan Almbladh | Christophe Leroy | Song Liu |
|---|---|---|---|
| 1/5 | R-b | A-b | |
| 2/5 | T-b A-b | R-b | A-b |
| 3/5 | R-b | ||
| 4/5 | |||
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 5.4 0/5] powerpc/bpf: Various fixes
This is a backport of the remaining patches from the below series:
https://lore.kernel.org/all/[email protected]/
Kindly apply to the longterm tree for v5.4
Thanks,
Naveen
Naveen N. Rao (5):
powerpc/lib: Add helper to check if offset is within conditional
branch range
powerpc/bpf: Validate branch ranges
powerpc/bpf: Fix BPF_SUB when imm == 0x80000000 powerpc/security: Add a helper to query stf_barrier type powerpc/bpf: Emit stf barrier instruction sequences for BPF_NOSPEC
arch/powerpc/include/asm/code-patching.h | 1 + arch/powerpc/include/asm/security_features.h | 5 ++ arch/powerpc/kernel/security.c | 5 ++ arch/powerpc/lib/code-patching.c | 7 +- arch/powerpc/net/bpf_jit.h | 33 ++++--- arch/powerpc/net/bpf_jit64.h | 8 +- arch/powerpc/net/bpf_jit_comp64.c | 91 ++++++++++++++++---- 7 files changed, 117 insertions(+), 33 deletions(-)
base-commit: c65356f0f7268b1260dd64415c2145e73640872e
Signature · 1 line
2.33.1