aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf_prog_linfo.c
diff options
context:
space:
mode:
authorJiong Wang <[email protected]>2018-12-03 22:27:54 +0000
committerAlexei Starovoitov <[email protected]>2018-12-07 21:29:48 +0000
commit17f6c83fb5ebf7db4fcc94a5be4c22d5a7bfe428 (patch)
treece1e3f37bb27154204a32eada3313a634b334775 /tools/lib/bpf/bpf_prog_linfo.c
parentMerge branch 'bpf_func_info-improvements' (diff)
downloadkernel-17f6c83fb5ebf7db4fcc94a5be4c22d5a7bfe428.tar.gz
kernel-17f6c83fb5ebf7db4fcc94a5be4c22d5a7bfe428.zip
mips: bpf: fix encoding bug for mm_srlv32_op
For micro-mips, srlv inside POOL32A encoding space should use 0x50 sub-opcode, NOT 0x90. Some early version ISA doc describes the encoding as 0x90 for both srlv and srav, this looks to me was a typo. I checked Binutils libopcode implementation which is using 0x50 for srlv and 0x90 for srav. v1->v2: - Keep mm_srlv32_op sorted by value. Fixes: f31318fdf324 ("MIPS: uasm: Add srlv uasm instruction") Cc: Markos Chandras <[email protected]> Cc: Paul Burton <[email protected]> Cc: [email protected] Acked-by: Jakub Kicinski <[email protected]> Acked-by: Song Liu <[email protected]> Signed-off-by: Jiong Wang <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/lib/bpf/bpf_prog_linfo.c')
0 files changed, 0 insertions, 0 deletions