summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/uapi
diff options
context:
space:
mode:
authorJiong Wang <jiong.wang@netronome.com>2018-12-05 19:52:30 +0100
committerAlexei Starovoitov <ast@kernel.org>2018-12-07 22:30:48 +0100
commitee94b90c8acaa593b627f5f3fe93e076e7779f5c (patch)
tree4448eaaafbb857abc286215b121f37ed7656aefb /arch/mips/include/uapi
parentmips: bpf: fix encoding bug for mm_srlv32_op (diff)
downloadlinux-ee94b90c8acaa593b627f5f3fe93e076e7779f5c.tar.xz
linux-ee94b90c8acaa593b627f5f3fe93e076e7779f5c.zip
mips: bpf: implement jitting of BPF_ALU | BPF_ARSH | BPF_X
Jitting of BPF_K is supported already, but not BPF_X. This patch complete the support for the latter on both MIPS and microMIPS. Cc: Paul Burton <paul.burton@mips.com> Cc: linux-mips@vger.kernel.org Acked-by: Paul Burton <paul.burton@mips.com> Signed-off-by: Jiong Wang <jiong.wang@netronome.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'arch/mips/include/uapi')
-rw-r--r--arch/mips/include/uapi/asm/inst.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/include/uapi/asm/inst.h b/arch/mips/include/uapi/asm/inst.h
index 273ef58f4d43..40fbb5dd66df 100644
--- a/arch/mips/include/uapi/asm/inst.h
+++ b/arch/mips/include/uapi/asm/inst.h
@@ -371,6 +371,7 @@ enum mm_32a_minor_op {
mm_srl32_op = 0x040,
mm_srlv32_op = 0x050,
mm_sra_op = 0x080,
+ mm_srav_op = 0x090,
mm_rotr_op = 0x0c0,
mm_lwxs_op = 0x118,
mm_addu32_op = 0x150,