objtool: Resync x86 instruction decoder with the kernel's
authorJosh Poimboeuf <jpoimboe@redhat.com>
Fri, 29 Jul 2016 00:14:59 +0000 (19:14 -0500)
committerIngo Molnar <mingo@kernel.org>
Fri, 29 Jul 2016 14:57:16 +0000 (16:57 +0200)
commit8d94c2f9198301bd78feb1d9ad6c08a8ee7b5d1c
tree1b30d92d631bb98d881de97adba70f922c839659
parent6d01f28bc08814abc7b8f8973cc71195537f4c80
objtool: Resync x86 instruction decoder with the kernel's

This fixes the following warning:

  Warning: objtool: x86 instruction decoder differs from kernel

Unfortunately we have three identical copies of the x86 instruction
decoder in the kernel tree that have to be manually kept in sync.

It's on my TODO list to at least library-ize the ones in the tools
subdir so we'd only have two of them instead of three.  In the meantime,
here's another manual sync.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Fixes: c61f4d5ebaf0 ("perf tools: Add AVX-512 support to the instruction decoder used by Intel PT")
Link: http://lkml.kernel.org/r/d7f74b4d91fed25b0be33cd5c86f5131fa1a7529.1469751119.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/objtool/arch/x86/insn/gen-insn-attr-x86.awk
tools/objtool/arch/x86/insn/inat.h
tools/objtool/arch/x86/insn/insn.c
tools/objtool/arch/x86/insn/insn.h
tools/objtool/arch/x86/insn/x86-opcode-map.txt