From e54bcde3d69d40023ae77727213d14f920eb264a Mon Sep 17 00:00:00 2001 From: Zi Shen Lim Date: Tue, 26 Aug 2014 21:15:30 -0700 Subject: arm64: eBPF JIT compiler The JIT compiler emits A64 instructions. It supports eBPF only. Legacy BPF is supported thanks to conversion by BPF core. JIT is enabled in the same way as for other architectures: echo 1 > /proc/sys/net/core/bpf_jit_enable Or for additional compiler output: echo 2 > /proc/sys/net/core/bpf_jit_enable See Documentation/networking/filter.txt for more information. The implementation passes all 57 tests in lib/test_bpf.c on ARMv8 Foundation Model :) Also tested by Will on Juno platform. Signed-off-by: Zi Shen Lim Acked-by: Alexei Starovoitov Acked-by: Will Deacon Signed-off-by: Will Deacon --- arch/arm64/net/Makefile | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 arch/arm64/net/Makefile (limited to 'arch/arm64/net/Makefile') diff --git a/arch/arm64/net/Makefile b/arch/arm64/net/Makefile new file mode 100644 index 000000000000..da9763378284 --- /dev/null +++ b/arch/arm64/net/Makefile @@ -0,0 +1,4 @@ +# +# ARM64 networking code +# +obj-$(CONFIG_BPF_JIT) += bpf_jit_comp.o -- cgit v1.2.3-59-g8ed1b