Re: [PATCH bpf-next v2 0/3] arm64 BPF JIT Optimizations

2020-05-11 Thread Will Deacon
On Fri, 8 May 2020 11:15:43 -0700, Luke Nelson wrote: > This patch series introduces several optimizations to the arm64 BPF JIT. > The optimizations make use of arm64 immediate instructions to avoid > loading BPF immediates to temporary registers, when possible. > > In the process, we discovered t

[PATCH bpf-next v2 0/3] arm64 BPF JIT Optimizations

2020-05-08 Thread Luke Nelson
This patch series introduces several optimizations to the arm64 BPF JIT. The optimizations make use of arm64 immediate instructions to avoid loading BPF immediates to temporary registers, when possible. In the process, we discovered two bugs in the logical immediate encoding function in arch/arm64