aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorLuke Nelson <lukenels@cs.washington.edu>2019-07-04 17:18:02 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2019-07-05 23:55:41 +0200
commit46dd3d7d287b4f1850a4fe02d74587b5375ec4ab (patch)
tree77cbab40bb36d28213a9cfc0d7a4252865f512ff /tools
parenttools: bpftool: Fix json dump crash on powerpc (diff)
downloadlinux-dev-46dd3d7d287b4f1850a4fe02d74587b5375ec4ab.tar.xz
linux-dev-46dd3d7d287b4f1850a4fe02d74587b5375ec4ab.zip
bpf, riscv: Enable zext optimization for more RV64G ALU ops
Commit 66d0d5a854a6 ("riscv: bpf: eliminate zero extension code-gen") added the new zero-extension optimization for some BPF ALU operations. Since then, bugs in the JIT that have been fixed in the bpf tree require this optimization to be added to other operations: commit 1e692f09e091 ("bpf, riscv: clear high 32 bits for ALU32 add/sub/neg/lsh/rsh/arsh"), and commit fe121ee531d1 ("bpf, riscv: clear target register high 32-bits for and/or/xor on ALU32"). Now that these have been merged to bpf-next, the zext optimization can be enabled for the fixed operations. Signed-off-by: Luke Nelson <luke.r.nels@gmail.com> Cc: Song Liu <liu.song.a23@gmail.com> Cc: Jiong Wang <jiong.wang@netronome.com> Cc: Xi Wang <xi.wang@gmail.com> Acked-by: Björn Töpel <bjorn.topel@gmail.com> Acked-by: Jiong Wang <jiong.wang@netronome.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions