summaryrefslogtreecommitdiffstats
path: root/certs
diff options
context:
space:
mode:
authorHassan Naveed2019-03-12 23:48:06 +0100
committerPaul Burton2019-03-19 23:26:08 +0100
commit6c2c8a18886897226ee43e77c0149a8e1874274a (patch)
tree2abf18905b92953ba76ae86bff01f56357fa7b06 /certs
parentMIPS: uasm: Add div, mul and sel instructions for mipsr6 (diff)
downloadkernel-qcow2-linux-6c2c8a18886897226ee43e77c0149a8e1874274a.tar.gz
kernel-qcow2-linux-6c2c8a18886897226ee43e77c0149a8e1874274a.tar.xz
kernel-qcow2-linux-6c2c8a18886897226ee43e77c0149a8e1874274a.zip
MIPS: eBPF: Provide eBPF support for MIPS64R6
Currently eBPF support is available on MIPS64R2 only. Use MIPS64R6 variants of instructions like multiply, divide, movn, movz so eBPF can run on the newer ISA. Also, we only need to check ISA revision before JIT'ing code, because we know the CPU is running a 64-bit kernel because eBPF JIT is only included in kernels with CONFIG_64BIT=y due to Kconfig dependencies. Signed-off-by: Hassan Naveed <hnaveed@wavecomp.com> Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: kafai@fb.com Cc: songliubraving@fb.com Cc: yhs@fb.com Cc: netdev@vger.kernel.org Cc: bpf@vger.kernel.org Cc: linux-mips@vger.kernel.org Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: Alexei Starovoitov <ast@kernel.org> Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: open list:MIPS <linux-mips@linux-mips.org> Cc: open list <linux-kernel@vger.kernel.org>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions