]> xenbits.xensource.com Git - xen.git/commit
x86emul: adjust handling of AVX2 gathers
authorJan Beulich <jbeulich@suse.com>
Thu, 26 Apr 2018 16:02:37 +0000 (18:02 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 26 Apr 2018 16:02:37 +0000 (18:02 +0200)
commit35a61c05ea9dbc8edb95c2e110103110c230a5c1
tree15a918983197d487163fb64ae7b418ce61a4885c
parent0d16ece0c5adb960ee4e45f12183bcac8fe6d50a
x86emul: adjust handling of AVX2 gathers

HVM's MMIO cache only has a capacity of three entries. Once running out
of entries, hvmemul_linear_mmio_access() will return
X86EMUL_UNHANDLEABLE. Since gathers are an iterative process anyway,
simply commit the portion of work done in this and hypothetical similar
cases, exiting back to guest context for the insn to be retried.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/arch/x86/x86_emulate/x86_emulate.c