x86emul: add memory operand low bits checks for ENQCMD{,S}
authorJan Beulich <jbeulich@suse.com>
Wed, 20 Jul 2022 13:46:48 +0000 (15:46 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 20 Jul 2022 13:46:48 +0000 (15:46 +0200)
commitd620c66bdbe5510c3bae89be8cc7ca9a2a6cbaba
tree5f6b9752eda5da94105103b06c63e82cd6d667fc
parentc16a9eda77b2089206d5bc39ab6488c3793e11bf
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>
xen/arch/x86/x86_emulate/x86_emulate.c