x86emul: add memory operand low bits checks for ENQCMD{,S}
authorJan Beulich <jbeulich@suse.com>
Wed, 27 Jul 2022 07:21:59 +0000 (09:21 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 27 Jul 2022 07:21:59 +0000 (09:21 +0200)
commita5361f912c8a9e05bd371df57d6387fde03ab075
treee3d6cb08412ffe7208a08b2e7b16072020e31af2
parentd09c4272de5640c5a7ccb7a42fb643ad6fd1032e
x86emul: add memory operand low bits checks for ENQCMD{,S}

Already ISE rev 044 added text to this effect; rev 045 further dropped
leftover earlier text indicating the contrary:
- ENQCMD requires the low 32 bits of the memory operand to be clear,
- ENDCMDS requires bits 20...30 of the memory operand to be clear.

Fixes: d27385968741 ("x86emul: support ENQCMD insns")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
master commit: d620c66bdbe5510c3bae89be8cc7ca9a2a6cbaba
master date: 2022-07-20 15:46:48 +0200
xen/arch/x86/x86_emulate/x86_emulate.c