aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorNathan Chancellor <nathan@kernel.org>2023-12-05 12:53:08 -0700
committerBorislav Petkov (AMD) <bp@alien8.de>2024-01-04 10:04:02 +0100
commitbcf7ef56daca2eacf836d22eee23c66f7cd96a65 (patch)
tree710f0812d152e17981e737d0054db6518e5bd98e /arch/x86/Kconfig
parentx86/Kconfig: Rework CONFIG_X86_PAE dependency (diff)
downloadwireguard-linux-bcf7ef56daca2eacf836d22eee23c66f7cd96a65.tar.xz
wireguard-linux-bcf7ef56daca2eacf836d22eee23c66f7cd96a65.zip
x86/tools: objdump_reformat.awk: Skip bad instructions from llvm-objdump
When running the instruction decoder selftest with LLVM=1 and CONFIG_PVH=y, there is a series of warnings: arch/x86/tools/insn_decoder_test: warning: Found an x86 instruction decoder bug, please report this. arch/x86/tools/insn_decoder_test: warning: ffffffff81000050 ea <unknown> arch/x86/tools/insn_decoder_test: warning: objdump says 1 bytes, but insn_get_length() says 7 arch/x86/tools/insn_decoder_test: warning: Decoded and checked 7214721 instructions with 1 failures GNU objdump outputs "(bad)" instead of "<unknown>", which is already handled in the bad_expr regex, so there is no warning. $ objdump -d arch/x86/platform/pvh/head.o | grep -E '50:\s+ea' 50: ea (bad) $ llvm-objdump -d arch/x86/platform/pvh/head.o | grep -E '50:\s+ea' 50: ea <unknown> Add "<unknown>" to the bad_expr regex to clear up the warning, allowing the instruction decoder selftest to fully pass with llvm-objdump. Signed-off-by: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20231205-objdump_reformat-awk-handle-llvm-objdump-bad_expr-v1-1-b4a74f39396f@kernel.org
Diffstat (limited to 'arch/x86/Kconfig')
0 files changed, 0 insertions, 0 deletions