Re: [PATCH] arm64: bpf: jit JMP_JSET_{X,K}

2016-05-14 Thread David Miller
From: Will Deacon Date: Fri, 13 May 2016 11:03:07 +0100 > On Fri, May 13, 2016 at 10:57:18AM +0100, Will Deacon wrote: >> On Thu, May 12, 2016 at 11:37:58PM -0700, Zi Shen Lim wrote: >> > Original implementation commit e54bcde3d69d ("arm64: eBPF JIT compiler") >> > had the relevant code paths, bu

Re: [PATCH] arm64: bpf: jit JMP_JSET_{X,K}

2016-05-13 Thread Shi, Yang
On 5/12/2016 11:37 PM, Zi Shen Lim wrote: Original implementation commit e54bcde3d69d ("arm64: eBPF JIT compiler") had the relevant code paths, but due to an oversight always fail jiting. As a result, we had been falling back to BPF interpreter whenever a BPF program has JMP_JSET_{X,K} instructi

Re: [PATCH] arm64: bpf: jit JMP_JSET_{X,K}

2016-05-13 Thread Will Deacon
On Fri, May 13, 2016 at 10:57:18AM +0100, Will Deacon wrote: > On Thu, May 12, 2016 at 11:37:58PM -0700, Zi Shen Lim wrote: > > Original implementation commit e54bcde3d69d ("arm64: eBPF JIT compiler") > > had the relevant code paths, but due to an oversight always fail jiting. > > > > As a result,

Re: [PATCH] arm64: bpf: jit JMP_JSET_{X,K}

2016-05-13 Thread Will Deacon
On Thu, May 12, 2016 at 11:37:58PM -0700, Zi Shen Lim wrote: > Original implementation commit e54bcde3d69d ("arm64: eBPF JIT compiler") > had the relevant code paths, but due to an oversight always fail jiting. > > As a result, we had been falling back to BPF interpreter whenever a BPF > program h

[PATCH] arm64: bpf: jit JMP_JSET_{X,K}

2016-05-12 Thread Zi Shen Lim
Original implementation commit e54bcde3d69d ("arm64: eBPF JIT compiler") had the relevant code paths, but due to an oversight always fail jiting. As a result, we had been falling back to BPF interpreter whenever a BPF program has JMP_JSET_{X,K} instructions. With this fix, we confirm that the cor