arm64: bpf: add 'load 64-bit immediate' instruction
authorZi Shen Lim <zlim.lnx@gmail.com>
Tue, 16 Sep 2014 20:29:23 +0000 (21:29 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 20 Oct 2014 16:47:03 +0000 (17:47 +0100)
commit30d3d94cc3d507a23dcb09e5c365464e4aa9f580
tree61915f1797c20cb0c0cca32d97cf81d1734298a5
parentd65a634a0acefd6b6e8718e2399b6771ccb17b24
arm64: bpf: add 'load 64-bit immediate' instruction

Commit 02ab695bb37e (net: filter: add "load 64-bit immediate" eBPF
instruction) introduced a new eBPF instruction. Let's add support
for this for arm64 as well.

Our arm64 eBPF JIT compiler now passes the new "load 64-bit
immediate" test case introduced in the same commit 02ab695bb37e.

Signed-off-by: Zi Shen Lim <zlim.lnx@gmail.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/net/bpf_jit_comp.c