lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 10 Nov 2011 19:50:45 +0900
From:	Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>
To:	Ingo Molnar <mingo@...e.hu>
Cc:	linux-kernel@...r.kernel.org, "H. Peter Anvin" <hpa@...or.com>,
	Thomas Gleixner <tglx@...utronix.de>
Subject: Re: instruction decoder warnings: Warning: objdump says 5 bytes,
 but insn_get_length() says 3

(2011/11/10 18:30), Ingo Molnar wrote:
> 
> FYI, latest -tip (x86, 64-bit, allyesconfig) produces these warnings:

Thanks for the report!
It seems that I need to update AVX support of instruction decoder.

> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108b709:	c5 f9 73 de 04       	vpsrldq 
> $0x4,%xmm6,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108b72b:	c5 b1 73 fd 0c       	vpslldq 
> $0xc,%xmm5,%xmm9
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108b730:	c5 f9 72 f5 01       	vpslld 
> $0x1,%xmm5,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108b752:	c5 d1 72 d5 1f       	vpsrld 
> $0x1f,%xmm5,%xmm5
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108b75b:	c4 c1 51 72 f1 02    	vpslld 
> $0x2,%xmm9,%xmm5
> Warning: objdump says 6 bytes, but insn_get_length() says 4
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108b761:	c4 c1 31 72 d1 1e    	vpsrld 
> $0x1e,%xmm9,%xmm9
> Warning: objdump says 6 bytes, but insn_get_length() says 4
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108b7ae:	c5 f9 73 dd 04       	vpsrldq 
> $0x4,%xmm5,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108b7d1:	c5 b1 73 fc 0c       	vpslldq 
> $0xc,%xmm4,%xmm9
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108b7d6:	c5 f9 72 f4 01       	vpslld 
> $0x1,%xmm4,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108b7f8:	c5 d9 72 d4 1f       	vpsrld 
> $0x1f,%xmm4,%xmm4
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108b801:	c4 c1 59 72 f1 02    	vpslld 
> $0x2,%xmm9,%xmm4
> Warning: objdump says 6 bytes, but insn_get_length() says 4
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108b807:	c4 c1 31 72 d1 1e    	vpsrld 
> $0x1e,%xmm9,%xmm9
> Warning: objdump says 6 bytes, but insn_get_length() says 4
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108b856:	c5 f9 73 dc 04       	vpsrldq 
> $0x4,%xmm4,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108b878:	c5 b1 73 fb 0c       	vpslldq 
> $0xc,%xmm3,%xmm9
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108b87d:	c5 f9 72 f3 01       	vpslld 
> $0x1,%xmm3,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108b89f:	c5 e1 72 d3 1f       	vpsrld 
> $0x1f,%xmm3,%xmm3
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108b8a8:	c4 c1 61 72 f1 02    	vpslld 
> $0x2,%xmm9,%xmm3
> Warning: objdump says 6 bytes, but insn_get_length() says 4
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108b8ae:	c4 c1 31 72 d1 1e    	vpsrld 
> $0x1e,%xmm9,%xmm9
> Warning: objdump says 6 bytes, but insn_get_length() says 4
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108b8fd:	c5 f9 73 db 04       	vpsrldq 
> $0x4,%xmm3,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108b91f:	c5 b1 73 fa 0c       	vpslldq 
> $0xc,%xmm2,%xmm9
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108b924:	c5 f9 72 f2 01       	vpslld 
> $0x1,%xmm2,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108b946:	c5 e9 72 d2 1f       	vpsrld 
> $0x1f,%xmm2,%xmm2
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108b94f:	c4 c1 69 72 f1 02    	vpslld 
> $0x2,%xmm9,%xmm2
> Warning: objdump says 6 bytes, but insn_get_length() says 4
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108b955:	c4 c1 31 72 d1 1e    	vpsrld 
> $0x1e,%xmm9,%xmm9
> Warning: objdump says 6 bytes, but insn_get_length() says 4
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108b9de:	c5 f9 72 f1 02       	vpslld 
> $0x2,%xmm1,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108b9e3:	c5 f1 72 d1 1e       	vpsrld 
> $0x1e,%xmm1,%xmm1
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108ba5f:	c4 c1 79 72 f0 02    	vpslld 
> $0x2,%xmm8,%xmm0
> Warning: objdump says 6 bytes, but insn_get_length() says 4
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108ba65:	c4 c1 39 72 d0 1e    	vpsrld 
> $0x1e,%xmm8,%xmm8
> Warning: objdump says 6 bytes, but insn_get_length() says 4
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108bae2:	c5 f9 72 f7 02       	vpslld 
> $0x2,%xmm7,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108bae7:	c5 c1 72 d7 1e       	vpsrld 
> $0x1e,%xmm7,%xmm7
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108bb62:	c5 f9 72 f6 02       	vpslld 
> $0x2,%xmm6,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108bb67:	c5 c9 72 d6 1e       	vpsrld 
> $0x1e,%xmm6,%xmm6
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108bbe1:	c5 f9 72 f5 02       	vpslld 
> $0x2,%xmm5,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108bbe6:	c5 d1 72 d5 1e       	vpsrld 
> $0x1e,%xmm5,%xmm5
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108bc61:	c5 f9 72 f4 02       	vpslld 
> $0x2,%xmm4,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108bc66:	c5 d9 72 d4 1e       	vpsrld 
> $0x1e,%xmm4,%xmm4
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108bcf3:	c5 f9 72 f3 02       	vpslld 
> $0x2,%xmm3,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108bcf8:	c5 e1 72 d3 1e       	vpsrld 
> $0x1e,%xmm3,%xmm3
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108bd8b:	c5 f9 72 f2 02       	vpslld 
> $0x2,%xmm2,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108bd90:	c5 e9 72 d2 1e       	vpsrld 
> $0x1e,%xmm2,%xmm2
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108be23:	c5 f9 72 f1 02       	vpslld 
> $0x2,%xmm1,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108be28:	c5 f1 72 d1 1e       	vpsrld 
> $0x1e,%xmm1,%xmm1
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108beba:	c4 c1 79 72 f0 02    	vpslld 
> $0x2,%xmm8,%xmm0
> Warning: objdump says 6 bytes, but insn_get_length() says 4
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108bec0:	c4 c1 39 72 d0 1e    	vpsrld 
> $0x1e,%xmm8,%xmm8
> Warning: objdump says 6 bytes, but insn_get_length() says 4
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108bf55:	c5 f9 72 f7 02       	vpslld 
> $0x2,%xmm7,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108bf5a:	c5 c1 72 d7 1e       	vpsrld 
> $0x1e,%xmm7,%xmm7
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108bfe6:	c5 f9 72 f6 02       	vpslld 
> $0x2,%xmm6,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at 
> <sha1_transform_avx>:ffffffff8108b660
> 
> Warning: ffffffff8108bfeb:	c5 c9 72 d6 1e       	vpsrld 
> $0x1e,%xmm6,%xmm6
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: decoded and checked 9508702 instructions with 48 warnings
> 
> Thanks,
> 
> 	Ingo


-- 
Masami HIRAMATSU
Software Platform Research Dept. Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: masami.hiramatsu.pt@...achi.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ