MIPS: Add support for eBPF JIT.
authorDavid Daney <[email protected]>
Tue, 13 Jun 2017 22:28:46 +0000 (15:28 -0700)
committerRalf Baechle <[email protected]>
Wed, 28 Jun 2017 10:22:39 +0000 (12:22 +0200)
commitf381bf6d82f032b7410185b35d000ea370ac706b
tree0c50070022073f6da8484cf44a301dba4220b0e0
parentdc190129f1c16e025a42a9c3717de7ed47fc6e2f
MIPS: Add support for eBPF JIT.

Since the eBPF machine has 64-bit registers, we only support this in
64-bit kernels.  As of the writing of this commit log test-bpf is showing:

  test_bpf: Summary: 316 PASSED, 0 FAILED, [308/308 JIT'ed]

All current test cases are successfully compiled.

Many examples in samples/bpf are usable, specifically tracex5 which
uses tail calls works.

Signed-off-by: David Daney <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: Markos Chandras <[email protected]>
Cc: Matt Redfearn <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/16369/
Signed-off-by: Ralf Baechle <[email protected]>
arch/mips/Kconfig
arch/mips/net/Makefile