aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/uapi/asm/inst.h
diff options
context:
space:
mode:
authorJiong Wang <jiong.wang@netronome.com>2018-12-05 13:52:30 -0500
committerAlexei Starovoitov <ast@kernel.org>2018-12-07 16:30:48 -0500
commitee94b90c8acaa593b627f5f3fe93e076e7779f5c (patch)
tree4448eaaafbb857abc286215b121f37ed7656aefb /arch/mips/include/uapi/asm/inst.h
parent17f6c83fb5ebf7db4fcc94a5be4c22d5a7bfe428 (diff)
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/asm/inst.h')
-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 {
371 mm_srl32_op = 0x040, 371 mm_srl32_op = 0x040,
372 mm_srlv32_op = 0x050, 372 mm_srlv32_op = 0x050,
373 mm_sra_op = 0x080, 373 mm_sra_op = 0x080,
374 mm_srav_op = 0x090,
374 mm_rotr_op = 0x0c0, 375 mm_rotr_op = 0x0c0,
375 mm_lwxs_op = 0x118, 376 mm_lwxs_op = 0x118,
376 mm_addu32_op = 0x150, 377 mm_addu32_op = 0x150,