linux/tools/arch/x86
Kirill A. Shutemov 85fd85bc02 x86/insn: Fix CTEST instruction decoding
insn_decoder_test found a problem with decoding APX CTEST instructions:

	Found an x86 instruction decoder bug, please report this.
	ffffffff810021df	62 54 94 05 85 ff    	ctestneq
	objdump says 6 bytes, but insn_get_length() says 5

It happens because x86-opcode-map.txt doesn't specify arguments for the
instruction and the decoder doesn't expect to see ModRM byte.

Fixes: 690ca3a306 ("x86/insn: Add support for APX EVEX instructions to the opcode map")
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: stable@vger.kernel.org # v6.10+
Link: https://lore.kernel.org/r/20250423065815.2003231-1-kirill.shutemov@linux.intel.com
2025-04-24 20:19:17 +02:00
..
dell-uart-backlight-emulator tools arch x86: Add dell-uart-backlight-emulator 2024-05-14 11:43:40 +02:00
include tools headers: Update the x86 headers with the kernel sources 2025-04-10 09:28:25 -07:00
intel_sdsi tools/arch/x86/intel_sdsi: Add current meter support 2024-04-29 10:52:02 +02:00
kcpuid tools/x86/kcpuid: Introduce a complete cpuid bitfields CSV file 2024-08-02 09:17:19 +02:00
lib x86/insn: Fix CTEST instruction decoding 2025-04-24 20:19:17 +02:00
tools x86/insn: Add support for APX EVEX to the instruction decoder logic 2024-05-02 13:13:45 +02:00