x86emul: correct 32-bit address handling for AVX2 gathers
authorJan Beulich <jbeulich@suse.com>
Wed, 28 Nov 2018 14:50:26 +0000 (15:50 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 28 Nov 2018 14:50:26 +0000 (15:50 +0100)
commit298556c7b5f89243133378132a0c3024bdf6e563
tree3b6a410ddc7c914cefec03521816e2e7cfd354c6
parent60db1f581452ced4c7c147ca9f110d3c6bf4d048
x86emul: correct 32-bit address handling for AVX2 gathers

As done for other cases by commit 7869e2bafe ("x86emul/fuzz: add
rudimentary limit checking"), address calculations should also use
truncate_ea() for the AVX2 gather 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