Re: [PATCH 2/2] powerpc/bpf: Reject atomic ops in ppc32 JIT

From
Naveen N. Rao <hidden>
Date
2021-07-01 19:36:54
Also in
bpf
Reply to
Christophe Leroy, 2021-07-01
Christophe Leroy wrote:

Le 01/07/2021 à 17:08, Naveen N. Rao a écrit :
quoted
Commit 91c960b0056672 ("bpf: Rename BPF_XADD and prepare to encode other
atomics in .imm") converted BPF_XADD to BPF_ATOMIC and updated all JIT
implementations to reject JIT'ing instructions with an immediate value
different from BPF_ADD. However, ppc32 BPF JIT was implemented around
the same time and didn't include the same change. Update the ppc32 JIT
accordingly.

Signed-off-by: Naveen N. Rao <redacted>
Shouldn't it also include a Fixes tag and stable Cc as PPC32 eBPF was added in 5.13 ?
Yes, I wasn't sure which patch to actually blame. But you're right, this should have the below fixes tag since this affects the ppc32 eBPF JIT.
Fixes: 51c66ad849a7 ("powerpc/bpf: Implement extended BPF on PPC32")
Cc: <redacted>
Cc: <redacted> # v5.13


Thanks,
- Naveen
Thread (10 messages) 10 messages, 5 authors, last reply 2021-07-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help