riscv, bpf: fix reads of thread_info.cpu
Status from this message: This series was applied to riscv/linux.git (for-next)
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 | riscv, bpf: use lw when reading int cpu in BPF_MOV64_PERCPU_REGarch/ | +1 | 1 reply | Applied |
| 2/2 | riscv, bpf: use lw when reading int cpu in bpf_get_smp_processor_idarch/ | +1 | 1 reply | Applied |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Alexandre Ghiti | Björn Töpel | Pu Lehui |
|---|---|---|---|
| Series | R-b | A-b T-b | |
| 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. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 0/2] riscv, bpf: fix reads of thread_info.cpu
Hello,
These patches are related to a recently queued series [1] that fixes the same bugs in normal code. That series finishes with a patch that would have exposed the BPF bugs, but luckily it won't get merged until v6.18.
I don't know enough about BPF to verify that it emits the correct code now, so any pointers are welcome.
1: https://lore.kernel.org/linux-riscv/[email protected]/
Radim Krčmář (2):
riscv, bpf: use lw when reading int cpu in BPF_MOV64_PERCPU_REG riscv, bpf: use lw when reading int cpu in bpf_get_smp_processor_id
arch/riscv/net/bpf_jit_comp64.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.50.0