diff options
author | Kirill A. Shutemov <kirill.shutemov@linux.intel.com> | 2025-04-23 09:58:15 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2025-04-24 20:19:17 +0200 |
commit | 85fd85bc025a525354acb2241beb3c5387c551ec (patch) | |
tree | 72944f1a2de517f5c8200e8ad00e94ab2ce3a86b /drivers/usb/typec/class.c | |
parent | 032ce1ea9442e140a80e41078b5431d4c0fa2893 (diff) | |
download | linux-85fd85bc025a525354acb2241beb3c5387c551ec.tar.gz linux-85fd85bc025a525354acb2241beb3c5387c551ec.tar.bz2 linux-85fd85bc025a525354acb2241beb3c5387c551ec.zip |
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: 690ca3a3067f ("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
Diffstat (limited to 'drivers/usb/typec/class.c')
0 files changed, 0 insertions, 0 deletions