Revision 12a78d43de767eaf8fb272facb7a7b6f2dc6a9df authored by Masami Hiramatsu on 24 November 2017, 04:56:30 UTC, committed by Ingo Molnar on 24 November 2017, 07:36:12 UTC
The kbuild test robot reported this build warning:

  Warning: arch/x86/tools/test_get_len found difference at <jump_table>:ffffffff8103dd2c

  Warning: ffffffff8103dd82: f6 09 d8 testb $0xd8,(%rcx)
  Warning: objdump says 3 bytes, but insn_get_length() says 2
  Warning: decoded and checked 1569014 instructions with 1 warnings

This sequence seems to be a new instruction not in the opcode map in the Intel SDM.

The instruction sequence is "F6 09 d8", means Group3(F6), MOD(00)REG(001)RM(001), and 0xd8.
Intel SDM vol2 A.4 Table A-6 said the table index in the group is "Encoding of Bits 5,4,3 of
the ModR/M Byte (bits 2,1,0 in parenthesis)"

In that table, opcodes listed by the index REG bits as:

  000         001       010 011  100        101        110         111
 TEST Ib/Iz,(undefined),NOT,NEG,MUL AL/rAX,IMUL AL/rAX,DIV AL/rAX,IDIV AL/rAX

So, it seems TEST Ib is assigned to 001.

Add the new pattern.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: <stable@vger.kernel.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent fd2fa6c
History
File Mode Size
netfilter
Kconfig -rw-r--r-- 25.5 KB
Makefile -rw-r--r-- 2.7 KB
af_inet.c -rw-r--r-- 48.0 KB
ah4.c -rw-r--r-- 13.6 KB
arp.c -rw-r--r-- 35.8 KB
cipso_ipv4.c -rw-r--r-- 61.2 KB
datagram.c -rw-r--r-- 3.2 KB
devinet.c -rw-r--r-- 61.9 KB
esp4.c -rw-r--r-- 23.6 KB
esp4_offload.c -rw-r--r-- 6.8 KB
fib_frontend.c -rw-r--r-- 31.8 KB
fib_lookup.h -rw-r--r-- 1.5 KB
fib_notifier.c -rw-r--r-- 1.6 KB
fib_rules.c -rw-r--r-- 9.1 KB
fib_semantics.c -rw-r--r-- 42.2 KB
fib_trie.c -rw-r--r-- 66.2 KB
fou.c -rw-r--r-- 23.4 KB
gre_demux.c -rw-r--r-- 4.3 KB
gre_offload.c -rw-r--r-- 7.0 KB
icmp.c -rw-r--r-- 29.7 KB
igmp.c -rw-r--r-- 72.4 KB
inet_connection_sock.c -rw-r--r-- 30.6 KB
inet_diag.c -rw-r--r-- 31.0 KB
inet_fragment.c -rw-r--r-- 10.3 KB
inet_hashtables.c -rw-r--r-- 18.2 KB
inet_timewait_sock.c -rw-r--r-- 8.9 KB
inetpeer.c -rw-r--r-- 8.2 KB
ip_forward.c -rw-r--r-- 3.9 KB
ip_fragment.c -rw-r--r-- 21.1 KB
ip_gre.c -rw-r--r-- 42.2 KB
ip_input.c -rw-r--r-- 14.7 KB
ip_options.c -rw-r--r-- 15.0 KB
ip_output.c -rw-r--r-- 38.7 KB
ip_sockglue.c -rw-r--r-- 36.7 KB
ip_tunnel.c -rw-r--r-- 28.5 KB
ip_tunnel_core.c -rw-r--r-- 12.0 KB
ip_vti.c -rw-r--r-- 15.2 KB
ipcomp.c -rw-r--r-- 4.6 KB
ipconfig.c -rw-r--r-- 39.5 KB
ipip.c -rw-r--r-- 18.8 KB
ipmr.c -rw-r--r-- 74.1 KB
netfilter.c -rw-r--r-- 5.3 KB
ping.c -rw-r--r-- 29.1 KB
proc.c -rw-r--r-- 20.4 KB
protocol.c -rw-r--r-- 2.3 KB
raw.c -rw-r--r-- 26.4 KB
raw_diag.c -rw-r--r-- 6.4 KB
route.c -rw-r--r-- 76.3 KB
syncookies.c -rw-r--r-- 11.7 KB
sysctl_net_ipv4.c -rw-r--r-- 29.2 KB
tcp.c -rw-r--r-- 91.1 KB
tcp_bbr.c -rw-r--r-- 33.7 KB
tcp_bic.c -rw-r--r-- 5.9 KB
tcp_cdg.c -rw-r--r-- 11.1 KB
tcp_cong.c -rw-r--r-- 11.6 KB
tcp_cubic.c -rw-r--r-- 14.5 KB
tcp_dctcp.c -rw-r--r-- 9.7 KB
tcp_diag.c -rw-r--r-- 4.6 KB
tcp_fastopen.c -rw-r--r-- 13.7 KB
tcp_highspeed.c -rw-r--r-- 4.9 KB
tcp_htcp.c -rw-r--r-- 7.4 KB
tcp_hybla.c -rw-r--r-- 4.9 KB
tcp_illinois.c -rw-r--r-- 8.3 KB
tcp_input.c -rw-r--r-- 182.3 KB
tcp_ipv4.c -rw-r--r-- 63.6 KB
tcp_lp.c -rw-r--r-- 8.8 KB
tcp_metrics.c -rw-r--r-- 26.9 KB
tcp_minisocks.c -rw-r--r-- 26.0 KB
tcp_nv.c -rw-r--r-- 14.5 KB
tcp_offload.c -rw-r--r-- 8.1 KB
tcp_output.c -rw-r--r-- 106.3 KB
tcp_probe.c -rw-r--r-- 7.4 KB
tcp_rate.c -rw-r--r-- 7.4 KB
tcp_recovery.c -rw-r--r-- 5.4 KB
tcp_scalable.c -rw-r--r-- 1.4 KB
tcp_timer.c -rw-r--r-- 20.2 KB
tcp_ulp.c -rw-r--r-- 2.8 KB
tcp_vegas.c -rw-r--r-- 9.6 KB
tcp_vegas.h -rw-r--r-- 940 bytes
tcp_veno.c -rw-r--r-- 5.7 KB
tcp_westwood.c -rw-r--r-- 8.2 KB
tcp_yeah.c -rw-r--r-- 6.9 KB
tunnel4.c -rw-r--r-- 5.4 KB
udp.c -rw-r--r-- 72.5 KB
udp_diag.c -rw-r--r-- 7.5 KB
udp_impl.h -rw-r--r-- 1.2 KB
udp_offload.c -rw-r--r-- 9.0 KB
udp_tunnel.c -rw-r--r-- 5.4 KB
udplite.c -rw-r--r-- 3.4 KB
xfrm4_input.c -rw-r--r-- 4.1 KB
xfrm4_mode_beet.c -rw-r--r-- 3.7 KB
xfrm4_mode_transport.c -rw-r--r-- 3.1 KB
xfrm4_mode_tunnel.c -rw-r--r-- 3.8 KB
xfrm4_output.c -rw-r--r-- 2.7 KB
xfrm4_policy.c -rw-r--r-- 8.5 KB
xfrm4_protocol.c -rw-r--r-- 6.6 KB
xfrm4_state.c -rw-r--r-- 2.4 KB
xfrm4_tunnel.c -rw-r--r-- 2.7 KB

back to top